From ludovic.thebault at laposte.net Sun Apr 1 01:52:12 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 1 Apr 2012 07:52:12 +0200 Subject: field focused but why ? In-Reply-To: <056672C1-CFC0-4ED2-A307-0F917DF34A10@gmail.com> References: <7204ECB7-9DC3-46A5-9DCA-10E6C494790C@laposte.net> <194CEBA4-A442-4236-A89D-E697D1D29826@swcp.com> <9337D047-E187-40C3-A424-819A4C80E07F@economy-x-talk.com> <056672C1-CFC0-4ED2-A307-0F917DF34A10@gmail.com> Message-ID: Le 1 avr. 2012 ? 05:02, Peter M. Brigham, MD a ?crit : > If you put the field into a group and set the group's traversalon to false, it will prevent the field from getting the focus on opencard, at least in desktop stacks. Don't know if this works in iOS too. Simple and effective ! Works on iOS. Thanks From toolbook at kestner.de Sun Apr 1 05:38:19 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 1 Apr 2012 11:38:19 +0200 Subject: no association for launch document pdf Message-ID: <000001cd0feb$2d67f010$8837d030$@de> Hello, are there any known issues with "launch document" on windows? I have a simple: launch document (tPath & slash & "myPDF.pdf") which runs fine on most computers but fails on some computers, also on my main dev.machine with the result "no association" where it has run fine before. I can launch PDFs just by double clicking in the explorer, so the basic registry entries from Adobe and the PDF-ending must be associated correctly. Probably LiveCode is looking for another registry entry, which is missing or corrupted, perhaps by any adobe update. But to get sure, that I can't do anything from my programming, beside of reinstalling adobe reader, I wanted to ask, if perhaps anything has changed with launch document? Thanks Tiemo From richmondmathewson at gmail.com Sun Apr 1 06:54:20 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 13:54:20 +0300 Subject: [OT] inter-Face Message-ID: <4F7833DC.5070108@gmail.com> Kevin and Co. better give up any ideas of sorting out all those bugs that have been festering for years and get weaving before they are overtaken by this: http://www.ubuntu.com/devices/eyewear From richmondmathewson at gmail.com Sun Apr 1 07:24:11 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 14:24:11 +0300 Subject: near feature parity Message-ID: <4F783ADB.40806@gmail.com> That would be super for us Linux users. From barrysum at bigpond.net.au Sun Apr 1 07:27:21 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Sun, 1 Apr 2012 21:27:21 +1000 Subject: field focused but why ? Message-ID: <001701cd0ffa$677f5090$367df1b0$@bigpond.net.au> Thanks heaps Peter. This works for Android as well If you put the field into a group and set the group's traversalon to false, it will prevent the field from getting the focus on opencard, at least in desktop stacks. Don't know if this works in iOS too. -- Peter Peter M. Brigham From barrysum at bigpond.net.au Sun Apr 1 07:34:39 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Sun, 1 Apr 2012 21:34:39 +1000 Subject: LC error - no association for launch document pdf with launch document Message-ID: <001801cd0ffb$6ceb4ba0$46c1e2e0$@bigpond.net.au> I use this format: launch url "file:/Users/ben/Desktop/test.pdf" ------------------------------ Message: 24 Date: Sun, 1 Apr 2012 11:38:19 +0200 From: "Tiemo Hollmann TB" To: "'How to use LiveCode'" Subject: no association for launch document pdf Message-ID: <000001cd0feb$2d67f010$8837d030$@de> Content-Type: text/plain; charset="us-ascii" Hello, are there any known issues with "launch document" on windows? I have a simple: launch document (tPath & slash & "myPDF.pdf") which runs fine on most computers but fails on some computers, also on my main dev.machine with the result "no association" where it has run fine before. I can launch PDFs just by double clicking in the explorer, so the basic registry entries from Adobe and the PDF-ending must be associated correctly. Probably LiveCode is looking for another registry entry, which is missing or corrupted, perhaps by any adobe update. But to get sure, that I can't do anything from my programming, beside of reinstalling adobe reader, I wanted to ask, if perhaps anything has changed with launch document? Thanks Tiemo ------------------------------ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-livecode End of use-livecode Digest, Vol 103, Issue 1 ******************************************** From stgoldberg at aol.com Sun Apr 1 07:35:58 2012 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Sun, 1 Apr 2012 07:35:58 -0400 (EDT) Subject: Will Livecode 5.5 run 3.5 stacks? Message-ID: <8CEDE12BDFD8CA5-1F40-B9D6@web-mmc-m10.sysops.aol.com> I'm considering upgrading to the latest version of Livecode. I'm still using LIvecode (Revolution) 3.5.0 to run a stack that I use as an invoice program from year to year and would like to continue using that stack. Are there any problems with Livecode 5.5 opening and running the Revolution 3.5? Thanks. Stephen Goldberg stgoldberg at aol.com www.medmaster.net From m.schonewille at economy-x-talk.com Sun Apr 1 08:03:23 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Apr 2012 14:03:23 +0200 Subject: Will Livecode 5.5 run 3.5 stacks? In-Reply-To: <8CEDE12BDFD8CA5-1F40-B9D6@web-mmc-m10.sysops.aol.com> References: <8CEDE12BDFD8CA5-1F40-B9D6@web-mmc-m10.sysops.aol.com> Message-ID: <4202FA44-00F2-4082-9E00-46C576A73DC2@economy-x-talk.com> Hi Stephen, The best way to find out is to request a trial copy from RunRev and test your 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 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 1 apr 2012, at 13:35, stgoldberg at aol.com wrote: > I'm considering upgrading to the latest version of Livecode. I'm still using LIvecode (Revolution) 3.5.0 to run a stack that I use as an invoice program from year to year and would like to continue using that stack. Are there any problems with Livecode 5.5 opening and running the Revolution 3.5? Thanks. > Stephen Goldberg > stgoldberg at aol.com > www.medmaster.net From glambert at paradigmedia.com Sun Apr 1 08:31:51 2012 From: glambert at paradigmedia.com (Gene Lambert) Date: Sun, 1 Apr 2012 05:31:51 -0700 Subject: [OT] inter-Face In-Reply-To: <4F7833DC.5070108@gmail.com> References: <4F7833DC.5070108@gmail.com> Message-ID: <000c01cd1003$6a015170$3e03f450$@com> Wow! I want one, or two. The lawyers are going to love this. If talking on a cell phone while driving was an intense national issue, just wait until they get wind of people wanting to drive around with a computer heads up display in their field of vision! Or, how about when your wife figures out you're web surfing while she's rattling on about next Sunday's chores list. Whoo-hoo, this product is going to remodel society as we know it! Glene -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Sunday, April 01, 2012 3:54 AM To: How to use LiveCode Subject: [OT] inter-Face Kevin and Co. better give up any ideas of sorting out all those bugs that have been festering for years and get weaving before they are overtaken by this: http://www.ubuntu.com/devices/eyewear _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Apr 1 08:36:38 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 1 Apr 2012 14:36:38 +0200 Subject: [OT] inter-Face In-Reply-To: <000c01cd1003$6a015170$3e03f450$@com> References: <4F7833DC.5070108@gmail.com> <000c01cd1003$6a015170$3e03f450$@com> Message-ID: <7B2911ED-DDD3-4F19-A42B-1AD86E85D07B@major.on-rev.com> Hi all, Am 01.04.2012 um 14:31 schrieb Gene Lambert: > Wow! I want one, or two. The lawyers are going to love this. If talking on > a cell phone while driving was an intense national issue, just wait until > they get wind of people wanting to drive around with a computer heads up > display in their field of vision! Or, how about when your wife figures out > you're web surfing while she's rattling on about next Sunday's chores list. > Whoo-hoo, this product is going to remodel society as we know it! > > Glene > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Sunday, April 01, 2012 3:54 AM > To: How to use LiveCode > Subject: [OT] inter-Face > > Kevin and Co. better give up any ideas of sorting out all those bugs that > have been festering for years and get weaving before they are overtaken by > this: > > http://www.ubuntu.com/devices/eyewear I might consider getting one, but only after they managed to shrink the battery a bit! Seems a bit "chunky" right now :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mark.rauterkus at gmail.com Sun Apr 1 09:20:51 2012 From: mark.rauterkus at gmail.com (mark.rauterkus at gmail.com) Date: Sun, 1 Apr 2012 13:20:51 +0000 Subject: P Message-ID: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> Sent from my BlackBerry? From bonnmike at gmail.com Sun Apr 1 09:29:05 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 1 Apr 2012 07:29:05 -0600 Subject: New google feature for business Message-ID: Google has a new feature.. Google teleport! http://www.google.com/adwords/extensions/teleport.html Also google maps for NES. It is in closed beta for now but to try it in a simulator go to maps.google.com and click the "quest" button in the upper right. Google has also developed an autonomous racecar for use in nascar races. More info can be found http://www.google.com/racing/ From richmondmathewson at gmail.com Sun Apr 1 09:41:47 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 16:41:47 +0300 Subject: [OT] GNOME 4 Message-ID: <4F785B1B.5080905@gmail.com> This should solve all Linux users' problems: http://distrowatch.com/weekly.php?issue=20120402 From richmondmathewson at gmail.com Sun Apr 1 09:42:49 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 16:42:49 +0300 Subject: New google feature for business In-Reply-To: References: Message-ID: <4F785B59.2010200@gmail.com> On 04/01/2012 04:29 PM, Mike Bonner wrote: > Google has a new feature.. Google teleport! > http://www.google.com/adwords/extensions/teleport.html > > Also google maps for NES. It is in closed beta for now but to try it in a > simulator go to maps.google.com and click the "quest" button in the upper > right. > > Google has also developed an autonomous racecar for use in nascar races. > More info can be found http://www.google.com/racing/ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Wow! It's the 32 of March! From richmondmathewson at gmail.com Sun Apr 1 09:50:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 16:50:16 +0300 Subject: Rumours about Livecode 6.0 Message-ID: <4F785D18.2050402@gmail.com> Is it true that the Runtime Revolution people are completely redesigning the Livecode interface? I certainly began to wonder when a source "close to the throne" leaked this: http://lowendmac.com/ppclinux/02/art/mac1.gif notice "dv" in the top, right-hand corner. particularly glad to see that they are proposing to release a new PPC engine for Mac Classic! Personally I think it is great leap forward (almost as great a leap as Chairman Mao's). From wow at together.net Sun Apr 1 09:51:17 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 09:51:17 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: References: Message-ID: <4F785D55.2040308@together.net> Not even sure this is possible. I want to create a simple app that can be controlled by an external bluetooth keyboard. I realize there are no functions to support any mouse/cursor-related operations, so this would need to be done differently. The only idea I have is to use keyboard input. For example... Let's say the app has a video player in it. I want the keyboard to control start, pause and stop. I assume that, if a field was open for input, the user could press a key on the bluetooth keyboard... say "S"... after which the LC code would close the onscreen keyboard and start playing the video. Is there some way, then, for a press of a key on the bluetooth keyboard to be recognized by the app, without requiring the user to touch the screen and open a field? Thanks. Richard Miller From richmondmathewson at gmail.com Sun Apr 1 10:05:49 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 17:05:49 +0300 Subject: ios app... any ideas how to do this? In-Reply-To: <4F785D55.2040308@together.net> References: <4F785D55.2040308@together.net> Message-ID: <4F7860BD.10305@gmail.com> On 04/01/2012 04:51 PM, Richard Miller wrote: > Not even sure this is possible. > > I want to create a simple app that can be controlled by an external > bluetooth keyboard. I realize there are no functions to support any > mouse/cursor-related operations, so this would need to be done > differently. > > The only idea I have is to use keyboard input. For example... > > Let's say the app has a video player in it. I want the keyboard to > control start, pause and stop. > > I assume that, if a field was open for input, the user could press a > key on the bluetooth keyboard... say "S"... after which the LC code > would close the onscreen keyboard and start playing the video. > > Is there some way, then, for a press of a key on the bluetooth > keyboard to be recognized by the app, without requiring the user to > touch the screen and open a field? > > Thanks. > Richard Miller > I'm probably being dead naive here, but, surely, if an OS recognises a keyboard as a keyboard Livecode should respond to keyDowns and keyUps from that keyboard . . . just for example; I use Nostromo Gamepads (not as gamepads) for repetitive tasks (i.e. transfers things such as Copy, Paste and so on over to my non-mouse hand); and both Livecode and Livecode standalones have no problem recognising the Nostromos as input devices capable of sending keyDown signals. The only problem I can foresee is how you are going to get a keyDown/Up on your Bluetooth keyboard to close the onscreen keyboard (on some sort of Pad presumably - you didn't make that clear). From jim at d-film.com Sun Apr 1 10:37:53 2012 From: jim at d-film.com (Jim Kanter) Date: Sun, 1 Apr 2012 10:37:53 -0400 Subject: Rumours about Livecode 6.0 In-Reply-To: <4F785D18.2050402@gmail.com> References: <4F785D18.2050402@gmail.com> Message-ID: Love the retro look! Seems so familiar somehow. From kray at sonsothunder.com Sun Apr 1 11:04:40 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 1 Apr 2012 10:04:40 -0500 Subject: ios app... any ideas how to do this? In-Reply-To: <4F785D55.2040308@together.net> References: <4F785D55.2040308@together.net> Message-ID: <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> On Apr 1, 2012, at 8:51 AM, Richard Miller wrote: > Not even sure this is possible. > > I want to create a simple app that can be controlled by an external bluetooth keyboard. I realize there are no functions to support any mouse/cursor-related operations, so this would need to be done differently. > > The only idea I have is to use keyboard input. For example... > > Let's say the app has a video player in it. I want the keyboard to control start, pause and stop. > > I assume that, if a field was open for input, the user could press a key on the bluetooth keyboard... say "S"... after which the LC code would close the onscreen keyboard and start playing the video. > > Is there some way, then, for a press of a key on the bluetooth keyboard to be recognized by the app, without requiring the user to touch the screen and open a field? Richard, I'm sure that a bluetooth keyboard would act the same as the onscreen keyboard would; that is, it *should* send the keyDown, keyUp, rawKeyDown, and rawKeyUp messages to the current card; you can then trap for this in the card script (or stack script, etc.) and go from there. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wow at together.net Sun Apr 1 11:19:19 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 11:19:19 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> Message-ID: <4F7871F7.3060505@together.net> Hi Ken, I tried this with a very simple app... only a keydown card script. The script puts the pressed key into a locked field on the card. Works as expected in LC. Tried it in the iphone simulator, with a regular USB keyboard connected to my Mac. No response to a key press. Even selected the "simulate hardware keyboard" option under the Hardware menu. No effect. Would this result possibly be different with a bluetooth keyboard? Richard > Richard, I'm sure that a bluetooth keyboard would act the same as the onscreen keyboard would; that is, it *should* send the keyDown, keyUp, rawKeyDown, and rawKeyUp messages to the current card; you can then trap for this in the card script (or stack script, etc.) and go from there. > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sun Apr 1 11:58:13 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sun, 1 Apr 2012 11:58:13 -0400 Subject: [OT] inter-Face In-Reply-To: <7B2911ED-DDD3-4F19-A42B-1AD86E85D07B@major.on-rev.com> References: <4F7833DC.5070108@gmail.com> <000c01cd1003$6a015170$3e03f450$@com> <7B2911ED-DDD3-4F19-A42B-1AD86E85D07B@major.on-rev.com> Message-ID: <766DF247-C029-40C4-A1B9-68ECE6D30BCC@gmail.com> On Apr 1, 2012, at 8:36 AM, Klaus on-rev wrote: > Hi all, > > Am 01.04.2012 um 14:31 schrieb Gene Lambert: > >> Wow! I want one, or two. The lawyers are going to love this. If talking on >> a cell phone while driving was an intense national issue, just wait until >> they get wind of people wanting to drive around with a computer heads up >> display in their field of vision! Or, how about when your wife figures out >> you're web surfing while she's rattling on about next Sunday's chores list. >> Whoo-hoo, this product is going to remodel society as we know it! >> >> Glene >> >> Richmond wrote: >> >>> Kevin and Co. better give up any ideas of sorting out all those bugs that >>> have been festering for years and get weaving before they are overtaken by >>> this: >>> >>> http://www.ubuntu.com/devices/eyewear > > I might consider getting one, but only after they managed to shrink the battery a bit! > Seems a bit "chunky" right now :-D Yeah, that long cord to a car battery is a clue, I think. It's April Fools Day. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Apr 1 11:59:17 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sun, 1 Apr 2012 11:59:17 -0400 Subject: P In-Reply-To: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> Message-ID: On Apr 1, 2012, at 9:20 AM, mark.rauterkus at gmail.com wrote: > > Sent from my BlackBerry? Q? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From klaus at major.on-rev.com Sun Apr 1 12:03:12 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 1 Apr 2012 18:03:12 +0200 Subject: [OT] inter-Face In-Reply-To: <766DF247-C029-40C4-A1B9-68ECE6D30BCC@gmail.com> References: <4F7833DC.5070108@gmail.com> <000c01cd1003$6a015170$3e03f450$@com> <7B2911ED-DDD3-4F19-A42B-1AD86E85D07B@major.on-rev.com> <766DF247-C029-40C4-A1B9-68ECE6D30BCC@gmail.com> Message-ID: <16B138BE-9392-4973-9EE5-F15ADE28A293@major.on-rev.com> Hi Peter, Am 01.04.2012 um 17:58 schrieb Peter M. Brigham, MD: > On Apr 1, 2012, at 8:36 AM, Klaus on-rev wrote: >> Hi all, >> >> Am 01.04.2012 um 14:31 schrieb Gene Lambert: >> >>> Wow! I want one, or two. The lawyers are going to love this. If talking on >>> a cell phone while driving was an intense national issue, just wait until >>> they get wind of people wanting to drive around with a computer heads up >>> display in their field of vision! Or, how about when your wife figures out >>> you're web surfing while she's rattling on about next Sunday's chores list. >>> Whoo-hoo, this product is going to remodel society as we know it! >>> >>> Glene >>> >>> Richmond wrote: >>> >>>> Kevin and Co. better give up any ideas of sorting out all those bugs that >>>> have been festering for years and get weaving before they are overtaken by >>>> this: >>>> >>>> http://www.ubuntu.com/devices/eyewear >> >> I might consider getting one, but only after they managed to shrink the battery a bit! >> Seems a bit "chunky" right now :-D > > Yeah, that long cord to a car battery is a clue, I think. It's April Fools Day. Go figure! :-D > -- Peter Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kray at sonsothunder.com Sun Apr 1 12:14:48 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 1 Apr 2012 11:14:48 -0500 Subject: ios app... any ideas how to do this? In-Reply-To: <4F7871F7.3060505@together.net> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> Message-ID: <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> On Apr 1, 2012, at 10:19 AM, Richard Miller wrote: > Hi Ken, > > I tried this with a very simple app... only a keydown card script. The script puts the pressed key into a locked field on the card. Works as expected in LC. Tried it in the iphone simulator, with a regular USB keyboard connected to my Mac. No response to a key press. Even selected the "simulate hardware keyboard" option under the Hardware menu. No effect. Would this result possibly be different with a bluetooth keyboard? Possibly. Are you able to test on an actual iOS device? I'm just wondering if it's something to do with the simulator itself... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wow at together.net Sun Apr 1 12:25:04 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 12:25:04 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> Message-ID: <4F788160.9080305@together.net> I don't have a bluetooth keyboard. If anyone here does and can test this, that would be great. On 4/1/2012 12:14 PM, Ken Ray wrote: > On Apr 1, 2012, at 10:19 AM, Richard Miller wrote: > >> Hi Ken, >> >> I tried this with a very simple app... only a keydown card script. The script puts the pressed key into a locked field on the card. Works as expected in LC. Tried it in the iphone simulator, with a regular USB keyboard connected to my Mac. No response to a key press. Even selected the "simulate hardware keyboard" option under the Hardware menu. No effect. Would this result possibly be different with a bluetooth keyboard? > Possibly. Are you able to test on an actual iOS device? I'm just wondering if it's something to do with the simulator itself... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Apr 1 13:04:07 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Apr 2012 13:04:07 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F788160.9080305@together.net> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> Message-ID: I just did a test. A keydown handler that puts the pressed key after a lock field does not work on my iPad, but, if the field is unlocked and I touch into it, I can then type away ok. However, if I have the keydown handler put the character after a second field, and also do a pass keydown, I can type in the first field and the letters appear at the end of both fields. If I type in the second field, I get the expected two copies of the letter. On Apr 1, 2012, at 12:25 PM, Richard Miller wrote: > >I don't have a bluetooth keyboard. If anyone here does and can test this, that would be great. From richmondmathewson at gmail.com Sun Apr 1 13:11:05 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 20:11:05 +0300 Subject: ios app... any ideas how to do this? In-Reply-To: <4F788160.9080305@together.net> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> Message-ID: <4F788C29.3060609@gmail.com> On 04/01/2012 07:25 PM, Richard Miller wrote: > I don't have a bluetooth keyboard. If anyone here does and can test > this, that would be great. Why does it have to be a bluetooth keyboard? Doesn't your target device allow physical connexion of USB peripherals? This might be worth a glisk: http://www.iomnio.com/product_wowkeys.html > > > On 4/1/2012 12:14 PM, Ken Ray wrote: >> On Apr 1, 2012, at 10:19 AM, Richard Miller wrote: >> >>> Hi Ken, >>> >>> I tried this with a very simple app... only a keydown card script. >>> The script puts the pressed key into a locked field on the card. >>> Works as expected in LC. Tried it in the iphone simulator, with a >>> regular USB keyboard connected to my Mac. No response to a key >>> press. Even selected the "simulate hardware keyboard" option under >>> the Hardware menu. No effect. Would this result possibly be >>> different with a bluetooth keyboard? >> Possibly. Are you able to test on an actual iOS device? I'm just >> wondering if it's something to do with the simulator itself... >> >> 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 >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 1 13:13:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 20:13:58 +0300 Subject: ios app... any ideas how to do this? In-Reply-To: <4F788C29.3060609@gmail.com> References: <4F788C29.3060609@gmail.com> Message-ID: <4F788CD6.8030703@gmail.com> http://www.iomnio.com/product_wowkeys.html available on Amazon for $50: http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=wowkeys From wow at together.net Sun Apr 1 13:36:41 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 13:36:41 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F788C29.3060609@gmail.com> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> <4F788C29.3060609@gmail.com> Message-ID: <4F789229.6040906@together.net> Thanks, but I'm not sure this keyboard sends any data to the iphone which LC can intercept. And, for my app, the keyboard needs to be physically separated in distance from the iphone by at least 5 feet. On 4/1/2012 1:11 PM, Richmond wrote: > On 04/01/2012 07:25 PM, Richard Miller wrote: >> I don't have a bluetooth keyboard. If anyone here does and can test >> this, that would be great. > > Why does it have to be a bluetooth keyboard? Doesn't your target > device allow physical connexion of USB peripherals? > > This might be worth a glisk: > > http://www.iomnio.com/product_wowkeys.html > >> >> >> On 4/1/2012 12:14 PM, Ken Ray wrote: >>> On Apr 1, 2012, at 10:19 AM, Richard Miller wrote: >>> >>>> Hi Ken, >>>> >>>> I tried this with a very simple app... only a keydown card script. >>>> The script puts the pressed key into a locked field on the card. >>>> Works as expected in LC. Tried it in the iphone simulator, with a >>>> regular USB keyboard connected to my Mac. No response to a key >>>> press. Even selected the "simulate hardware keyboard" option under >>>> the Hardware menu. No effect. Would this result possibly be >>>> different with a bluetooth keyboard? >>> Possibly. Are you able to test on an actual iOS device? I'm just >>> wondering if it's something to do with the simulator itself... >>> >>> 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 >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Apr 1 14:06:27 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 21:06:27 +0300 Subject: ios app... any ideas how to do this? In-Reply-To: <4F789229.6040906@together.net> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> <4F788C29.3060609@gmail.com> <4F789229.6040906@together.net> Message-ID: <4F789923.9030301@gmail.com> On 04/01/2012 08:36 PM, Richard Miller wrote: > Thanks, but I'm not sure this keyboard sends any data to the iphone > which LC can intercept. And, for my app, the keyboard needs to be > physically separated in distance from the iphone by at least 5 feet. > > > Have you tried LIvecode on a PC with a bluetooth keyboard? From pete at mollysrevenge.com Sun Apr 1 14:07:16 2012 From: pete at mollysrevenge.com (Pete) Date: Sun, 1 Apr 2012 11:07:16 -0700 Subject: Disabling a tab Message-ID: I have a tab control and I'm using the method of revealing data on each tab by having groups with the same name as each tab which are hidden/shown when a tab is clicked. Depending on data conditions, I need to disable one of the tabs, meaning that clicking ion it has no effect. Right now, I'm doing this in a selectionChanged handler that checks the data condition, beeps if the use clicks on a disallowed tab, and leaves the original tab/group displayed. That works OK but there is no visual indication that the tab is not available. Ideally, I'd like the text in the tab heading to be greyed out, kinda like a disabled menu item. Any ideas how to do that? -- Pete Molly's Revenge From lfredricks at proactive-intl.com Sun Apr 1 14:08:17 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun, 1 Apr 2012 11:08:17 -0700 Subject: P In-Reply-To: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> Message-ID: > mark.rauterkus at gmail.com > Sent: Sunday, April 01, 2012 6:21 AM > To: use-livecode at lists.runrev.com > Subject: P You don't need to ask permission Mark, please just go :-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Sun Apr 1 14:08:46 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Apr 2012 11:08:46 -0700 Subject: near feature parity In-Reply-To: <4F783ADB.40806@gmail.com> References: <4F783ADB.40806@gmail.com> Message-ID: <4F7899AE.80806@fourthworld.com> Richmond wrote: > That would be super for us Linux users. Or at least offer price parity. Right now RunRev sells the Mac version bundled with the Windows version for the same price as the Linux version by itself. This disparity is compounded by those versions having many more features than the Linux version. So the Linux version costs twice as much for half the features, making it roughly four times more expensive. Not an easy sales proposition for even my closest Linux-loving friends. -- 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 wow at together.net Sun Apr 1 14:15:59 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 14:15:59 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F789923.9030301@gmail.com> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> <4F788C29.3060609@gmail.com> <4F789229.6040906@together.net> <4F789923.9030301@gmail.com> Message-ID: <4F789B5F.3080309@together.net> Well, I know that works fine, but I need to make it work with an iphone. On 4/1/2012 2:06 PM, Richmond wrote: > On 04/01/2012 08:36 PM, Richard Miller wrote: >> Thanks, but I'm not sure this keyboard sends any data to the iphone >> which LC can intercept. And, for my app, the keyboard needs to be >> physically separated in distance from the iphone by at least 5 feet. >> >> >> > > Have you tried LIvecode on a PC with a bluetooth keyboard? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Apr 1 14:31:41 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Apr 2012 14:31:41 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F785D55.2040308@together.net> References: <4F785D55.2040308@together.net> Message-ID: <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> I went back to see what your original need was, and with my tests I was able to do this. I could open the app and immediately be typing keys, that a keydown handler could intercept. It worked because LiveCode automatically selects the first field for input. On Apr 1, 2012, at 9:51 AM, Richard Miller wrote: > >Is there some way, then, for a press of a key on the bluetooth keyboard to be recognized by the app, without requiring the user to touch the screen and open a field? From wow at together.net Sun Apr 1 14:50:13 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 14:50:13 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> References: <4F785D55.2040308@together.net> <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> Message-ID: <4F78A365.6070604@together.net> Was this on an iphone or the simulator? On 4/1/2012 2:31 PM, Colin Holgate wrote: > I went back to see what your original need was, and with my tests I was able to do this. I could open the app and immediately be typing keys, that a keydown handler could intercept. It worked because LiveCode automatically selects the first field for input. > > > On Apr 1, 2012, at 9:51 AM, Richard Miller wrote: > >>> Is there some way, then, for a press of a key on the bluetooth keyboard to be recognized by the app, without requiring the user to touch the screen and open a field? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Mark_Smith at cpe.umanitoba.ca Sun Apr 1 14:50:26 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 1 Apr 2012 11:50:26 -0700 (PDT) Subject: Adding row of numeric keys above default iOS keyboard Message-ID: <1333306226379-4524105.post@n4.nabble.com> Hi, any suggestions for how to add a row of numeric keys above the default keyboard in iOS? Ideally it would be nice to get a screen shot of the top row of the numeric keyboard and display that that with some hidden buttons for each of the numeric keys, but I am not sure how to go about getting a screen shot of the iPad screen. The application is locked in portrait mode so that should help simplify things. Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Adding-row-of-numeric-keys-above-default-iOS-keyboard-tp4524105p4524105.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Apr 1 14:50:54 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 21:50:54 +0300 Subject: Peripheral support Message-ID: <4F78A38E.7080307@gmail.com> In the light of the chap having a problem with a Bluetooth keyboard and an iPhone there is a need for Runtime Revolution to state what peripherals are supported by Livecode on which devices and with which operating systems. What is unclear (to me at least) is: whether peripherals that are recognised by operating systems are always recognised by Livecode. What I have just been doing, by way of entertainment, is seeing what sort of keyDowns I get from a Nostromo Speedpad 52n and a Nostromo Speed 50n padconnected to my Linux box. I have a stack containing 2 fields "fROAR" and "fCOOKED" respectively, and the cardScript looks like this: on rawKeyDown RAWK put RAWK into fld "fROAR" end rawKeyDown on keyUp QUAY put QUAY into fld "fCOOKED" end keyUp [ you can download it here: http://andregarzia.on-rev.com/richmond/BOX/KEYER.zip ] and found that while the 52n sends keyDowns (with no preinstalled software), the 50n doesn't and is useless. However, as I don't own many up-to-date computers, handhelds, pads, and all sorts of other peripherals, I am not likely to sit down and mess around with every imaginable combination of these things. From jacque at hyperactivesw.com Sun Apr 1 14:59:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Apr 2012 13:59:59 -0500 Subject: New google feature for business In-Reply-To: References: Message-ID: <4F78A5AF.8080604@hyperactivesw.com> On 4/1/12 8:29 AM, Mike Bonner wrote: > Google has a new feature.. Google teleport! > http://www.google.com/adwords/extensions/teleport.html There is no way I will participate in this invasion of privacy. Can you imagine your customers teleporting into your home office and finding you with your hair awry and in your bunny slippers? I'll be surprised if the FCC doesn't get involved. This is an outrage. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 1 15:03:47 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Apr 2012 14:03:47 -0500 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> References: <4F778BAF.6090105@hyperactivesw.com> <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> Message-ID: <4F78A693.3060609@hyperactivesw.com> On 3/31/12 9:21 PM, Timothy Miller wrote: > What do I do with the little images I imported? Set the visible to > false, hide them under a field, or can I delete them now, because > they are used in a button? You can't delete them; they are the source of your icons. Just set them to be invisible. > > Should this be standard procedure? I never thought about importing > images for icons. Normally, when I make a new button and want an > icon, I just use the icons& borders popup. In general if the stack is only for your own use, you don't need to import. But in this case the icon IDs apparently changed so it's safer to import. Once imported, the IDs won't change (unless you do it specifically on purpose.) > Maybe I should read the "what's new" document. I don't recall seeing > one, but I didn't look for it very hard. All the release notes are under the Help menu. They are the first thing I read. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Sun Apr 1 15:10:38 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 1 Apr 2012 13:10:38 -0600 Subject: New google feature for business In-Reply-To: <4F78A5AF.8080604@hyperactivesw.com> References: <4F78A5AF.8080604@hyperactivesw.com> Message-ID: Not to mention its in beta. While google betas are usually pretty good, even a small margin of error would be a really bad thing. I'd hate for half a customer to show up on my doorstep. You can be sure it would be bad for business! On Sun, Apr 1, 2012 at 12:59 PM, J. Landman Gay wrote: > On 4/1/12 8:29 AM, Mike Bonner wrote: > >> Google has a new feature.. Google teleport! >> http://www.google.com/adwords/**extensions/teleport.html >> > > There is no way I will participate in this invasion of privacy. Can you > imagine your customers teleporting into your home office and finding you > with your hair awry and in your bunny slippers? I'll be surprised if the > FCC doesn't get involved. This is an outrage. > > -- > 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 dixonja at hotmail.co.uk Sun Apr 1 15:15:50 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 1 Apr 2012 20:15:50 +0100 Subject: New google feature for business In-Reply-To: References: , <4F78A5AF.8080604@hyperactivesw.com>, Message-ID: Nice one...:-) > Date: Sun, 1 Apr 2012 13:10:38 -0600 > Subject: Re: New google feature for business > From: bonnmike at gmail.com > To: use-livecode at lists.runrev.com > > Not to mention its in beta. While google betas are usually pretty good, > even a small margin of error would be a really bad thing. I'd hate for > half a customer to show up on my doorstep. You can be sure it would be bad > for business! > > There is no way I will participate in this invasion of privacy. Can you > > imagine your customers teleporting into your home office and finding you > > with your hair awry and in your bunny slippers? I'll be surprised if the > > FCC doesn't get involved. This is an outrage. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Sun Apr 1 15:26:51 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Apr 2012 15:26:51 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F78A365.6070604@together.net> References: <4F785D55.2040308@together.net> <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> <4F78A365.6070604@together.net> Message-ID: <5BFB8BE0-E0C3-4B23-8438-D26E9AAD4726@verizon.net> New iPad, with my bluetooth keyboard paired to it. On Apr 1, 2012, at 2:50 PM, Richard Miller wrote: > >Was this on an iphone or the simulator? From coiin at verizon.net Sun Apr 1 15:31:49 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Apr 2012 15:31:49 -0400 Subject: Peripheral support In-Reply-To: <4F78A38E.7080307@gmail.com> References: <4F78A38E.7080307@gmail.com> Message-ID: <05B5A038-C848-4314-8749-7F04C524CA6B@verizon.net> But the bluetooth keyboard works fine. I had tried with my iPad, and I tried now with my 3GS. It works too. I think his only problem was that he didn't have a bluetooth keyboard to test with. On Apr 1, 2012, at 2:50 PM, Richmond wrote: > >In the light of the chap having a problem with a Bluetooth keyboard and an iPhone From richmondmathewson at gmail.com Sun Apr 1 15:36:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Apr 2012 22:36:35 +0300 Subject: Peripheral support In-Reply-To: <05B5A038-C848-4314-8749-7F04C524CA6B@verizon.net> References: <4F78A38E.7080307@gmail.com> <05B5A038-C848-4314-8749-7F04C524CA6B@verizon.net> Message-ID: <4F78AE43.2060405@gmail.com> On 04/01/2012 10:31 PM, Colin Holgate wrote: > But the bluetooth keyboard works fine. I had tried with my iPad, and I tried now with my 3GS. It works too. I think his only problem was that he didn't have a bluetooth keyboard to test with. Aha! However, that does not obviate my comment about RunRev needing some sort of database of peripherals and what works with what. > > > On Apr 1, 2012, at 2:50 PM, Richmond wrote: > >>> In the light of the chap having a problem with a Bluetooth keyboard and an iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknapp at comcast.net Sun Apr 1 15:43:57 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 01 Apr 2012 12:43:57 -0700 Subject: Disabling a tab In-Reply-To: References: Message-ID: <4F78AFFD.8060302@comcast.net> Hey Pete, Using "disable menuItem 2 of btn "Tab Menu" seems to work. Marty Knapp > I have a tab control and I'm using the method of revealing data on each tab > by having groups with the same name as each tab which are hidden/shown when > a tab is clicked. > > Depending on data conditions, I need to disable one of the tabs, meaning > that clicking ion it has no effect. Right now, I'm doing this in a > selectionChanged handler that checks the data condition, beeps if the use > clicks on a disallowed tab, and leaves the original tab/group displayed. > > That works OK but there is no visual indication that the tab is not > available. Ideally, I'd like the text in the tab heading to be greyed out, > kinda like a disabled menu item. Any ideas how to do that? > > From wow at together.net Sun Apr 1 16:05:57 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 16:05:57 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <5BFB8BE0-E0C3-4B23-8438-D26E9AAD4726@verizon.net> References: <4F785D55.2040308@together.net> <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> <4F78A365.6070604@together.net> <5BFB8BE0-E0C3-4B23-8438-D26E9AAD4726@verizon.net> Message-ID: <4F78B525.8040207@together.net> So Colin, you have en open text field to start. The app starts and the keydown message catches any keypresses, even though the onscreen keyboard is not showing. Is that about right so far? On 4/1/2012 3:26 PM, Colin Holgate wrote: > New iPad, with my bluetooth keyboard paired to it. > > > On Apr 1, 2012, at 2:50 PM, Richard Miller wrote: > >>> Was this on an iphone or the simulator? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 1 16:33:57 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 1 Apr 2012 16:33:57 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F789229.6040906@together.net> References: <4F785D55.2040308@together.net> <8C7014C9-AD38-457A-B0C7-8654B608527B@sonsothunder.com> <4F7871F7.3060505@together.net> <941CBEE1-81CD-4D47-B853-E94275175D76@sonsothunder.com> <4F788160.9080305@together.net> <4F788C29.3060609@gmail.com> <4F789229.6040906@together.net> Message-ID: On Sun, Apr 1, 2012 at 1:36 PM, Richard Miller wrote: > Thanks, but I'm not sure this keyboard sends any data to the iphone which > LC can intercept. And, for my app, the keyboard needs to be physically > separated in distance from the iphone by at least 5 feet. I have this bluetooth keyboard. It's cheap, but works great! I've used it with an iPad, Android tablet, Win7 and Lion. AA batteries seem to be long-lasting. I got it around Christmas, and haven't needed to change the batteries yet. http://www.dealextreme.com/p/ultra-thin-bluetooth-v2-0-78-key-keyboard-2-x-aaa-113611 If you are in the US, it also ships from a US warehouse, and you get free shipping. Not bad for $22. ~Roger From pete at mollysrevenge.com Sun Apr 1 16:45:05 2012 From: pete at mollysrevenge.com (Pete) Date: Sun, 1 Apr 2012 13:45:05 -0700 Subject: Disabling a tab In-Reply-To: <4F78AFFD.8060302@comcast.net> References: <4F78AFFD.8060302@comcast.net> Message-ID: Thanks Marty. Sometimes the obvious just slips by me! Pete On Sun, Apr 1, 2012 at 12:43 PM, Marty Knapp wrote: > Hey Pete, > Using "disable menuItem 2 of btn "Tab Menu" seems to work. > > Marty Knapp > > I have a tab control and I'm using the method of revealing data on each >> tab >> by having groups with the same name as each tab which are hidden/shown >> when >> a tab is clicked. >> >> Depending on data conditions, I need to disable one of the tabs, meaning >> that clicking ion it has no effect. Right now, I'm doing this in a >> selectionChanged handler that checks the data condition, beeps if the use >> clicks on a disallowed tab, and leaves the original tab/group displayed. >> >> That works OK but there is no visual indication that the tab is not >> available. Ideally, I'd like the text in the tab heading to be greyed >> out, >> kinda like a disabled menu item. Any ideas how to do that? >> >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From coiin at verizon.net Sun Apr 1 17:16:41 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Apr 2012 17:16:41 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: <4F78B525.8040207@together.net> References: <4F785D55.2040308@together.net> <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> <4F78A365.6070604@together.net> <5BFB8BE0-E0C3-4B23-8438-D26E9AAD4726@verizon.net> <4F78B525.8040207@together.net> Message-ID: Yes, I have the keydown handler in the card script, and that puts the key into a second field, and does a pass keydown. The letters appear in both fields from the start, without me having to touch the screen, and without the software keyboard appearing. On Apr 1, 2012, at 4:05 PM, Richard Miller wrote: > So Colin, you have en open text field to start. The app starts and the keydown message catches any keypresses, even though the onscreen keyboard is not showing. Is that about right so far? From wow at together.net Sun Apr 1 17:54:57 2012 From: wow at together.net (Richard Miller) Date: Sun, 01 Apr 2012 17:54:57 -0400 Subject: ios app... any ideas how to do this? In-Reply-To: References: <4F785D55.2040308@together.net> <3AE6C916-7564-42D5-9F77-4953625AE4B9@verizon.net> <4F78A365.6070604@together.net> <5BFB8BE0-E0C3-4B23-8438-D26E9AAD4726@verizon.net> <4F78B525.8040207@together.net> Message-ID: <4F78CEB1.1070103@together.net> Yes, Colin. That works on my end as well, in the simulator. Quite cool. I'm going to keep working with this idea and see what kinds of issues I might run into. Thanks! Richard On 4/1/2012 5:16 PM, Colin Holgate wrote: > Yes, I have the keydown handler in the card script, and that puts the key into a second field, and does a pass keydown. The letters appear in both fields from the start, without me having to touch the screen, and without the software keyboard appearing. > > > On Apr 1, 2012, at 4:05 PM, Richard Miller wrote: > >> So Colin, you have en open text field to start. The app starts and the keydown message catches any keypresses, even though the onscreen keyboard is not showing. Is that about right so far? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 1 18:16:57 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 01 Apr 2012 15:16:57 -0700 Subject: Disabling a tab In-Reply-To: References: <4F78AFFD.8060302@comcast.net> Message-ID: <4F78D3D9.2080403@pdslabs.net> Hi Pete, As usual in Livecode, there are multiple ways to disable a tab. If you want to manipulate the button text directly, you can put "(" before the line of button text for the tab you want to disable. Or to enable all tabs, replace "(" with empty in text of btn 1. Best - Phil On 4/1/12 1:45 PM, Pete wrote: > Thanks Marty. Sometimes the obvious just slips by me! > Pete > > On Sun, Apr 1, 2012 at 12:43 PM, Marty Knapp wrote: > >> Hey Pete, >> Using "disable menuItem 2 of btn "Tab Menu" seems to work. >> >> Marty Knapp >> >> I have a tab control and I'm using the method of revealing data on each >>> tab >>> by having groups with the same name as each tab which are hidden/shown >>> when >>> a tab is clicked. >>> >>> Depending on data conditions, I need to disable one of the tabs, meaning >>> that clicking ion it has no effect. Right now, I'm doing this in a >>> selectionChanged handler that checks the data condition, beeps if the use >>> clicks on a disallowed tab, and leaves the original tab/group displayed. >>> >>> That works OK but there is no visual indication that the tab is not >>> available. Ideally, I'd like the text in the tab heading to be greyed >>> out, >>> kinda like a disabled menu item. Any ideas how to do that? >>> >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From livfoss at mac.com Sun Apr 1 18:35:47 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Apr 2012 00:35:47 +0200 Subject: Fixed width table in LC5.5? Message-ID: <999B92A9-8EE3-40E8-A5CF-114AF6204ADD@mac.com> Using LC 5.5 on MacOSX Lion 10.7.3, I am trying very minimally to follow the example in the 5.5 Release Notes, where it says: > vGrid fixed width table mode (5.5 DP1) > When vGrid is in effect, if the final tabStop has 0 width the engine treats the paragraph as a fixed > > width table, the width being the position of the final tabstop. > > In this mode, the width of the paragraph is considered to be the (fixed) width and this width is used to do the following: > > ? compute the placement of the table in the line taking into account the textAlign property > > ? compute the background rectangle to fill with the backColor property > > ? compute the placement of the border (if any) > > In this mode, rather than borders and background fill going from left margin to right margin, they will instead go from left of the table to right of the table. > > For example, suppose you want a table-like layout with only 5 columns of 50 wide. You can use the following tabStops: > > 50,50,50,50,50,0 > > This will result in a table of width 250 pixels. > Well, when I create a mainstack and put a table onto the first (only) card, check that its vGrid is true and do set the tabStops of fld "myTable" to 50,50,50,50,50,0 The property inspector for the table shows the tab stops to be at 50,100,150,200,250,250, which seems to show that I am actually setting the tabWidths by this statement - seems weird to me. However, the real issue is that I get a table where not all the columns are the same width (the first one is about 2mm wider than the next two, but I suppose this may be the effect of the border), and where the right hand edge can be infinitely extended by dragging, making the fourth column variable rather than fixed. I also found the IDE freezes frequently during these tests. When I force quit, the 'do you want to Save' dialog appears briefly, but can't be actioned, showing perhaps that the IDE was doing something; but it won't react to mouse clicks. I find that if I reopen my stack and try to switch to the browse tool (I thought of typing something into my table) then the freeze occurs. I have also had a freeze after trying to set the tabWidths and then opening an inspector for the table. I am not trying to use the full power of the new field object, but merely to make a grid which looks like a spreadsheet table. I liked the idea of a table with a fixed number of columns and rows, and also one where some columns couldn't be written to by the user. Looks like I'm barking up the wrong tree. I have never tackled Datagrids, but this may be the moment. Anyone else having trouble with this? Graham Incidentally, the property 'Cell Formatting" in a table field inspector is not explained in the LC documentation. Does anyone know what it does? From pete at mollysrevenge.com Sun Apr 1 20:32:17 2012 From: pete at mollysrevenge.com (Pete) Date: Sun, 1 Apr 2012 17:32:17 -0700 Subject: Disabling a tab In-Reply-To: <4F78D3D9.2080403@pdslabs.net> References: <4F78AFFD.8060302@comcast.net> <4F78D3D9.2080403@pdslabs.net> Message-ID: Thanks Phil. I think the "(" is the standard char to disable menu items, so that makes sense. I did notice the "(" character in front of the lines that I disabled. Pete On Sun, Apr 1, 2012 at 3:16 PM, Phil Davis wrote: > Hi Pete, > > As usual in Livecode, there are multiple ways to disable a tab. If you > want to manipulate the button text directly, you can put "(" before the > line of button text for the tab you want to disable. Or to enable all tabs, > replace "(" with empty in text of btn 1. > > Best - > Phil > > > > On 4/1/12 1:45 PM, Pete wrote: > >> Thanks Marty. Sometimes the obvious just slips by me! >> Pete >> >> On Sun, Apr 1, 2012 at 12:43 PM, Marty Knapp >> wrote: >> >> Hey Pete, >>> Using "disable menuItem 2 of btn "Tab Menu" seems to work. >>> >>> Marty Knapp >>> >>> I have a tab control and I'm using the method of revealing data on each >>> >>>> tab >>>> by having groups with the same name as each tab which are hidden/shown >>>> when >>>> a tab is clicked. >>>> >>>> Depending on data conditions, I need to disable one of the tabs, meaning >>>> that clicking ion it has no effect. Right now, I'm doing this in a >>>> selectionChanged handler that checks the data condition, beeps if the >>>> use >>>> clicks on a disallowed tab, and leaves the original tab/group displayed. >>>> >>>> That works OK but there is no visual indication that the tab is not >>>> available. Ideally, I'd like the text in the tab heading to be greyed >>>> out, >>>> kinda like a disabled menu item. Any ideas how to do that? >>>> >>>> >>>> >>>> ______________________________****_________________ >>> >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**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 > > -- Pete Molly's Revenge From Mark_Smith at cpe.umanitoba.ca Sun Apr 1 22:09:06 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 1 Apr 2012 19:09:06 -0700 (PDT) Subject: Location of iOS 5.0 SDK Message-ID: <1333332546741-4524976.post@n4.nabble.com> I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have done: 1. updated iPad to iOS 5.1 (first mistake) 2. this required update to xCode 4.3.2 (done) 3. this required update to Lion (OSX 10.7.3) (check) Livecode is now complaining that in order to build for iOS it needs to use the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer and I have not changed this during any of this process. So, if it worked before I did all of this why isn't it working now? Does anyone have any suggestions of what to try next? (I'm wondering if the cause of this was that step where the xCode installer asked me if it could remove xCode 4.2, and I said yes?? This is probably it, because I'll bet the new xCode is installing into a different location. Does anyone know the correct path for the prefs in LC??) Thanks -- M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4524976.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Sun Apr 1 22:28:10 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 1 Apr 2012 19:28:10 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: <1333332546741-4524976.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> Message-ID: <1333333690537-4525009.post@n4.nabble.com> Further observations: Where once my Library folder used to be (ie. /Mark/Library) there is now just an empty space. I checked my time machine backup and inside Library is Developer. And inside Developer is Xcode. Or should I say, was Xcode. Is this a case of Lion thinking its safer for me not to muck about in the Library folder so it has made it invisible? Is any of this relevant to finding the iOS 5.0 SDK? Just thought I should mention it. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4525009.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sun Apr 1 23:09:41 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 Apr 2012 23:09:41 -0400 Subject: Location of iOS 5.0 SDK In-Reply-To: <1333332546741-4524976.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> Message-ID: Mark, The new path is actually to the xCode.app in the applications folder and once pointed to the app itself LC will then traverse the package contents to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the /Developer anymore since LC can now build the 5.1 in the xCode.app app. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 1, 2012, at 10:09 PM, Mark Smith wrote: > I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have > done: > > 1. updated iPad to iOS 5.1 (first mistake) > 2. this required update to xCode 4.3.2 (done) > 3. this required update to Lion (OSX 10.7.3) (check) > > Livecode is now complaining that in order to build for iOS it needs to use > the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer > and I have not changed this during any of this process. So, if it worked > before I did all of this why isn't it working now? > > Does anyone have any suggestions of what to try next? > > (I'm wondering if the cause of this was that step where the xCode installer > asked me if it could remove xCode 4.2, and I said yes?? This is probably it, > because I'll bet the new xCode is installing into a different location. Does > anyone know the correct path for the prefs in LC??) > > Thanks > > -- M > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4524976.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 1 23:16:17 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Apr 2012 22:16:17 -0500 Subject: Location of iOS 5.0 SDK In-Reply-To: <1333333690537-4525009.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> Message-ID: <4F791A01.2020601@hyperactivesw.com> On 4/1/12 9:28 PM, Mark Smith wrote: > Further observations: > > Where once my Library folder used to be (ie. /Mark/Library) there is now > just an empty space. I checked my time machine backup and inside Library is > Developer. And inside Developer is Xcode. Or should I say, was Xcode. Is > this a case of Lion thinking its safer for me not to muck about in the > Library folder so it has made it invisible? Is any of this relevant to > finding the iOS 5.0 SDK? Lion hides the Library folders, heaven knows why. You can get to them in several ways; the easiest is to hold down the Option key while clicking the Go menu in the Finder. The folders are still there, they're just invisible. You need to change the LiveCode mobile pref to point to the XCode app in the Applications folder, instead of the old Developer folder. I have purchased and downloaded Lion and have been sitting here all weekend trying to make myself install it. I know I have to. Still don't want to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From barrysum at bigpond.net.au Mon Apr 2 00:01:47 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Mon, 2 Apr 2012 14:01:47 +1000 Subject: use-livecode Digest, Vol 103, Issue 3 In-Reply-To: References: Message-ID: <000301cd1085$532d39a0$f987ace0$@bigpond.net.au> This was happening to me on a simple table. I had to copy the tab setting to the clip board. Close the stack. Open the stack. Paste into the tab settings (column widths) No matter how many time I changed the tab setting by hand afterwards It would was adjust. Kind of a paid but only needed to work for 5 mins. hth ------------------------------ Message: 28 Date: Mon, 02 Apr 2012 00:35:47 +0200 From: Graham Samuel To: use-livecode at lists.runrev.com Subject: Fixed width table in LC5.5? Message-ID: <999B92A9-8EE3-40E8-A5CF-114AF6204ADD at mac.com> Content-Type: text/plain; charset=windows-1252 Using LC 5.5 on MacOSX Lion 10.7.3, I am trying very minimally to follow the example in the 5.5 Release Notes, where it says: > vGrid fixed width table mode (5.5 DP1) > When vGrid is in effect, if the final tabStop has 0 width the engine treats the paragraph as a fixed > > width table, the width being the position of the final tabstop. > > In this mode, the width of the paragraph is considered to be the (fixed) width and this width is used to do the following: > > ? compute the placement of the table in the line taking into account the textAlign property > > ? compute the background rectangle to fill with the backColor property > > ? compute the placement of the border (if any) > > In this mode, rather than borders and background fill going from left margin to right margin, they will instead go from left of the table to right of the table. > > For example, suppose you want a table-like layout with only 5 columns of 50 wide. You can use the following tabStops: > > 50,50,50,50,50,0 > > This will result in a table of width 250 pixels. > Well, when I create a mainstack and put a table onto the first (only) card, check that its vGrid is true and do set the tabStops of fld "myTable" to 50,50,50,50,50,0 The property inspector for the table shows the tab stops to be at 50,100,150,200,250,250, which seems to show that I am actually setting the tabWidths by this statement - seems weird to me. However, the real issue is that I get a table where not all the columns are the same width (the first one is about 2mm wider than the next two, but I suppose this may be the effect of the border), and where the right hand edge can be infinitely extended by dragging, making the fourth column variable rather than fixed. I also found the IDE freezes frequently during these tests. When I force quit, the 'do you want to Save' dialog appears briefly, but can't be actioned, showing perhaps that the IDE was doing something; but it won't react to mouse clicks. I find that if I reopen my stack and try to switch to the browse tool (I thought of typing something into my table) then the freeze occurs. I have also had a freeze after trying to set the tabWidths and then opening an inspector for the table. I am not trying to use the full power of the new field object, but merely to make a grid which looks like a spreadsheet table. I liked the idea of a table with a fixed number of columns and rows, and also one where some columns couldn't be written to by the user. Looks like I'm barking up the wrong tree. I have never tackled Datagrids, but this may be the moment. Anyone else having trouble with this? Graham Incidentally, the property 'Cell Formatting" in a table field inspector is not explained in the LC documentation. Does anyone know what it does? From mwieder at ahsoftware.net Mon Apr 2 03:23:11 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Apr 2012 00:23:11 -0700 Subject: P In-Reply-To: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> Message-ID: <122327419750.20120402002311@ahsoftware.net> mark- You spelled :-p wrong. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Mon Apr 2 03:28:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Apr 2012 10:28:16 +0300 Subject: P In-Reply-To: <122327419750.20120402002311@ahsoftware.net> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> <122327419750.20120402002311@ahsoftware.net> Message-ID: <4F795510.9060509@gmail.com> On 04/02/2012 10:23 AM, Mark Wieder wrote: > mark- > > You spelled :-p wrong. > You slipped grammatically : wrongly :) From livfoss at mac.com Mon Apr 2 03:39:40 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Apr 2012 09:39:40 +0200 Subject: Location of iOS 5.0 SDK In-Reply-To: References: Message-ID: Hi Mark - warning - I agree that you should be able to steam on to 5.1 from the point you've got to: however although this clearly worked for Tom, it didn't work for me. I did what you did, apart from not allowing XCode to remove 4.2 and when I point the mobile prefs of LC 5.5. to the XCode app (bundle) in my Applications folder, the pref mechanism accepts the path but then can't find the new simulator and comes up with some odd messages which I've written about elsewhere. As I have not deleted my Developer folder I can go back to 4.2, but I am dead in the water as regards 5.1 and its simulator. I tried all I could think of, including opening the XCode bundle and copying what I found there into a new Developer folder, but it didn't help. I have had a call out to RunRev support for some days now and I'm hoping for a solution very soon - when/if I get it, I will post it to the list. I don't know what can be different between Tom's setup and mine. Graham On Sun, 01 Apr 2012 23:09:41 -0400, Thomas McGrath III wrote: > > The new path is actually to the xCode.app in the applications folder and once pointed to the app itself LC will then traverse the package contents to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the /Developer anymore since LC can now build the 5.1 in the xCode.app app. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Apr 1, 2012, at 10:09 PM, Mark Smith wrote: > >> I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have >> done: >> >> 1. updated iPad to iOS 5.1 (first mistake) >> 2. this required update to xCode 4.3.2 (done) >> 3. this required update to Lion (OSX 10.7.3) (check) >> >> Livecode is now complaining that in order to build for iOS it needs to use >> the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer >> and I have not changed this during any of this process. So, if it worked >> before I did all of this why isn't it working now? >> >> Does anyone have any suggestions of what to try next? >> >> (I'm wondering if the cause of this was that step where the xCode installer >> asked me if it could remove xCode 4.2, and I said yes?? This is probably it, >> because I'll bet the new xCode is installing into a different location. Does >> anyone know the correct path for the prefs in LC??) >> >> Thanks >> >> -- M > From toolbook at kestner.de Mon Apr 2 04:14:46 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Apr 2012 10:14:46 +0200 Subject: AW: what to put into the standalone signature? In-Reply-To: <003a01cd0e5d$0be16280$23a42780$@de> References: <003a01cd0e5d$0be16280$23a42780$@de> Message-ID: <000d01cd10a8$ab39e260$01ada720$@de> Hello, I didn't get any answer here and didn't find any satisfying answer with googleing, so I think I just can ignore the signature. If anybody still has an explanation for me, I would be happy, Thanks Tiemo > > up to now I have always ignored the standalone signature and kept the > standard "????" - my programs run. But what is it for? > > What do you actually have to put into the signature? Is it a free string I > can choose, or do I have to get it from any registration process from > Apple? > > Any advantages / disadvantages using / not using it instead of the ???? > default? > > Thanks for sharing your experiences with a windows guy > > Tiemo > From richmondmathewson at gmail.com Mon Apr 2 04:21:05 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Apr 2012 11:21:05 +0300 Subject: AW: what to put into the standalone signature? In-Reply-To: <000d01cd10a8$ab39e260$01ada720$@de> References: <003a01cd0e5d$0be16280$23a42780$@de> <000d01cd10a8$ab39e260$01ada720$@de> Message-ID: <4F796171.4090007@gmail.com> On 04/02/2012 11:14 AM, Tiemo Hollmann TB wrote: > Hello, > > I didn't get any answer here and didn't find any satisfying answer with > googleing, so I think I just can ignore the signature. > If anybody still has an explanation for me, I would be happy, Thanks > Tiemo > >> up to now I have always ignored the standalone signature and kept the >> standard "????" - my programs run. But what is it for? >> >> What do you actually have to put into the signature? Is it a free string I >> can choose, or do I have to get it from any registration process from >> Apple? >> >> Any advantages / disadvantages using / not using it instead of the ???? >> default? Well, as far as Macintosh goes; a standalone built "just like that" (i.e. no post-build mods, signatures, mucking around with the version number, etc.) works "just like that". I would suppose the only advantage of having a signature is if you want to link text files, or somesuch, explicitly to it; i.e. so double-clicking on one of those documents would launch your standalone. >> >> Thanks for sharing your experiences with a windows guy >> >> Tiemo >> > From toolbook at kestner.de Mon Apr 2 05:04:32 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Apr 2012 11:04:32 +0200 Subject: AW: AW: what to put into the standalone signature? In-Reply-To: <4F796171.4090007@gmail.com> References: <003a01cd0e5d$0be16280$23a42780$@de> <000d01cd10a8$ab39e260$01ada720$@de> <4F796171.4090007@gmail.com> Message-ID: <000e01cd10af$9eb1b520$dc151f60$@de> Thanks Richmond for your expertise Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Richmond > Gesendet: Montag, 2. April 2012 10:21 > An: How to use LiveCode > Betreff: Re: AW: what to put into the standalone signature? > > On 04/02/2012 11:14 AM, Tiemo Hollmann TB wrote: > > Hello, > > > > I didn't get any answer here and didn't find any satisfying answer > > with googleing, so I think I just can ignore the signature. > > If anybody still has an explanation for me, I would be happy, Thanks > > Tiemo > > > >> up to now I have always ignored the standalone signature and kept the > >> standard "????" - my programs run. But what is it for? > >> > >> What do you actually have to put into the signature? Is it a free > >> string I can choose, or do I have to get it from any registration > >> process from Apple? > >> > >> Any advantages / disadvantages using / not using it instead of the ???? > >> default? > > Well, as far as Macintosh goes; a standalone built "just like that" > (i.e. no post-build mods, signatures, mucking around with the version > number, etc.) works "just like that". I would suppose the only advantage of > having a signature is if you want to link text files, or somesuch, > explicitly to it; i.e. so double-clicking on one of those documents would > launch your standalone. > > >> > >> Thanks for sharing your experiences with a windows guy > >> > >> 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 guglielmo at braguglia.ch Mon Apr 2 05:40:17 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Mon, 02 Apr 2012 11:40:17 +0200 Subject: AW: what to put into the standalone signature? In-Reply-To: <000d01cd10a8$ab39e260$01ada720$@de> References: <003a01cd0e5d$0be16280$23a42780$@de> <000d01cd10a8$ab39e260$01ada720$@de> Message-ID: <4F797401.1030003@braguglia.ch> Hi Tiemo, maybe this page help to understand the 'signature' codes : http://revolution.byu.edu/helps/file-creatorcodes.php :-) Guglielmo On 02.04.2012 10:14, Tiemo Hollmann TB wrote: > Hello, > > I didn't get any answer here and didn't find any satisfying answer with > googleing, so I think I just can ignore the signature. > If anybody still has an explanation for me, I would be happy, Thanks > Tiemo > >> up to now I have always ignored the standalone signature and kept the >> standard "????" - my programs run. But what is it for? >> >> What do you actually have to put into the signature? Is it a free string I >> can choose, or do I have to get it from any registration process from >> Apple? >> >> Any advantages / disadvantages using / not using it instead of the ???? >> default? >> >> Thanks for sharing your experiences with a windows guy >> >> 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 toolbook at kestner.de Mon Apr 2 06:02:21 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Apr 2012 12:02:21 +0200 Subject: AW: AW: what to put into the standalone signature? In-Reply-To: <4F797401.1030003@braguglia.ch> References: <003a01cd0e5d$0be16280$23a42780$@de> <000d01cd10a8$ab39e260$01ada720$@de> <4F797401.1030003@braguglia.ch> Message-ID: <002101cd10b7$b2c336d0$1849a470$@de> Hi Guglielmo, thank you for the informative link Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Guglielmo Braguglia > Gesendet: Montag, 2. April 2012 11:40 > An: How to use LiveCode > Betreff: Re: AW: what to put into the standalone signature? > > Hi Tiemo, > maybe this page help to understand the 'signature' codes : > http://revolution.byu.edu/helps/file-creatorcodes.php :-) > > Guglielmo > > > On 02.04.2012 10:14, Tiemo Hollmann TB wrote: > > Hello, > > > > I didn't get any answer here and didn't find any satisfying answer > > with googleing, so I think I just can ignore the signature. > > If anybody still has an explanation for me, I would be happy, Thanks > > Tiemo > > > >> up to now I have always ignored the standalone signature and kept the > >> standard "????" - my programs run. But what is it for? > >> > >> What do you actually have to put into the signature? Is it a free > >> string I can choose, or do I have to get it from any registration > >> process from Apple? > >> > >> Any advantages / disadvantages using / not using it instead of the ???? > >> default? > >> > >> Thanks for sharing your experiences with a windows guy > >> > >> Tiemo > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Apr 2 06:13:36 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Apr 2012 12:13:36 +0200 Subject: getProp syntax query Message-ID: <6B5812CD-38DF-4D33-9BE5-A0C315C39E9D@mac.com> For the very first time in a pretty long career as a LiveCode coder, I'm trying to make sense of DataGrids, which I see were a heroic effort to extend LiveCode - with a very sophisticated implementation and literally hundreds of pages of documentation. AFAIK it was done by Trevor deVore - I am deeply impressed, even as I stumble. I am trying to implement some spreadsheet-like behaviour and have fallen more or less at the first fence during the lesson on Page 94 "How do I get Aggregate Values for Columns?". I can make the example work if I follow it exactly. It depends on a getProp handler the first line of which is: getprop uSumOfColumn [pColumn] I would like to multiply two columns using this as a starting point, so I would like to refer to two columns in my getProp handler. However when I look up getProp in the LC documentation, I don't see that getProp can take any parameters at all, certainly not an array reference, so my attempt to extend this structure with a line like getProp usMultipleOfColumns [pColumn1] [ pColumn2] can't be compiled - putting a comma in between the parameters (if that's what they are) doesn't help. As you see I have no idea what I'm doing. My question is, how does the syntax of the original getProp handler work? How is the bit in square brackets allowed, and why isn't it featured in the LC documentation? If I did want to provide a getProp handler with the names of two different columns, how would I do it? I do realise there are much more pedestrian ways of achieving what I want, but it seems important to understand the mechanism shown in the DataGrid docs. Ignorantly Graham From bdrunrev at gmail.com Mon Apr 2 07:15:16 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 2 Apr 2012 12:15:16 +0100 Subject: near feature parity In-Reply-To: <4F7899AE.80806@fourthworld.com> References: <4F783ADB.40806@gmail.com> <4F7899AE.80806@fourthworld.com> Message-ID: I gave up on LiveCode on Linux some years ago. Last week I downloaded and installed one of the v5.x installers from my LiveCode account, and installed it on Mint Linux. As soon as I started LiveCode, it hung. Luckily, as it started, the LiveCode window was smaller than the monitor - as even when I started the task killer to kill it, the task killer could not get access to any portion of the screen in which the LiveCode window was located. If I'd been able to get LiveCode to work, I was prepared to pay for Linux deployment. As I couldn't, I saved myself some money (for about the 3rd or 4th year running). To my recollection, I've had trouble with LiveCode on Mint, OpenSuse and CentOS - 3 of the top 7 distros on distrowatch.org. I can't even recollect if I ever got it to work satisfactorily on Debian or Ubuntu - I'm sure I tried. I think I might have it installed on an Ubuntu laptop, so when I get back, I'll have a look (just to satisfy my own belief that it was a cause worth giving up on). The money I saved on paying for only the minimum that I need from Runrev bought me a new Macbook Air (a device I love, so I'm not complaining -- even though I hate the direction in which Apple is going). Bernard On Sun, Apr 1, 2012 at 7:08 PM, Richard Gaskin wrote: > So the Linux version costs twice as much for half the features, making > it roughly four times more expensive. > > Not an easy sales proposition for even my closest Linux-loving friends. From m.schonewille at economy-x-talk.com Mon Apr 2 07:38:06 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 2 Apr 2012 13:38:06 +0200 Subject: getProp syntax query In-Reply-To: <6B5812CD-38DF-4D33-9BE5-A0C315C39E9D@mac.com> References: <6B5812CD-38DF-4D33-9BE5-A0C315C39E9D@mac.com> Message-ID: <0B022287-049C-452E-A458-CD5BE6255946@economy-x-talk.com> Hi Graham, The following (nonsense) example works: getProp foo[bar] answer bar return "hello world" end foo setProp foo[bar] theData answer theData pass foo end foo You can use only one index, i.e. the setProp/getProp handlers are one-dimensional. An additional parameter contains the data that the property is being set to. Use the target to find out which control's property is being set. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 2 apr 2012, at 12:13, Graham Samuel wrote: > For the very first time in a pretty long career as a LiveCode coder, I'm trying to make sense of DataGrids, which I see were a heroic effort to extend LiveCode - with a very sophisticated implementation and literally hundreds of pages of documentation. AFAIK it was done by Trevor deVore - I am deeply impressed, even as I stumble. > > I am trying to implement some spreadsheet-like behaviour and have fallen more or less at the first fence during the lesson on Page 94 "How do I get Aggregate Values for Columns?". > > I can make the example work if I follow it exactly. It depends on a getProp handler the first line of which is: > > getprop uSumOfColumn [pColumn] > > I would like to multiply two columns using this as a starting point, so I would like to refer to two columns in my getProp handler. However when I look up getProp in the LC documentation, I don't see that getProp can take any parameters at all, certainly not an array reference, so my attempt to extend this structure with a line like > > getProp usMultipleOfColumns [pColumn1] [ pColumn2] > > can't be compiled - putting a comma in between the parameters (if that's what they are) doesn't help. As you see I have no idea what I'm doing. My question is, how does the syntax of the original getProp handler work? How is the bit in square brackets allowed, and why isn't it featured in the LC documentation? If I did want to provide a getProp handler with the names of two different columns, how would I do it? I do realise there are much more pedestrian ways of achieving what I want, but it seems important to understand the mechanism shown in the DataGrid docs. > > Ignorantly > > Graham From Mark_Smith at cpe.umanitoba.ca Mon Apr 2 09:09:59 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 2 Apr 2012 06:09:59 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: References: <1333332546741-4524976.post@n4.nabble.com> Message-ID: <1333372199307-4525961.post@n4.nabble.com> Thanks Tom, unfortunately I had no luck. The exact path to Xcode 4.3.2 is Mark Smith's Macbook Pro/Macintosh HD/Applications. Selecting that path in prefs gives me this error msg: "The chosen folder is not a valid iOS SDK for 5.0 and later. It must be one that ships with Xcode 4.2 or later." I'll send it to Support and see what they say. I am starting to develop a huge aversion to anything called an upgrade -- Mark PS I should mention I am still using LC 5.0.2. That may be the problem at this point. PPS Jacque, the upgrade to Lion went smoother than I thought, and apart from the above I've not run into any other problems. I can't say there is anything in Lion I am looking for, but windows do seem to snap open faster. Graham, if I get this sorted out I'll post the solution. Thomas McGrath III-3 wrote > > Mark, > > The new path is actually to the xCode.app in the applications folder and > once pointed to the app itself LC will then traverse the package contents > to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the > /Developer anymore since LC can now build the 5.1 in the xCode.app app. > > > -- Tom McGrath III > > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4525961.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Mon Apr 2 09:44:54 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 2 Apr 2012 09:44:54 -0400 Subject: Location of iOS 5.0 SDK In-Reply-To: <1333332546741-4524976.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> Message-ID: You need to change the path. Click on the "Location" elipsis for the 5.0 sdk. Confirm that you are using the newer XCode. Select XCode in your Applications Folder. It is an application bundle which contains the SDK. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mkoob at rogers.com Mon Apr 2 09:47:49 2012 From: mkoob at rogers.com (Martin Koob) Date: Mon, 2 Apr 2012 06:47:49 -0700 (PDT) Subject: [on-rev]Line endings for a db query Message-ID: <1333374469323-4526068.post@n4.nabble.com> I have a script that is a repeat loop that gets the results of a database query which has a number of lines and puts it after a variable tSamplelist. I then use that variable tSampleList to display data on the webpage by iterating through the lines in the variable. However for each iteration of the original repeat loop the first line of data from the next query is appended to the last line of the tSamplelist and not put on a new line. I tried adding a return after each query but that creates a new blank line. Is there a character I can add after the query that will end the line so the next query will be added on a new line? Thanks. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526068.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Mon Apr 2 10:09:18 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Apr 2012 16:09:18 +0200 Subject: Location of iOS 5.0 SDK In-Reply-To: References: Message-ID: <7E04C5A3-8DC8-4F38-BCA1-89A3322068EE@mac.com> Folks, I have now heard from Support at the mother ship (thanks Heather). My setup would have worked if I had chosen the Test Target from the Development menu in the IDE before trying to test. Somehow in my first (quite successful) experiments on iOS app development, either I didn't set this or I did it so early on that I forgot. So the drill is: 1. Point your mobile preference to the XCode app bundle (it just looks like an application file, but it's a sneaky folder) in the Applications folder. 2. Before you attempt a 'Test' on the simulator, set your Test Target (I now have the choice between the iPhone 5.1 and the iPad 5.1 simulators). So the difference between Tom and me was that Tom knew what he was doing. Graham I wrote: > Hi Mark - warning - I agree that you should be able to steam on to 5.1 from the point you've got to: however although this clearly worked for Tom, it didn't work for me. I did what you did, apart from not allowing XCode to remove 4.2 and when I point the mobile prefs of LC 5.5. to the XCode app (bundle) in my Applications folder, the pref mechanism accepts the path but then can't find the new simulator and comes up with some odd messages which I've written about elsewhere. As I have not deleted my Developer folder I can go back to 4.2, but I am dead in the water as regards 5.1 and its simulator. I tried all I could think of, including opening the XCode bundle and copying what I found there into a new Developer folder, but it didn't help. I have had a call out to RunRev support for some days now and I'm hoping for a solution very soon - when/if I get it, I will post it to the list. > > I don't know what can be different between Tom's setup and mine. > > Graham > > On Sun, 01 Apr 2012 23:09:41 -0400, Thomas McGrath III wrote: > >> >> The new path is actually to the xCode.app in the applications folder and once pointed to the app itself LC will then traverse the package contents to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the /Developer anymore since LC can now build the 5.1 in the xCode.app app. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Apr 1, 2012, at 10:09 PM, Mark Smith wrote: >> >>> I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have >>> done: >>> >>> 1. updated iPad to iOS 5.1 (first mistake) >>> 2. this required update to xCode 4.3.2 (done) >>> 3. this required update to Lion (OSX 10.7.3) (check) >>> >>> Livecode is now complaining that in order to build for iOS it needs to use >>> the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer >>> and I have not changed this during any of this process. So, if it worked >>> before I did all of this why isn't it working now? >>> >>> Does anyone have any suggestions of what to try next? >>> >>> (I'm wondering if the cause of this was that step where the xCode installer >>> asked me if it could remove xCode 4.2, and I said yes?? This is probably it, >>> because I'll bet the new xCode is installing into a different location. Does >>> anyone know the correct path for the prefs in LC??) >>> >>> Thanks >>> >>> -- M >> > From mikekann at yahoo.com Mon Apr 2 10:12:08 2012 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 2 Apr 2012 07:12:08 -0700 (PDT) Subject: [on-rev]Line endings for a db query In-Reply-To: <1333374469323-4526068.post@n4.nabble.com> Message-ID: <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> Martin, Here's my guess as to what is happening. On the web page you need a "
" to start a new line. Perhaps the return that you appended to your data is not getting translated into a "
" before it is put onto the web page. Mike --- On Mon, 4/2/12, Martin Koob wrote: From: Martin Koob Subject: [on-rev]Line endings for a db query To: use-revolution at lists.runrev.com Date: Monday, April 2, 2012, 8:47 AM I have a script that is a repeat loop that gets the results of a database query which has a number of lines and puts it after a variable tSamplelist. I then use that variable tSampleList to display data on the webpage by iterating through the lines in the variable.? However for each iteration of the original repeat loop the first line of data from the next query is appended to the last line of the tSamplelist and not put on a new line.? I tried adding a return after each query but that creates a new blank line.???Is there a character I can add after the query that will end the line so the next query will be added on a new line? Thanks. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526068.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Apr 2 10:40:17 2012 From: mkoob at rogers.com (Martin Koob) Date: Mon, 2 Apr 2012 07:40:17 -0700 (PDT) Subject: [on-rev]Line endings for a db query In-Reply-To: <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> Message-ID: <1333377617318-4526210.post@n4.nabble.com> Hi Micheal. Thanks for the suggestion. However the problem was occurring before I added the markup text to the data. I have found a way to work around it. I am using revDatafromQuery to do the query and I am using LF as the row delimiter. in the repeat loop I put the data returned and an LF after variable tSamplesList. then I delete the last line of tSamplesList. This way on each pass through the repeat loop the new data from the query is added starting on a new line and there are not blank lines in the variable tSamplesList. I also have to put a condition to test if it is the last iteration of the repeat loop. If so then don't delete the last line otherwise you lose the last record from the final query. So it seems that revDatafromQuery does not put an LF on the last line returned from a query. Is there another way to add the correct character at the end of the query to generate a new line in the variable? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526210.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Mon Apr 2 10:49:39 2012 From: mkoob at rogers.com (Martin Koob) Date: Mon, 2 Apr 2012 07:49:39 -0700 (PDT) Subject: [on-rev]Line endings for a db query In-Reply-To: <1333377617318-4526210.post@n4.nabble.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> Message-ID: <1333378179774-4526238.post@n4.nabble.com> Actually I typed too soon. adding a LF or a return after tSamplesList variable then deleting the last line actually deletes the last record from the query in the tSamplesList variable. Back to square one. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Mon Apr 2 11:10:16 2012 From: mkoob at rogers.com (Martin Koob) Date: Mon, 2 Apr 2012 08:10:16 -0700 (PDT) Subject: [on-rev]Line endings for a db query In-Reply-To: <1333378179774-4526238.post@n4.nabble.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> Message-ID: <1333379416091-4526295.post@n4.nabble.com> So in the end I just added the LF after the query data from each query which created extra lines in the variable but then when I used the data I just checked if the line was empty and did not use that line. This is just a work around. Does anyone have any suggestions as to how to add several queries after a variable ensuring that each record is on a separate line? Thanks. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526295.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Mon Apr 2 11:22:44 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 2 Apr 2012 17:22:44 +0200 Subject: OT: mails bouncing back? Message-ID: Hi friends, in the last weeks some of my mails bounced back from different email addresses due to the sending MTA's poor reputation????? ........................................................................................................................................... This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: XXX at XXXX.com SMTP error from remote mail server after initial connection: host smtp.secureserver.net [216.69.186.201]: 554-m1pismtp01-002.prod.mesa1.secureserver.net 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. ... ......................................................................................................................................... My web and email hoster is RunRev (on-rev). So my hoster has a bad reputation? If yes, how come? What can I do? Can anyone tell me who is to blame here, I plea not guilty!? :-D Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Mon Apr 2 11:31:07 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Apr 2012 08:31:07 -0700 Subject: OT: mails bouncing back? In-Reply-To: References: Message-ID: <198356695796.20120402083107@ahsoftware.net> Klaus- Monday, April 2, 2012, 8:22:44 AM, you wrote: > My web and email hoster is RunRev (on-rev). > So my hoster has a bad reputation? > If yes, how come? What can I do? > Can anyone tell me who is to blame here, I plea not guilty!? :-D I no longer use the on-rev smtp server because of this problem. Use your local isp's smtp server instead. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Apr 2 11:32:16 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Apr 2012 08:32:16 -0700 Subject: P In-Reply-To: <4F795510.9060509@gmail.com> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> <122327419750.20120402002311@ahsoftware.net> <4F795510.9060509@gmail.com> Message-ID: <169356765406.20120402083216@ahsoftware.net> Richmond- Monday, April 2, 2012, 12:28:16 AM, you wrote: > You slipped grammatically : wrongly :) ROTFLly -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Mon Apr 2 11:34:49 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 08:34:49 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> Message-ID: Try if tvar is empty then put stuff into tvar else put return & stuff after tvar end ig On Apr 2, 2012 8:13 AM, "Pete Haworth" wrote: > Line delimiters are squirly! Try this pseudo code: > > if tvar is empty then > Put stuff into tvar > else > put return & stuff after tvar > end if > > If you can tell its the fitst time thru your loop, you can check for that > instead of tvar empty. > > Pete > On Apr 2, 2012 7:49 AM, "Martin Koob" wrote: > >> Actually I typed too soon. >> >> adding a LF or a return after tSamplesList variable then deleting the last >> line actually deletes the last record from the query in the tSamplesList >> variable. >> >> Back to square one. >> >> Martin >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.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 Mon Apr 2 11:34:49 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 08:34:49 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> Message-ID: Try if tvar is empty then put stuff into tvar else put return & stuff after tvar end ig On Apr 2, 2012 8:13 AM, "Pete Haworth" wrote: > Line delimiters are squirly! Try this pseudo code: > > if tvar is empty then > Put stuff into tvar > else > put return & stuff after tvar > end if > > If you can tell its the fitst time thru your loop, you can check for that > instead of tvar empty. > > Pete > On Apr 2, 2012 7:49 AM, "Martin Koob" wrote: > >> Actually I typed too soon. >> >> adding a LF or a return after tSamplesList variable then deleting the last >> line actually deletes the last record from the query in the tSamplesList >> variable. >> >> Back to square one. >> >> Martin >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.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 Mon Apr 2 12:30:47 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 09:30:47 -0700 Subject: getProp syntax query In-Reply-To: <6B5812CD-38DF-4D33-9BE5-A0C315C39E9D@mac.com> References: <6B5812CD-38DF-4D33-9BE5-A0C315C39E9D@mac.com> Message-ID: Hi Graham, Mark expalined the syntax I think. You probably already realise this, but using getProp isn't an integral part of the datagrid, I think Trevor just used it as an example. Since you're doing a spreadsheet, I assume you'd want to multiply any 2 columns together, not specific ones. If that's the case, you could consider putting a handler in the datagrid's group script that takes the column names as parameters and returns the result. Something like: function multiplyColumns pcol1,pcol2 put the dgHilitedLine of me into tLine try put GetDataOfLine(tLine,pcol1) * GetDataOfLine(tline,pcol2) into tresult catch terr return terr end try return tresult end multiplyColumns The try is in there in case one of the columns doesn't contain numeric data or the column name doesn't exist but you could ctach that other ways. Datagrids are great but it takes a while to get to grips with them! Pete On Mon, Apr 2, 2012 at 3:13 AM, Graham Samuel wrote: > For the very first time in a pretty long career as a LiveCode coder, I'm > trying to make sense of DataGrids, which I see were a heroic effort to > extend LiveCode - with a very sophisticated implementation and literally > hundreds of pages of documentation. AFAIK it was done by Trevor deVore - I > am deeply impressed, even as I stumble. > > I am trying to implement some spreadsheet-like behaviour and have fallen > more or less at the first fence during the lesson on Page 94 "How do I get > Aggregate Values for Columns?". > > I can make the example work if I follow it exactly. It depends on a > getProp handler the first line of which is: > > getprop uSumOfColumn [pColumn] > > I would like to multiply two columns using this as a starting point, so I > would like to refer to two columns in my getProp handler. However when I > look up getProp in the LC documentation, I don't see that getProp can take > any parameters at all, certainly not an array reference, so my attempt to > extend this structure with a line like > > getProp usMultipleOfColumns [pColumn1] [ pColumn2] > > can't be compiled - putting a comma in between the parameters (if that's > what they are) doesn't help. As you see I have no idea what I'm doing. My > question is, how does the syntax of the original getProp handler work? How > is the bit in square brackets allowed, and why isn't it featured in the LC > documentation? If I did want to provide a getProp handler with the names of > two different columns, how would I do it? I do realise there are much more > pedestrian ways of achieving what I want, but it seems important to > understand the mechanism shown in the DataGrid docs. > > Ignorantly > > 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 > > -- Pete Molly's Revenge From bobs at twft.com Mon Apr 2 12:48:22 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 09:48:22 -0700 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> References: <4F778BAF.6090105@hyperactivesw.com> <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> Message-ID: BTW This is why I wanted to group my imported images into predefined ID ranges. I ran across this at one point. Bob On Mar 31, 2012, at 7:21 PM, Timothy Miller wrote: > On Mar 31, 2012, at 3:56 PM, J. Landman Gay wrote: > >> On 3/31/12 5:34 PM, Timothy Miller wrote: >>> I just discovered that if I click with the browse tool on the >>> place where the buttons should be, the button becomes visible and the >>> button script executes. If I save and quit LC, the buttons disappear >>> when I launch the stack again. >> >> Sounds like an icon ID conflict. Do what Mike suggested. Import the icons from the Icon Library into your stack and assign the new image IDs to the buttons. That way they'll stay stable. > > Thankya Mike and Jacque. That's a relief! I had unhappy visions of laboriously re-creating a corrupted stack. > > Sadly, I can't figure out how to import icons from the icon library into my stack. You won't believe this... The first thing that popped into my head was "resedit" > > Okay, I guess I figured it out by trial and error, probably did it wrong, but it worked. Something about development: image library. Never noticed that item before. > > A couple of little images, about right for the icons I want, are now sitting at a random location on one of the cards in the stack. So now when I set the icon, I can use image library:this stack. I can see the little images there. Before I was using image library: standard icons. > > What do I do with the little images I imported? Set the visible to false, hide them under a field, or can I delete them now, because they are used in a button? > > Should this be standard procedure? I never thought about importing images for icons. Normally, when I make a new button and want an icon, I just use the icons & borders popup. > > The stack and buttons are working normally now. > >> Version 5.5 has a new file format and older versions of LiveCode can't read it. >> >> Open your stack in 5.5. Do a "Save as" and use the popdown menu in the Save dialog to choose Legacy 2.7 format. Save it that way and it will open again in 5.02. > > Another relief. > > Maybe I should read the "what's new" document. I don't recall seeing one, but I didn't look for it very hard. > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 2 12:52:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 09:52:14 -0700 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: <4F78A693.3060609@hyperactivesw.com> References: <4F778BAF.6090105@hyperactivesw.com> <5C5EE01C-9C36-4AD4-AF40-10CC512ACC94@doctorTimothyMiller.com> <4F78A693.3060609@hyperactivesw.com> Message-ID: <3DB95ABB-7873-4DA5-A500-9F9C46EE323B@twft.com> It's one of the oddest things, but buttons point to imported images, imported images *can* be set to point to a file on the hard drive. Why not allow a button to point to an image on the hard drive for it's icon I say? Someone will cry, "Backwards Compatibility" at this point no doubt. But the ability to set a button's Icons to files on the hard drive ought to be a major consideration for the next major LC release IMHO. Bob On Apr 1, 2012, at 12:03 PM, J. Landman Gay wrote: > On 3/31/12 9:21 PM, Timothy Miller wrote: > >> What do I do with the little images I imported? Set the visible to >> false, hide them under a field, or can I delete them now, because >> they are used in a button? > > You can't delete them; they are the source of your icons. Just set them to be invisible. From bobs at twft.com Mon Apr 2 13:02:11 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 10:02:11 -0700 Subject: OT: mails bouncing back? In-Reply-To: <198356695796.20120402083107@ahsoftware.net> References: <198356695796.20120402083107@ahsoftware.net> Message-ID: <63D803C7-E7FB-42E3-A37F-D212600ECF4F@twft.com> Do you have your own domain set up with on-rev? If so, then you need to contact the blacklist organizations and find out what the gripe was. Then you can contact them via a form they have and request that you be removed, but if the problem still persists, the problem will recur. Are you sending out a lot of email from your domain as a kind of spam? If so, then you should consider using a separate domain for this for obvious reasons. Also, find out what is blacklisted, your IP or your domain. If your domain then someone may have hijacked it for smtp. If your IP then it's pretty clear that something at On-Rev has gotten compromised, but I seriously doubt that, unless it's a web site someone is maintaining there. That needs to be addressed with the On-Rev support people. Once you resolve the issue, contact the blacklist sites, let them know what you have done to resolve the issue, and they should unblock your domain/IP. Everyone gets at least one freebie, so get it right. Bob On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote: > Klaus- > > Monday, April 2, 2012, 8:22:44 AM, you wrote: > >> My web and email hoster is RunRev (on-rev). > >> So my hoster has a bad reputation? >> If yes, how come? What can I do? > >> Can anyone tell me who is to blame here, I plea not guilty!? :-D > > I no longer use the on-rev smtp server because of this problem. Use > your local isp's smtp server instead. > > -- > -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 Mon Apr 2 13:04:24 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 10:04:24 -0700 Subject: P In-Reply-To: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> References: <446397493-1333286454-cardhu_decombobulator_blackberry.rim.net-635475634-@b17.c8.bise6.blackberry> Message-ID: <1302DEFD-5AC3-46FB-AAB6-F251FE40258D@twft.com> I don't have to P and you can't make me! Bob On Apr 1, 2012, at 6:20 AM, mark.rauterkus at gmail.com wrote: > > Sent from my BlackBerry? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Mon Apr 2 13:21:09 2012 From: revolution at derbrill.de (Malte Brill) Date: Mon, 2 Apr 2012 19:21:09 +0200 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: References: Message-ID: <53088290-B5FC-4067-983F-01BE03BB9315@derbrill.de> I do not see what does not work in that context? The images does not necessariely need to be imported? Works just fine with referenced images. Sure, it still needs an image container, but that does not hurt much, does it? I would be glad if the icon could be a rugged ID though (image ID 58 of cd "myCard" of stack "myStack") without being resolved to an ambigouus number... Cheers, Malte > It's one of the oddest things, but buttons point to imported images, imported images *can* be set to point to a file on the hard drive. Why not allow a button to point to an image on the hard drive for it's icon I say? From klaus at major.on-rev.com Mon Apr 2 13:26:01 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 2 Apr 2012 19:26:01 +0200 Subject: OT: mails bouncing back? In-Reply-To: <63D803C7-E7FB-42E3-A37F-D212600ECF4F@twft.com> References: <198356695796.20120402083107@ahsoftware.net> <63D803C7-E7FB-42E3-A37F-D212600ECF4F@twft.com> Message-ID: <3A4C2012-F2E6-4D5C-8290-ACDCDEE4EE2B@major.on-rev.com> Hi Bob, Am 02.04.2012 um 19:02 schrieb Bob Sneidar: > Do you have your own domain set up with on-rev? Yep. > If so, then you need to contact the blacklist organizations and find out what the gripe was. Then you can contact them via a form they have and request that you be removed, but if the problem still persists, the problem will recur. > > Are you sending out a lot of email from your domain as a kind of spam? Not at all! :-/ > If so, then you should consider using a separate domain for this for obvious reasons. Also, find out what is blacklisted, your IP or your domain. If your domain then someone may have hijacked it for smtp. If your IP then it's pretty clear that something at On-Rev has gotten compromised, but I seriously doubt that, unless it's a web site someone is maintaining there. That needs to be addressed with the On-Rev support people. > > Once you resolve the issue, contact the blacklist sites, let them know what you have done to resolve the issue, and they should unblock your domain/IP. Everyone gets at least one freebie, so get it right. Thanks for the hints! > Bob > > On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote: > >> Klaus- >> Monday, April 2, 2012, 8:22:44 AM, you wrote: >>> My web and email hoster is RunRev (on-rev). >>> So my hoster has a bad reputation? >>> If yes, how come? What can I do? >>> Can anyone tell me who is to blame here, I plea not guilty!? :-D >> I no longer use the on-rev smtp server because of this problem. Use >> your local isp's smtp server instead. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From tolistim at me.com Mon Apr 2 13:29:27 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 02 Apr 2012 10:29:27 -0700 Subject: OT: mails bouncing back? In-Reply-To: <198356695796.20120402083107@ahsoftware.net> References: <198356695796.20120402083107@ahsoftware.net> Message-ID: <094183C5-9254-4ADE-B869-2229B70D7585@me.com> It appears that OnRev uses GoDaddy services as the "secureserver.net" servers belong to them. Because of GoDaddy's "easy" online setup, spammers / scammers are able to pop in, perform a hit-and-run with their mail broadcast, and the security team doesn't catch it and disable the account into it's already a problem. It sounds to me like RunRev should examine alternate mail service providers for the OnRev solution since secureserver.net is very deeply entrenched in the blacklists. Tim . On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote: > Klaus- > > Monday, April 2, 2012, 8:22:44 AM, you wrote: > >> My web and email hoster is RunRev (on-rev). > >> So my hoster has a bad reputation? >> If yes, how come? What can I do? > >> Can anyone tell me who is to blame here, I plea not guilty!? :-D > > I no longer use the on-rev smtp server because of this problem. Use > your local isp's smtp server instead. > > -- > -Mark Wieder > mwieder at ahsoftware.net From dsc at swcp.com Mon Apr 2 13:44:55 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 2 Apr 2012 11:44:55 -0600 Subject: iOS pull-down menu is full screen Message-ID: I'm using LiveCode 4.6.4 for this. In a test stack a pull-down menu shows up as full screen on iOS 4.3. I think a combo box does the same. I would guess later versions have this fixed, but if there is a quick workaround I'd like to do that. This doesn't have to look pretty, but something better than full screen would be nice. (I thought I had used a menu button that did not do this but maybe not.) Any ideas? Dar From bobs at twft.com Mon Apr 2 13:47:31 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 10:47:31 -0700 Subject: OT: mails bouncing back? In-Reply-To: <094183C5-9254-4ADE-B869-2229B70D7585@me.com> References: <198356695796.20120402083107@ahsoftware.net> <094183C5-9254-4ADE-B869-2229B70D7585@me.com> Message-ID: <8623F75A-D6E1-4BC2-98EC-82C41A1F97F1@twft.com> Nice to know Tim good catch! Bob On Apr 2, 2012, at 10:29 AM, Tim Jones wrote: > It appears that OnRev uses GoDaddy services as the "secureserver.net" servers belong to them. Because of GoDaddy's "easy" online setup, spammers / scammers are able to pop in, perform a hit-and-run with their mail broadcast, and the security team doesn't catch it and disable the account into it's already a problem. > > It sounds to me like RunRev should examine alternate mail service providers for the OnRev solution since secureserver.net is very deeply entrenched in the blacklists. > > Tim > . > On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote: > >> Klaus- >> >> Monday, April 2, 2012, 8:22:44 AM, you wrote: >> >>> My web and email hoster is RunRev (on-rev). >> >>> So my hoster has a bad reputation? >>> If yes, how come? What can I do? >> >>> Can anyone tell me who is to blame here, I plea not guilty!? :-D >> >> I no longer use the on-rev smtp server because of this problem. Use >> your local isp's smtp server instead. >> >> -- >> -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 mkoob at rogers.com Mon Apr 2 13:57:16 2012 From: mkoob at rogers.com (Martin Koob) Date: Mon, 2 Apr 2012 10:57:16 -0700 (PDT) Subject: [on-rev]Line endings for a db query In-Reply-To: References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> Message-ID: <1333389436425-4526757.post@n4.nabble.com> Hi Peter Thanks, I just tried your suggestion. That still inserts blank lines into the variable that I have to filter out later. It seems the revDataFromQuery does not insert an end of line character after the last record and it seems that the end of line character that is used to separate lines in the variable is not the same as the return or LF constants in LiveCode. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Apr 2 14:02:36 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 11:02:36 -0700 Subject: Button oddities -- LC 5.5 related? (Not a serious problem) In-Reply-To: <53088290-B5FC-4067-983F-01BE03BB9315@derbrill.de> References: <53088290-B5FC-4067-983F-01BE03BB9315@derbrill.de> Message-ID: <25B33BF6-AEBF-46F1-89D2-1C1E6A8E830B@twft.com> If a button could point to a file instead of an embedded image, the issues with ID's would disappear altogether. Instead of having an image AND the button, and then hiding the image, you would only have the button. Yes you can create an image and point it to a file on the hard drive, but it amounts to the same thing as importing the image and then setting it's file reference to the original file. 2 different paths, same destination. A button's icon still has to be set to that image object's ID, so it's six one way, half a dozen the other. One leg is both the same, you see? ;-) Bob On Apr 2, 2012, at 10:21 AM, Malte Brill wrote: > I do not see what does not work in that context? The images does not necessariely need to be imported? Works just fine with referenced images. Sure, it still needs an image container, but that does not hurt much, does it? I would be glad if the icon could be a rugged ID though (image ID 58 of cd "myCard" of stack "myStack") without being resolved to an ambigouus number... > > Cheers, > > Malte > >> It's one of the oddest things, but buttons point to imported images, imported images *can* be set to point to a file on the hard drive. Why not allow a button to point to an image on the hard drive for it's icon I say? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 2 14:02:23 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 11:02:23 -0700 Subject: OT: mails bouncing back? In-Reply-To: <094183C5-9254-4ADE-B869-2229B70D7585@me.com> References: <198356695796.20120402083107@ahsoftware.net> <094183C5-9254-4ADE-B869-2229B70D7585@me.com> Message-ID: I got caught in this web a couple of years back (I think it was with GoDaddy). Here's the problem I have with the blacklist sites. Their blanket blackballing of servers means that the 99% of users who are using it for genuine, non-spam emails get dumped on for the sins of the 1%. Personally, I sgtrongly object to having my genuine emails blocked in this fashion. It's illegal to tamper with the US Mail and it should be illegal to block the delivery of genuine email as well. End of rant! Pete On Mon, Apr 2, 2012 at 10:29 AM, Tim Jones wrote: > It appears that OnRev uses GoDaddy services as the "secureserver.net" > servers belong to them. Because of GoDaddy's "easy" online setup, spammers > / scammers are able to pop in, perform a hit-and-run with their mail > broadcast, and the security team doesn't catch it and disable the account > into it's already a problem. > > It sounds to me like RunRev should examine alternate mail service > providers for the OnRev solution since secureserver.net is very deeply > entrenched in the blacklists. > > Tim > . > On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote: > > > Klaus- > > > > Monday, April 2, 2012, 8:22:44 AM, you wrote: > > > >> My web and email hoster is RunRev (on-rev). > > > >> So my hoster has a bad reputation? > >> If yes, how come? What can I do? > > > >> Can anyone tell me who is to blame here, I plea not guilty!? :-D > > > > I no longer use the on-rev smtp server because of this problem. Use > > your local isp's smtp server instead. > > > > -- > > -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 > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Mon Apr 2 14:50:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2012 13:50:04 -0500 Subject: iOS pull-down menu is full screen In-Reply-To: References: Message-ID: <4F79F4DC.20700@hyperactivesw.com> On 4/2/12 12:44 PM, Dar Scott wrote: > I'm using LiveCode 4.6.4 for this. In a test stack a pull-down menu > shows up as full screen on iOS 4.3. I think a combo box does the > same. I would guess later versions have this fixed, but if there is > a quick workaround I'd like to do that. This doesn't have to look > pretty, but something better than full screen would be nice. Mobile systems can only display one window at a time, and menu butons are implemented internally as stacks so they show full screen. The solution was to use an iOS native control, but that didn't happen until version 5.0. You could probably make your own popup by faking it with a field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Apr 2 15:05:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 12:05:00 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: <1333389436425-4526757.post@n4.nabble.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> Message-ID: <79E56440-DDA7-4E78-8931-379AC2ACF5B8@twft.com> I just checked to see what revDataFromQuery uses for a row delimiter by default, if you do not provide one. It returns ascii 10, the backspace character! Very odd. Must be an HTML thingummy. I then specified comma and cr as the column and row delimiters like so: put revDataFromQuery(comma,cr,theConnID,"select * from events") & cr into theSQLData put revDataFromQuery(comma,cr,theConnID,"select * from clients") & cr after theSQLData This produced NO extra line that I could see. If you still get an extra line using this method, I suspect you have a blank record in your table. Bob On Apr 2, 2012, at 10:57 AM, Martin Koob wrote: > Hi Peter > > Thanks, I just tried your suggestion. > > That still inserts blank lines into the variable that I have to filter out > later. > > It seems the revDataFromQuery does not insert an end of line character after > the last record and > it seems that the end of line character that is used to separate lines in > the variable is not the same as the return or LF constants in LiveCode. > > Martin > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 Mon Apr 2 15:12:40 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 12:12:40 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: <1333389436425-4526757.post@n4.nabble.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> Message-ID: Hi Martin, That's strange. I just tried the following test: put revDataFromQuery(,,gDBID,"SELECT * FROM t1) into tVar put return & revDataFromQuery(,,gDBID,"SELECT * FROM t1) after tVar tVar looked just like it should after the above, no blank lines. Are you using the default rowdelim character for revDataFromQuery? What platform are you on? My test was done on a Mac. Pete On Mon, Apr 2, 2012 at 10:57 AM, Martin Koob wrote: > Hi Peter > > Thanks, I just tried your suggestion. > > That still inserts blank lines into the variable that I have to filter out > later. > > It seems the revDataFromQuery does not insert an end of line character > after > the last record and > it seems that the end of line character that is used to separate lines in > the variable is not the same as the return or LF constants in LiveCode. > > Martin > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Apr 2 15:12:40 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 12:12:40 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: <1333389436425-4526757.post@n4.nabble.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> Message-ID: Hi Martin, That's strange. I just tried the following test: put revDataFromQuery(,,gDBID,"SELECT * FROM t1) into tVar put return & revDataFromQuery(,,gDBID,"SELECT * FROM t1) after tVar tVar looked just like it should after the above, no blank lines. Are you using the default rowdelim character for revDataFromQuery? What platform are you on? My test was done on a Mac. Pete On Mon, Apr 2, 2012 at 10:57 AM, Martin Koob wrote: > Hi Peter > > Thanks, I just tried your suggestion. > > That still inserts blank lines into the variable that I have to filter out > later. > > It seems the revDataFromQuery does not insert an end of line character > after > the last record and > it seems that the end of line character that is used to separate lines in > the variable is not the same as the return or LF constants in LiveCode. > > Martin > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 > > -- Pete Molly's Revenge From pete at mollysrevenge.com Mon Apr 2 15:16:43 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 2 Apr 2012 12:16:43 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: <79E56440-DDA7-4E78-8931-379AC2ACF5B8@twft.com> References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> <79E56440-DDA7-4E78-8931-379AC2ACF5B8@twft.com> Message-ID: Do you mean decimal 10 or octal 10? Decimal 10 is newline (which is what I'd expect), octal 10 is backspace. Pete On Mon, Apr 2, 2012 at 12:05 PM, Bob Sneidar wrote: > I just checked to see what revDataFromQuery uses for a row delimiter by > default, if you do not provide one. It returns ascii 10, the backspace > character! Very odd. Must be an HTML thingummy. > > I then specified comma and cr as the column and row delimiters like so: > > put revDataFromQuery(comma,cr,theConnID,"select * from events") & cr > into theSQLData > put revDataFromQuery(comma,cr,theConnID,"select * from clients") & cr > after theSQLData > > This produced NO extra line that I could see. If you still get an extra > line using this method, I suspect you have a blank record in your table. > > Bob > > > On Apr 2, 2012, at 10:57 AM, Martin Koob wrote: > > > Hi Peter > > > > Thanks, I just tried your suggestion. > > > > That still inserts blank lines into the variable that I have to filter > out > > later. > > > > It seems the revDataFromQuery does not insert an end of line character > after > > the last record and > > it seems that the end of line character that is used to separate lines in > > the variable is not the same as the return or LF constants in LiveCode. > > > > Martin > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 > > -- Pete Molly's Revenge From bobs at twft.com Mon Apr 2 15:21:47 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 12:21:47 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> Message-ID: Reference my post. I think he may have a blank row in his database. Bob On Apr 2, 2012, at 12:12 PM, Pete wrote: > Hi Martin, > That's strange. I just tried the following test: > > put revDataFromQuery(,,gDBID,"SELECT * FROM t1) into tVar > put return & revDataFromQuery(,,gDBID,"SELECT * FROM t1) after tVar > > tVar looked just like it should after the above, no blank lines. > > Are you using the default rowdelim character for revDataFromQuery? What > platform are you on? My test was done on a Mac. > > Pete > > On Mon, Apr 2, 2012 at 10:57 AM, Martin Koob wrote: > >> Hi Peter >> >> Thanks, I just tried your suggestion. >> >> That still inserts blank lines into the variable that I have to filter out >> later. >> >> It seems the revDataFromQuery does not insert an end of line character >> after >> the last record and >> it seems that the end of line character that is used to separate lines in >> the variable is not the same as the return or LF constants in LiveCode. >> >> Martin >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 >> >> > > > -- > 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 livfoss at mac.com Mon Apr 2 15:59:16 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Apr 2012 21:59:16 +0200 Subject: getProp syntax query In-Reply-To: References: Message-ID: <54AADF8C-93C0-44C5-97C6-17952627C38E@mac.com> Mark, thanks for that. There is absolutely nothing of this in the LC Dictionary AFAICS, although after a search I realised that there is a very hard to read (IMHO) description on section 7.10 of the User Guide. I think at the very least a note should be added to the Dictionary entry, so I have submitted one, but I would be very happy if someone such as yourself corrects it. It seems a huge omission to me. The Dictionary should give at least the correct syntax for every type of statement. Thanks again Graham On Mon, 2 Apr 2012 13:38:06 +0200, Mark Schonewille wrote: > Hi Graham, > > The following (nonsense) example works: > > getProp foo[bar] > answer bar > return "hello world" > end foo > > setProp foo[bar] theData > answer theData > pass foo > end foo > > You can use only one index, i.e. the setProp/getProp handlers are one-dimensional. An additional parameter contains the data that the property is being set to. Use the target to find out which control's property is being set. > > -- > Best regards, > > Mark Schonewille From bobs at twft.com Mon Apr 2 16:42:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Apr 2012 13:42:40 -0700 Subject: [on-rev]Line endings for a db query In-Reply-To: References: <1333374469323-4526068.post@n4.nabble.com> <1333375928.49104.YahooMailClassic@web161604.mail.bf1.yahoo.com> <1333377617318-4526210.post@n4.nabble.com> <1333378179774-4526238.post@n4.nabble.com> <1333389436425-4526757.post@n4.nabble.com> <79E56440-DDA7-4E78-8931-379AC2ACF5B8@twft.com> Message-ID: <1418F4B0-6D95-44C6-99CD-6F04C3ED9048@twft.com> Whoops! My bad yes it's dec 12 newline. I just assumed in a list of that nature on a web site the first column would be the one the majority of people care about. :-) Bob On Apr 2, 2012, at 12:16 PM, Pete wrote: > Do you mean decimal 10 or octal 10? Decimal 10 is newline (which is what > I'd expect), octal 10 is backspace. > Pete > > On Mon, Apr 2, 2012 at 12:05 PM, Bob Sneidar wrote: > >> I just checked to see what revDataFromQuery uses for a row delimiter by >> default, if you do not provide one. It returns ascii 10, the backspace >> character! Very odd. Must be an HTML thingummy. >> >> I then specified comma and cr as the column and row delimiters like so: >> >> put revDataFromQuery(comma,cr,theConnID,"select * from events") & cr >> into theSQLData >> put revDataFromQuery(comma,cr,theConnID,"select * from clients") & cr >> after theSQLData >> >> This produced NO extra line that I could see. If you still get an extra >> line using this method, I suspect you have a blank record in your table. >> >> Bob >> >> >> On Apr 2, 2012, at 10:57 AM, Martin Koob wrote: >> >>> Hi Peter >>> >>> Thanks, I just tried your suggestion. >>> >>> That still inserts blank lines into the variable that I have to filter >> out >>> later. >>> >>> It seems the revDataFromQuery does not insert an end of line character >> after >>> the last record and >>> it seems that the end of line character that is used to separate lines in >>> the variable is not the same as the return or LF constants in LiveCode. >>> >>> Martin >>> >>> -- >>> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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 >> >> > > > -- > 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 mwieder at ahsoftware.net Mon Apr 2 18:45:07 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Apr 2012 22:45:07 +0000 (UTC) Subject: OT: mails bouncing back? References: <198356695796.20120402083107@ahsoftware.net> <094183C5-9254-4ADE-B869-2229B70D7585@me.com> Message-ID: Tim Jones writes: > It appears that OnRev uses GoDaddy services as the "secureserver.net" servers belong to them. Because of > GoDaddy's "easy" online setup, spammers / scammers are able to pop in, perform a hit-and-run with their > mail broadcast, and the security team doesn't catch it and disable the account into it's already a problem. > > It sounds to me like RunRev should examine alternate mail service providers for the OnRev solution since > secureserver.net is very deeply entrenched in the blacklists. Tim- That's exactly the problem. Using blacklists to control spam is a brute-force lowest-common-denominator approach. Unfortunately, everyone uses one of a handful of blacklist servers. It's very difficult to get an IP address off the list and very easy to get on. The short-term solution is to configure your email client to use your local smtp server instead of on-rev's. The long-term solution is, as you said, for runrev to select a different domain service. Since further development work on the on-rev hosting platform is unlikely, the long-term solution then is the same as the short-term solution. -- Mark Wieder From mcgrath3 at mac.com Mon Apr 2 21:37:56 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 02 Apr 2012 21:37:56 -0400 Subject: Location of iOS 5.0 SDK In-Reply-To: <1333372199307-4525961.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333372199307-4525961.post@n4.nabble.com> Message-ID: Mark, This will only work with LC 5.5 and above. LC 5.0.2 will only work with xCode with iOS 5.0 -- not 5.1 -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 2, 2012, at 9:09 AM, Mark Smith wrote: > Thanks Tom, unfortunately I had no luck. The exact path to Xcode 4.3.2 is > Mark Smith's Macbook Pro/Macintosh HD/Applications. Selecting that path in > prefs gives me this error msg: > > "The chosen folder is not a valid iOS SDK for 5.0 and later. It must be one > that ships with Xcode 4.2 or later." > > I'll send it to Support and see what they say. I am starting to develop a > huge aversion to anything called an upgrade > > -- Mark > > PS I should mention I am still using LC 5.0.2. That may be the problem at > this point. > > PPS Jacque, the upgrade to Lion went smoother than I thought, and apart from > the above I've not run into any other problems. I can't say there is > anything in Lion I am looking for, but windows do seem to snap open faster. > Graham, if I get this sorted out I'll post the solution. > > > Thomas McGrath III-3 wrote >> >> Mark, >> >> The new path is actually to the xCode.app in the applications folder and >> once pointed to the app itself LC will then traverse the package contents >> to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the >> /Developer anymore since LC can now build the 5.1 in the xCode.app app. >> >> >> -- Tom McGrath III >> >> > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4525961.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 Mark_Smith at cpe.umanitoba.ca Tue Apr 3 00:06:43 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 2 Apr 2012 21:06:43 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: References: <1333332546741-4524976.post@n4.nabble.com> <1333372199307-4525961.post@n4.nabble.com> Message-ID: <1333426003535-4527755.post@n4.nabble.com> Mike, Tom, all the rest... thanks for the assistance. You are correct. I did an email earlier today to Heather and she confirmed this only works in 5.5 (I feel another article for the newsletter coming on... we should not be stumbling around out here in user land trying to figure this out... anyway). However, while I've now sufficiently calmed down those who saw my recent post on the dev list will know that my first foray into LC 5.5 just about gave me a heart attack. The first time I opened my stack (the one I am currently developing) every action resulted in an error, and the whole UI was totally toast. I thought I was done for sure. Time to hang up the developer hat. Then I did something inexplicable. I closed and reopened the stack, without saving (I remember explicitly thinking... who would want to save this mess) and... it all worked. For a minute I thought I was back in 5.0.2 somehow. But I wasn't. It just worked. I still have no idea what happened, or why (which does kind of scare me). But we're back in business. I even recompiled it for iOS and it worked fine. Apparently this is the current recipe: iOS 5.1 xCode 4.3.2 OSX 10.7.3 LC 5.5 Point the mobile support preference at the xCode 4.3.2 application (which is just a clever folder in disguise) and it should work. Thanks again... you folks are the best. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4527755.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Tue Apr 3 00:14:14 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 2 Apr 2012 21:14:14 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: <4F791A01.2020601@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> Message-ID: <1333426454558-4527765.post@n4.nabble.com> J. Landman Gay wrote > > > I have purchased and downloaded Lion and have been sitting here all > weekend trying to make myself install it. I know I have to. Still don't > want to. > Jacque, I would say go for it. The current successful recipe, based on my limited experience, appears to be iOS 5.1 xCode 4.3.2 OSX 10.7.3 LC 5.5 Point the mobile support preference at the xCode 4.3.2 application (which is just a clever folder in disguise) and it should work. But be aware that the first time I opened a stack in LC 5.5 it went totally berserk on stuff that had run flawlessly before, then when I closed and reopened the stack it worked fine. I have no explanation. But I think I've had more than enough fun for one night, and will take another look at this tomorrow. What an exciting field we operate in :) -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4527765.html Sent from the Revolution - User mailing list archive at Nabble.com. From tolistim at me.com Tue Apr 3 00:19:35 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 02 Apr 2012 21:19:35 -0700 Subject: Location of iOS 5.0 SDK In-Reply-To: References: <1333332546741-4524976.post@n4.nabble.com> <1333372199307-4525961.post@n4.nabble.com> Message-ID: On Apr 2, 2012, at 6:37 PM, Thomas McGrath III wrote: > Mark, > > This will only work with LC 5.5 and above. > > LC 5.0.2 will only work with xCode with iOS 5.0 -- not 5.1 However, there is no reason that you can't build a 5.1 compatible app using LC5.0.2 and Xcode 4.2. Tim From jacque at hyperactivesw.com Tue Apr 3 01:01:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2012 00:01:14 -0500 Subject: Location of iOS 5.0 SDK In-Reply-To: <1333426454558-4527765.post@n4.nabble.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> Message-ID: <4F7A841A.5070302@hyperactivesw.com> On 4/2/12 11:14 PM, Mark Smith wrote: > Jacque, I would say go for it. The current successful recipe, based on my > limited experience, appears to be I've been keeping notes, so I think I've got the recipe down. I just don't want Lion. But everyone seems to have updated successfully so I will do it too. I was going to do it today but I didn't, and now it's getting late, so I'll...do it tomorrow. Right. Tomorrow. (Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Apr 3 06:37:56 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 03 Apr 2012 03:37:56 -0700 Subject: Paste Text Into revBrowser Field? Message-ID: Anyone know if this is possible? Paste text from the clipboard into a revBrowser form field? Currently, it only seems possible to cut text from a field -- how can one paste text? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From mcgrath3 at mac.com Tue Apr 3 07:43:32 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Apr 2012 07:43:32 -0400 Subject: Location of iOS 5.0 SDK In-Reply-To: <4F7A841A.5070302@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> Message-ID: <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> "Come on in, the waters fine." -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 3, 2012, at 1:01 AM, J. Landman Gay wrote: > On 4/2/12 11:14 PM, Mark Smith wrote: >> Jacque, I would say go for it. The current successful recipe, based on my >> limited experience, appears to be > > > > I've been keeping notes, so I think I've got the recipe down. I just don't want Lion. But everyone seems to have updated successfully so I will do it too. I was going to do it today but I didn't, and now it's getting late, so I'll...do it tomorrow. Right. Tomorrow. > > (Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Apr 3 10:19:53 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 07:19:53 -0700 Subject: OT: mails bouncing back? In-Reply-To: References: Message-ID: <4F7B0709.9040609@fourthworld.com> Pete wrote: > I got caught in this web a couple of years back (I think it was with > GoDaddy). Here's the problem I have with the blacklist sites. Their > blanket blackballing of servers means that the 99% of users who are using > it for genuine, non-spam emails get dumped on for the sins of the 1%. > Personally, I sgtrongly object to having my genuine emails blocked in this > fashion. It's illegal to tamper with the US Mail and it should be illegal > to block the delivery of genuine email as well. I've had domains caught up with sloppy blacklisting schemes myself. It's not a problem with RunRev, or their host, but with the lazy nature of a few blacklisting systems. Worse, the sloppiest blacklisters are also the most difficult to try to reason with once your machine falls onto their list. The arrogance I encountered dealing with them was beyond the most rude behavior I've seen in any other context. Living as they do in a world of false assumptions, they (at least at the time I tried to deal with them) seem to regard all request as spammers trying to get a free pass in their system, completely oblivious to the most patient and reasoned explanations of their error. They seem to presume that such an inherently faulty method is somehow beyond the ability to ever result in a false-positive, in spite of countless articles across the web explaining how that's the case, indulging themselves in the fantasy of playing some sort of romantic vigilante role, protecting the world from evildoers even if it means killing thousands of legitimate emails along the way. "If you're complaining you must be a spammer! Hey, it's just collateral damage in the noble fight against spam! You gotta be willing to break a few eggs if you want to make an omelette! Freedom isn't free! Ignorance is strength!" They're welcome to prove me wrong at any time: 1. Stop being rude to innocent people trapped by the broken system 2. Fix the broken system -- 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 tolistim at me.com Tue Apr 3 10:24:05 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 07:24:05 -0700 Subject: Location of iOS 5.0 SDK In-Reply-To: <4F7A841A.5070302@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> Message-ID: Jacque, After you update to Lion, you can install Parallels 7 and then build a Snow Leopard VM. This is what I do on my personal Mac Pro (I also have Leopard and Tiger, as well as multiple Windows and Linux versions). Another option would be to buy a firewire external HD and install Lion onto that and then dual boot your system (this is what I do with two of our iMacs. Tim On Apr 2, 2012, at 10:01 PM, J. Landman Gay wrote: > On 4/2/12 11:14 PM, Mark Smith wrote: >> Jacque, I would say go for it. The current successful recipe, based on my >> limited experience, appears to be > > > > I've been keeping notes, so I think I've got the recipe down. I just don't want Lion. But everyone seems to have updated successfully so I will do it too. I was going to do it today but I didn't, and now it's getting late, so I'll...do it tomorrow. Right. Tomorrow. > > (Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!) From ambassador at fourthworld.com Tue Apr 3 10:24:34 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 07:24:34 -0700 Subject: near feature parity In-Reply-To: References: Message-ID: <4F7B0822.4070308@fourthworld.com> Bernard Devlin wrote: > I gave up on LiveCode on Linux some years ago. > > Last week I downloaded and installed one of the v5.x installers from > my LiveCode account, and installed it on Mint Linux. As soon as I > started LiveCode, it hung. Luckily, as it started, the LiveCode > window was smaller than the monitor - as even when I started the task > killer to kill it, the task killer could not get access to any portion > of the screen in which the LiveCode window was located. > > If I'd been able to get LiveCode to work, I was prepared to pay for > Linux deployment. As I couldn't, I saved myself some money (for about > the 3rd or 4th year running). > > To my recollection, I've had trouble with LiveCode on Mint, OpenSuse > and CentOS - 3 of the top 7 distros on distrowatch.org. Have you files RQCC reports on those? If so, could you please share the URLs so I can track those? If you may be willing to give it another go, feel free to contact me offlist to try to resolve this. I've had very good luck on Ubuntu, and Mark Weider seems to do well with LC on Fedora, so while the feature- and price-parity is a bit wonky what's there should be workable. Moreover, if there's a problem with the LC engine from your system's configuration it's essential that I know that as I continue to expand my Linux deployments, since there's a chance that sooner or later one of my apps may be affected by such difficulties with a customer. -- 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 Tue Apr 3 10:27:47 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 07:27:47 -0700 Subject: LiveCode User Group: April 5, Pasadena Message-ID: <4F7B08E3.8080201@fourthworld.com> The first Thursday of each month the SoCal LiveCode User Group meets at Burger Continental in Pasadena at 7 PM - details here: Bring your questions, cool algos or projects you've been working on, and an appetite for BC's excellent burgers and Middle Eastern food. :) See ya' there - -- 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 tolistim at me.com Tue Apr 3 10:28:25 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 07:28:25 -0700 Subject: OT: mails bouncing back? In-Reply-To: <4F7B0709.9040609@fourthworld.com> References: <4F7B0709.9040609@fourthworld.com> Message-ID: <2570A6C6-1F5B-4B0B-BFBE-A5F9D6A9DA35@me.com> On Apr 3, 2012, at 7:19 AM, Richard Gaskin wrote: > I've had domains caught up with sloppy blacklisting schemes myself. > > It's not a problem with RunRev, or their host, but with the lazy nature of a few blacklisting systems. Actually, in this case, it is their host. GoDaddy needs to tighten up their "secureserver.net" environment to eliminate the spamming that occurs. Their servers are high on the list of even the most legitimate blacklist maintainers (Barracuda, for instance). This was one of the driving forces behind our moving to a VPS instead of using their shared plans. Costs extra, but no issues of this type (and they still maintain the HW). Tim From MikeKerner at roadrunner.com Tue Apr 3 10:31:37 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 3 Apr 2012 10:31:37 -0400 Subject: near feature parity In-Reply-To: <4F7B0822.4070308@fourthworld.com> References: <4F7B0822.4070308@fourthworld.com> Message-ID: I've been doing some work with LC in Ubuntu, with mixed results. The most annoying things to me are: 1) scroll bars that overlap the text field they control, with an opaque thumb and transparent guide, making the right side unreadable 2) Fonts don't seem to be rendered the same way, making layouts a pain 3) Script editor oddities - things like the menus don't match up with where I'm clicking 4) Random crashes, forcing me to save frequently. The worst part is 5) No response to bug reports from the team. It's better than nothing, and it's great that I can develop and deploy LC on all major desktop and mobile platforms, but it can be a pain. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From warren at warrensweb.us Tue Apr 3 10:58:54 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 03 Apr 2012 09:58:54 -0500 Subject: near feature parity In-Reply-To: References: <4F783ADB.40806@gmail.com> <4F7899AE.80806@fourthworld.com> Message-ID: <4F7B102E.5060102@warrensweb.us> On 04/02/2012 06:15 AM, Bernard Devlin wrote: > I gave up on LiveCode on Linux some years ago. > > Last week I downloaded and installed one of the v5.x installers from > my LiveCode account, and installed it on Mint Linux. As soon as I > started LiveCode, it hung. Luckily, as it started, the LiveCode > window was smaller than the monitor - as even when I started the task > killer to kill it, the task killer could not get access to any portion > of the screen in which the LiveCode window was located. > > If I'd been able to get LiveCode to work, I was prepared to pay for > Linux deployment. As I couldn't, I saved myself some money (for about > the 3rd or 4th year running). > > To my recollection, I've had trouble with LiveCode on Mint, OpenSuse > and CentOS - 3 of the top 7 distros on distrowatch.org. I can't even > recollect if I ever got it to work satisfactorily on Debian or Ubuntu > - I'm sure I tried. I think I might have it installed on an Ubuntu > laptop, so when I get back, I'll have a look (just to satisfy my own > belief that it was a cause worth giving up on). > > The money I saved on paying for only the minimum that I need from > Runrev bought me a new Macbook Air (a device I love, so I'm not > complaining -- even though I hate the direction in which Apple is > going). > > Bernard FWIW, I never had any trouble running Livecode under Mint 9 and 10, both 64 bit with compatibility libs installed, and 32 bit native, and have run it without any problems under openSUSE 11.4 and, currently, 12.1, 64 bit with 32 bit libs installed. Warren From ambassador at fourthworld.com Tue Apr 3 11:17:37 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 08:17:37 -0700 Subject: getProp syntax query In-Reply-To: <54AADF8C-93C0-44C5-97C6-17952627C38E@mac.com> References: <54AADF8C-93C0-44C5-97C6-17952627C38E@mac.com> Message-ID: <4F7B1491.7070908@fourthworld.com> Graham Samuel wrote: > On Mon, 2 Apr 2012 Mark Schonewille wrote: ... >> You can use only one index, i.e. the setProp/getProp handlers >> are one-dimensional. ... > Mark, thanks for that. There is absolutely nothing of this in the > LC Dictionary AFAICS, although after a search I realised that > there is a very hard to read (IMHO) description on section 7.10 > of the User Guide. I think at the very least a note should be > added to the Dictionary entry, so I have submitted one, but I > would be very happy if someone such as yourself corrects it. Or you could do that yourself, with the Comments feature. Probably a useful note to add until that Dict entry gets enhanced. In fact, it would be great to submit an RQCC request for this Dict issue, so it will be on RunRev's radar. At the heart of this is a core difference between how arrays and custom props are handled. They seem similar but have diverged in recent years: In the olden days, both LiveCode's associative arrays and the custom properties it allows in objects were parallel: they were one dimensional, and you could move data between them easily: put the customProperties of tObj into tMyArray set the customProperties of tObj to tMyArray When arrays became multi-dimensional, that made it difficult to use the same syntax to accomplish similar goals, so they created a workaround to support that which also gave rise to two new functions, arrayEncode and arrayDecode. ArrayEncode translates an array from the memory-specific hash table that drives it into a flat form that can be saved to disk. ArrayDecode translates that flattened form back into an array in memory. But since memory-mapped hash tables can't be used from disk, the format of data returned from arrayEncode is not easily traversed, requiring considerable clock cycles to translate back into an array when run though arrayDecode. In essence, what those functions do is somewhat similar to what you'd have to do if you wanted to flatten array data in a script, walking through each element and writing it out into a linear format that retains key-value association, nesting, etc. When you save an array to a custom prop, from what I'm seeing in terms of performance it seems that the array data is passed through something very similar to the internal routine used for arrayEncode, allowing that binary data to be storable, but unfortunately not in a form that's easily traversed. And since those can't be traversed using the same rapid methods that memory-based arrays use, we have no ability to use multi-dimensional array syntax to address them as properties like we do as arrays. For the long term I've submitted a request to see if we can come up with a b-tree storage method which might allow us to use the same syntax for both arrays and nested props: Make arrays and customProperties behave the same In the meantime, to access array data stored in a custom prop requires two steps, first to extract the array and then to access its nested elements: put the MyPropArray of tObj into tSomeArray put tSomeArray[1][2] into tSomeValue Note that performance of nested arrays as props is roughly on par with running data that had been saved with arrayEncode through the arrayEncode function, not nearly as fast as using a true array in a variable. So for performance-critical uses it may be helpful to extract the array early on and use it from a global, storing it back only when needed. This is a good opportunity to share a bit of geeky fun news with you folks: Kevin Miller and Ben Beaumont have generously asked Mark Waddingham to take a moment away from his very busy schedule to provide a description of the format of the data we get from arrayEncode. I had requested this because I have a few cases where I need to be able to extract a specific data element from an array stored on disk, without the overhead of reading the entire file and running it through arrayDecode. This is for a CGI where every millisecond counts, and some of the arrays I'm working with have hundreds of thousands of nested keys. To justify the time required for Mark to do this, we made a deal: Mark would provide a sparse description only sufficient to get me started so he could get back to more critical tasks, provided I take that info and flesh it out into an article for LiveCode Journal which explains the format in detail and provides a working example of how to use it. Mark came through on his end of the bargain wonderfully, providing a sample function that worked on the first level of array keys, which was enough for me to expand it to be able extract the data from any key regardless of depth. The article explaining it all is in progress now and close to done. I expect to be able to post it to LiveCode Journal by Saturday. Here's a tantalizing tidbit to whet your appetite: The sample stack I wrote for this creates a three-dimensional array with 100 items in each dimension, resulting in an arrayEncoded file with 1 million elements that's about 20 MBs on disk. The function I made from Mark's example code can extract the data from any element in that file in about 3 to 5 milliseconds. Hint: the function makes heavy use of the binaryDecode function and the seek command, both of which are explained in depth in the article and which you may find very valuable for a wide variety of uses. The seek command is a god for rapidly traversing large files easily. I look forward to sharing this with you ASAP - -- 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 Tue Apr 3 11:22:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 08:22:56 -0700 Subject: near feature parity In-Reply-To: References: Message-ID: <4F7B15D0.6080401@fourthworld.com> Mike Kerner wrote: > I've been doing some work with LC in Ubuntu, with mixed results. > > The most annoying things to me are: > 1) scroll bars that overlap the text field they control, with an opaque > thumb and transparent guide, making the right side unreadable > 2) Fonts don't seem to be rendered the same way, making layouts a pain > 3) Script editor oddities - things like the menus don't match up with where > I'm clicking > 4) Random crashes, forcing me to save frequently. > > The worst part is > 5) No response to bug reports from the team. With the pressure they have to refine the mobile feature set, don't be surprised if Linux-specific RQCC issue take a bit to show status change. It's also worth noting that the RQCC is in practice only a feeder for the tracking system they use internally, so in most cases -- regardless of affected platform -- you may not see any change there until an issue is resolved. For issues I've reported I often see them sit apparently untended, but then when a new release comes out batches of them get marked off as "Fixed" all at once. Would you mind posting the RQCC #s here? I track Linux issues since they affect an ever-greater portion of my work. Thanks - -- 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 dsc at swcp.com Tue Apr 3 11:28:11 2012 From: dsc at swcp.com (Dar Scott) Date: Tue, 3 Apr 2012 09:28:11 -0600 Subject: Location of iOS 5.0 SDK In-Reply-To: References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> Message-ID: <94AEFD4E-2FD8-421A-B414-88E283520CD3@swcp.com> I have Parallels 6 for lots of Windows, but I thought it will only let me install OS X servers on a VM, not desktops. I put OS X desktops on a rash of partitions on a firewire drive. Does Parallels 7 and Lion get around any technical and license limitations? Dar On Apr 3, 2012, at 8:24 AM, Tim Jones wrote: > Jacque, > > After you update to Lion, you can install Parallels 7 and then build a Snow Leopard VM. This is what I do on my personal Mac Pro (I also have Leopard and Tiger, as well as multiple Windows and Linux versions). > > Another option would be to buy a firewire external HD and install Lion onto that and then dual boot your system (this is what I do with two of our iMacs. > > Tim > > On Apr 2, 2012, at 10:01 PM, J. Landman Gay wrote: > >> On 4/2/12 11:14 PM, Mark Smith wrote: >>> Jacque, I would say go for it. The current successful recipe, based on my >>> limited experience, appears to be >> >> >> >> I've been keeping notes, so I think I've got the recipe down. I just don't want Lion. But everyone seems to have updated successfully so I will do it too. I was going to do it today but I didn't, and now it's getting late, so I'll...do it tomorrow. Right. Tomorrow. >> >> (Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!) > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Tue Apr 3 11:33:55 2012 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 3 Apr 2012 15:33:55 +0000 Subject: AW: AW: what to put into the standalone signature? In-Reply-To: <002101cd10b7$b2c336d0$1849a470$@de> References: <003a01cd0e5d$0be16280$23a42780$@de> <000d01cd10a8$ab39e260$01ada720$@de> <4F797401.1030003@braguglia.ch> <002101cd10b7$b2c336d0$1849a470$@de> Message-ID: <4EDC6086-EB8E-481F-BDA7-FF273DDC9266@byu.edu> Tiemo, Just a note to update. Since I wrote this article, Apple has essentially deprecated creator codes, starting with OS X 10.6 (Snow Leopard). LiveCode still supports them, but as Richmond noted, an OS X app will work just fine without one. Devin On Apr 2, 2012, at 4:02 AM, Tiemo Hollmann TB wrote: > Hi Guglielmo, > thank you for the informative link > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von Guglielmo Braguglia >> Gesendet: Montag, 2. April 2012 11:40 >> An: How to use LiveCode >> Betreff: Re: AW: what to put into the standalone signature? >> >> Hi Tiemo, >> maybe this page help to understand the 'signature' codes : >> http://revolution.byu.edu/helps/file-creatorcodes.php :-) >> >> Guglielmo Devin Asay Humanities Technology and Research Support Center Brigham Young University From coiin at verizon.net Tue Apr 3 11:36:50 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 Apr 2012 11:36:50 -0400 Subject: LiveCode User Group: April 5, Pasadena In-Reply-To: <4F7B08E3.8080201@fourthworld.com> References: <4F7B08E3.8080201@fourthworld.com> Message-ID: <574CA656-1353-44F2-B195-E9F8F7EACB15@verizon.net> Craig, should we NYC LiveCode meetups? The Olde Town miss us! From tolistim at me.com Tue Apr 3 11:39:21 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 08:39:21 -0700 Subject: Location of iOS 5.0 SDK In-Reply-To: <94AEFD4E-2FD8-421A-B414-88E283520CD3@swcp.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <94AEFD4E-2FD8-421A-B414-88E283520CD3@swcp.com> Message-ID: On Apr 3, 2012, at 8:28 AM, Dar Scott wrote: > I have Parallels 6 for lots of Windows, but I thought it will only let me install OS X servers on a VM, not desktops. I put OS X desktops on a rash of partitions on a firewire drive. Does Parallels 7 and Lion get around any technical and license limitations? Parallels 7 let's me install client versions? the only limit is that there are no Parallels Tools for Tiger, so you only get 1024x768 display. You can get around the server limitation in 6. Check the archives at afp548.com for install OS X client in Parallels. Tim From ambassador at fourthworld.com Tue Apr 3 11:40:18 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 08:40:18 -0700 Subject: OT: mails bouncing back? In-Reply-To: <2570A6C6-1F5B-4B0B-BFBE-A5F9D6A9DA35@me.com> References: <2570A6C6-1F5B-4B0B-BFBE-A5F9D6A9DA35@me.com> Message-ID: <4F7B19E2.40807@fourthworld.com> Tim Jones wrote: > On Apr 3, 2012, at 7:19 AM, Richard Gaskin wrote: > >> I've had domains caught up with sloppy blacklisting schemes myself. >> >> It's not a problem with RunRev, or their host, but with the lazy >> nature of a few blacklisting systems. > > Actually, in this case, it is their host. GoDaddy needs to tighten > up their "secureserver.net" environment to eliminate the spamming > that occurs. Their servers are high on the list of even the most > legitimate blacklist maintainers (Barracuda, for instance). I'm no fan of GoDaddy so it wouldn't surprise me if they've been willing to turn a blind eye to illegal activity to maintain that income until they're absolutely forced to do the right thing. They wouldn't be alone on this: a few years ago it was well known that some 30% of global spam was originating from three regions in Florida, but neither the feds nor the downstream providers did anything to enforce the law. Ultimately a few upstream providers got tired of carrying all that wasteful traffic and blocked it all in the backbone themselves, only after which the feds finally decided to show up for work and make an arrest. The local hosts never explained why they'd never taken care of it themselves, and sadly the reprieve was short-lived as that traffic eventually moved to the Ukraine, where it flourishes in an apparently lawless environment today. But back on topic: Blocking entire IP ranges is not a responsible way to blacklist, since it can - an inevitably does - affect legitimate users. It's simply lazy, a ham-fisted scorched-earth way to solve a problem that requires more surgical methods. In fact, it seems On-Rev.com may be a very good example of how this gets out of hand so easily, since AFAIK their servers aren't on GoDaddy at all, but on SoftLayer: And even if some accounts were host by GoDaddy, unless those specific servers are used for illegal activity there's no excuse for any responsible blacklisting service to block them. Spam is indeed a serious problem, but when attempts to stop it shut down legitimate businesses the "cure" is every bit as bad as the problem itself, arguably worse. -- 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 Tue Apr 3 11:43:34 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 08:43:34 -0700 Subject: LiveCode User Group: April 5, Pasadena In-Reply-To: <574CA656-1353-44F2-B195-E9F8F7EACB15@verizon.net> References: <574CA656-1353-44F2-B195-E9F8F7EACB15@verizon.net> Message-ID: <4F7B1AA6.3010109@fourthworld.com> Colin Holgate wrote: > Craig, should we NYC LiveCode meetups? The Olde Town miss us! I would strongly encourage any and all regional get-togethers. They've been a lot of fun for us here in SoCal, and I've learned a lot from them and made a few new friends along the way. You may want to post a note in this section of the forums Heather added to encourage this sort of thing: User Groups and Gatherings -- 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 tolistim at me.com Tue Apr 3 11:48:21 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 08:48:21 -0700 Subject: OT: mails bouncing back? In-Reply-To: <4F7B19E2.40807@fourthworld.com> References: <2570A6C6-1F5B-4B0B-BFBE-A5F9D6A9DA35@me.com> <4F7B19E2.40807@fourthworld.com> Message-ID: <5651344F-8F92-4D9A-85DF-1EC97FA48E19@me.com> On Apr 3, 2012, at 8:40 AM, Richard Gaskin wrote: > Blocking entire IP ranges is not a responsible way to blacklist, since it can - an inevitably does - affect legitimate users. It's simply lazy, a ham-fisted scorched-earth way to solve a problem that requires more surgical methods. > > In fact, it seems On-Rev.com may be a very good example of how this gets out of hand so easily, since AFAIK their servers aren't on GoDaddy at all, but on SoftLayer: > > > > And even if some accounts were host by GoDaddy, unless those specific servers are used for illegal activity there's no excuse for any responsible blacklisting service to block them. In the case of secureserver.net, the blacklists don't block on the IP in this case, but on the domain. That's why you don't have issues with your OnRev site, but only with mail sent FROM the site. The idea is to cause enough pain for GoDaddy to get something done. I don't like it or agree with it, but I can see the logic? As for GoDaddy otherwise, we've had a very successful run with them for over 5 years since we moved to the VPS structure. It's great to be in complete control of our server with none of the maintenance headaches. We even run a BRU Server client on the VPS and backup everything as part of our normal, daily corporate backups. Tim From pete at mollysrevenge.com Tue Apr 3 12:08:15 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 3 Apr 2012 09:08:15 -0700 Subject: OT: mails bouncing back? In-Reply-To: <4F7B19E2.40807@fourthworld.com> References: <2570A6C6-1F5B-4B0B-BFBE-A5F9D6A9DA35@me.com> <4F7B19E2.40807@fourthworld.com> Message-ID: What Richard said! However, it's ironic that I became aware of Livecode through one of these blacklistsing incidents. I was a memebre of a forum for one of the blacklisting sites and Heather put a post on there becaue the RunRev serevers were blacklisted there too. We exchanged emails about the problem, I noticed the product and bought it. So sometimes, there really are silver linings! Pete On Tue, Apr 3, 2012 at 8:40 AM, Richard Gaskin wrote: > Tim Jones wrote: > > > On Apr 3, 2012, at 7:19 AM, Richard Gaskin wrote: > > > >> I've had domains caught up with sloppy blacklisting schemes myself. > >> > >> It's not a problem with RunRev, or their host, but with the lazy > >> nature of a few blacklisting systems. > > > > Actually, in this case, it is their host. GoDaddy needs to tighten > > up their "secureserver.net" environment to eliminate the spamming > > that occurs. Their servers are high on the list of even the most > > legitimate blacklist maintainers (Barracuda, for instance). > > I'm no fan of GoDaddy so it wouldn't surprise me if they've been willing > to turn a blind eye to illegal activity to maintain that income until > they're absolutely forced to do the right thing. > > They wouldn't be alone on this: a few years ago it was well known that > some 30% of global spam was originating from three regions in Florida, but > neither the feds nor the downstream providers did anything to enforce the > law. Ultimately a few upstream providers got tired of carrying all that > wasteful traffic and blocked it all in the backbone themselves, only after > which the feds finally decided to show up for work and make an arrest. The > local hosts never explained why they'd never taken care of it themselves, > and sadly the reprieve was short-lived as that traffic eventually moved to > the Ukraine, where it flourishes in an apparently lawless environment today. > > But back on topic: > > Blocking entire IP ranges is not a responsible way to blacklist, since it > can - an inevitably does - affect legitimate users. It's simply lazy, a > ham-fisted scorched-earth way to solve a problem that requires more > surgical methods. > > In fact, it seems On-Rev.com may be a very good example of how this gets > out of hand so easily, since AFAIK their servers aren't on GoDaddy at all, > but on SoftLayer: > > > > > > And even if some accounts were host by GoDaddy, unless those specific > servers are used for illegal activity there's no excuse for any responsible > blacklisting service to block them. > > Spam is indeed a serious problem, but when attempts to stop it shut down > legitimate businesses the "cure" is every bit as bad as the problem itself, > arguably worse. > > > -- > 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 > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Tue Apr 3 12:40:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2012 11:40:01 -0500 Subject: Location of iOS 5.0 SDK In-Reply-To: References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> Message-ID: <4F7B27E1.4020007@hyperactivesw.com> On 4/3/12 9:24 AM, Tim Jones wrote: > Jacque, > > After you update to Lion, you can install Parallels 7 and then build > a Snow Leopard VM. This is what I do on my personal Mac Pro (I also > have Leopard and Tiger, as well as multiple Windows and Linux > versions). I'm going to keep Snow Leopard on my old MacBook. I already have Parallels and I hadn't thought of that approach, but it's a good idea and I may do that as well. > > Another option would be to buy a firewire external HD and install > Lion onto that and then dual boot your system (this is what I do with > two of our iMacs. Last week I went through an amazing number of hoops to do that and made a partition on an external drive intending to dual-boot. But it occured to me that I'd need to reset Time Machine, duplicate all my settings, etc. and in the long run I decided not to. I'm going to push the button today. Really. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Tue Apr 3 12:42:42 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 3 Apr 2012 12:42:42 -0400 (EDT) Subject: LiveCode User Group: April 5, Pasadena In-Reply-To: <574CA656-1353-44F2-B195-E9F8F7EACB15@verizon.net> References: <4F7B08E3.8080201@fourthworld.com> <574CA656-1353-44F2-B195-E9F8F7EACB15@verizon.net> Message-ID: <8CEDFCFEC2D05CC-1918-25D1@web-mmc-d05.sysops.aol.com> Colin. I would be glad to do this again with you. Are there enough people around to make it happen? Kate is still here. Wasn't there a map that showed the locations of forum or list members? Craig -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Tue, Apr 3, 2012 11:37 am Subject: Re: LiveCode User Group: April 5, Pasadena Craig, should we NYC LiveCode meetups? The Olde Town miss us! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Apr 3 12:45:34 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 3 Apr 2012 12:45:34 -0400 (EDT) Subject: LiveCode User Group: April 5, Pasadena In-Reply-To: <4F7B08E3.8080201@fourthworld.com> References: <4F7B08E3.8080201@fourthworld.com> Message-ID: <8CEDFD052350089-1918-262A@web-mmc-d05.sysops.aol.com> Richard. Colin and I used to run the HC user group in NYC back in the pleistocene. He thinks we might start an LC group. How many people show up for yours, on average? Craig -----Original Message----- From: Richard Gaskin To: How to use LiveCode Sent: Tue, Apr 3, 2012 10:31 am Subject: LiveCode User Group: April 5, Pasadena The first Thursday of each month the SoCal LiveCode User Group meets at Burger Continental in Pasadena at 7 PM - details here: Bring your questions, cool algos or projects you've been working on, and an appetite for BC's excellent burgers and Middle Eastern food. :) See ya' there - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Apr 3 12:54:01 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 09:54:01 -0700 Subject: LiveCode User Group: April 5, Pasadena In-Reply-To: <8CEDFD052350089-1918-262A@web-mmc-d05.sysops.aol.com> References: <8CEDFD052350089-1918-262A@web-mmc-d05.sysops.aol.com> Message-ID: <4F7B2B29.9070705@fourthworld.com> dunbarx wrote: > Colin and I used to run the HC user group in NYC back in the > pleistocene. He thinks we might start an LC group. How many > people show up for yours, on average? In the olden days we had less frequent meetings in a more central location which usually turned up between 8 and 12 people. But those were hard to organize and the group went into a haitus for a while, and to get back on track we now have more regular monthly meetings in a location that's easy for regulars to get to but doesn't have the freeway access so needed in LA LA land. So now we get between 6 and 8, sometimes more, and while it's a smaller group it also lends itself very well to good discussion. -- 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 mwieder at ahsoftware.net Tue Apr 3 13:11:25 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Apr 2012 10:11:25 -0700 Subject: near feature parity In-Reply-To: <4F7B102E.5060102@warrensweb.us> References: <4F783ADB.40806@gmail.com> <4F7899AE.80806@fourthworld.com> <4F7B102E.5060102@warrensweb.us> Message-ID: <44449114140.20120403101125@ahsoftware.net> Warren- Tuesday, April 3, 2012, 7:58:54 AM, you wrote: > FWIW, I never had any trouble running Livecode under Mint 9 and 10, both > 64 bit with compatibility libs installed, and 32 bit native, and have > run it without any problems under openSUSE 11.4 and, currently, 12.1, 64 > bit with 32 bit libs installed. (taking the middle road here) I had a *lot* of trouble running the linux build in the past, but it settled down with recent builds, got faster and more responsive and I now use it every day. Still would be nice to have feature parity and not cost *more* than the other platforms. That's just insulting. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Apr 3 13:15:31 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Apr 2012 10:15:31 -0700 Subject: near feature parity In-Reply-To: References: <4F7B0822.4070308@fourthworld.com> Message-ID: <179449359968.20120403101531@ahsoftware.net> Mike- Tuesday, April 3, 2012, 7:31:37 AM, you wrote: > The worst part is > 5) No response to bug reports from the team. I almost *always* get responses to bug reports. They may not get acted on right away (or ever), but at least I know that someone has noticed and one of confirmed, couldn't reproduce, or needs more info. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Tue Apr 3 13:24:06 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Apr 2012 20:24:06 +0300 Subject: near feature parity In-Reply-To: <4F7B0822.4070308@fourthworld.com> References: <4F7B0822.4070308@fourthworld.com> Message-ID: <4F7B3236.7020906@gmail.com> I have had nothing but 2 small "grunts" with my experience with Livecode 4.5 on Ubuntu, ZevenOS, Mint and various other Debian derivatives. 1. The 'hole' created by Livecode's dependency on Quicktime. 2. Characters in a Unicode-enabled textfield aren't visible (this is quite a big grunt in my case). I should also point out that I have been making and running standalones using version 2.2.1 which was given away free by Novell in my EFL school for some 7 years with not a single glitch. All of those standalones are deployed on Pentium 4's currently running Ubuntu 11.04, and were, in the past, deployed on Pentium 3's running Ubuntu 5.10. Quite a few of these programs have leveraged MP3 files stored in a designated folder in the Home directory using explicit paths. I have created some groovy effects using animated GIF images. Standalones created in the new (as opposed to the "new-new", i.e. post 5.5) format using LC 4.5 won't run on boxes running Ubuntu 5.10; in cases where I needed to run standalones on machines running Ubuntu <8.04 developed using LC 4.5 I have had to save the source stacks in 'legacy' format and build from them with RR 2.2.1. However, all my standalones have been deployed for a reason which Runtime Revolution (the company) are not very good at addressing: educational content delivery and reinforcement; so, as to reaching out onto the internet, communicating with a server, and so on, I really cannot say anything. Certainly, as far as I have used LC in the context of my EFL school I have nothing but the highest praise. My main grunt is with my desire to deploy a version of my Devawriter Pro un Linux; but have not worked out how to get Unicode glyphs to show up properly in Unicode-enabled textfields. ------------------------- I have carefully qualified that all my work with LC+Linux has been with Debian derivatives, for the very simple reason that that is the truth; so I really wouldn't want my findings being thought of as applicable to other types of Linux. ------------------------ Of course the pricing descrepancy is disgraceful. Of course this can also act as a self-fulfilling prophecy; as fewer people buy the LC package for Linux fewer resources will be devoted to developing it; but as the Linux package is effectively twice as expensive as the Mac & Win ones, fewer people are likely to buy it. Richmond Mathewson. From richmondmathewson at gmail.com Tue Apr 3 13:25:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Apr 2012 20:25:18 +0300 Subject: near feature parity In-Reply-To: <4F7B102E.5060102@warrensweb.us> References: <4F783ADB.40806@gmail.com> <4F7899AE.80806@fourthworld.com> <4F7B102E.5060102@warrensweb.us> Message-ID: <4F7B327E.1040109@gmail.com> On 04/03/2012 05:58 PM, Warren Samples wrote: > > FWIW, I never had any trouble running Livecode under Mint 9 and 10, > both 64 bit with compatibility libs installed, and 32 bit native, and > have run it without any problems under openSUSE 11.4 and, currently, > 12.1, 64 bit with 32 bit libs installed. > > Warren > That's good to hear . . . :) From richmondmathewson at gmail.com Tue Apr 3 13:26:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Apr 2012 20:26:32 +0300 Subject: near feature parity In-Reply-To: <4F7B15D0.6080401@fourthworld.com> References: <4F7B15D0.6080401@fourthworld.com> Message-ID: <4F7B32C8.4060003@gmail.com> > > Would you mind posting the RQCC #s here? I track Linux issues since > they affect an ever-greater portion of my work. > > Thanks - > > -- > Richard Gaskin Gladly, if you could tell me where "here" is . . . :) From richmondmathewson at gmail.com Tue Apr 3 13:28:37 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Apr 2012 20:28:37 +0300 Subject: near feature parity In-Reply-To: <179449359968.20120403101531@ahsoftware.net> References: <4F7B0822.4070308@fourthworld.com> <179449359968.20120403101531@ahsoftware.net> Message-ID: <4F7B3345.7020703@gmail.com> On 04/03/2012 08:15 PM, Mark Wieder wrote: > Mike- > > Tuesday, April 3, 2012, 7:31:37 AM, you wrote: > >> The worst part is >> 5) No response to bug reports from the team. > I almost *always* get responses to bug reports. They may not get acted > on right away (or ever), but at least I know that someone has noticed > and one of confirmed, couldn't reproduce, or needs more info. > Personally I keep my bugs to myself; nobody likes a chap who scratches in public all that much. Oops . . . did I get something wrong there? LOL! From dam-pro.girard at laposte.net Tue Apr 3 13:51:08 2012 From: dam-pro.girard at laposte.net (Damien Girard) Date: Tue, 3 Apr 2012 19:51:08 +0200 Subject: [ANN] DataTree 2.0 Beta 1 Message-ID: <000001cd11c2$5b7256c0$12570440$@laposte.net> Dear LiveCode users, I am pleased to announce you the release of DataTree 2.0 Beta 1. DataTree 2.0 has a lot of new exciting features: - Dramatic performance improvements - Checkboxes - Drag and drop - Badges (eg. Number of unread mails) - Tooltips - Improved scrolling - Windows 7/MacOS X 10.6 themes. - And many more... You can now try DataTree 2.0 Beta 1 by downloading it at: URL: http://www.nativesoft.net/downloads/NativeSoft_Web_Installer.rev -> How to upgrade from DataTree 1.x: Please save a copy of your stacks before doing anything, then remove the substack "Data Tree Library" from your application. Please read the section "Putting the library into use" of the DataTree 2.0 user manual in order to get started quickly. -> Note for NativeDoc 2.0 users: You have to update NativeDoc to version 2.0.1 with the NativeSoft Web Installer in order to use DataTree 2.0 Beta. -> Bug reports As a user component must be bug-free, this is why there is this beta. Please try it with your applications and if you find any bugs please report them to: NativeSoft Quality Center: http://quality.nativesoft.net Best Regards, Damien Girard NativeSoft France | LiveCode solutions. www.nativesoft.fr From warren at warrensweb.us Tue Apr 3 13:55:32 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 03 Apr 2012 12:55:32 -0500 Subject: near feature parity In-Reply-To: <44449114140.20120403101125@ahsoftware.net> References: <4F783ADB.40806@gmail.com> <4F7899AE.80806@fourthworld.com> <4F7B102E.5060102@warrensweb.us> <44449114140.20120403101125@ahsoftware.net> Message-ID: <4F7B3994.4010201@warrensweb.us> On 04/03/2012 12:11 PM, Mark Wieder wrote: > Still would be nice to have feature parity and not cost*more* than > the other platforms. That's just insulting. > > -- -Mark Wieder mwieder at ahsoftware.net :) I agree with this entirely. I haven't been running Livecode under Linux for all that long, no earlier than v4.(something), but I just felt that Bernard's post could be unnecessarily discouraging to those who might otherwise give it a try. My motive for posting was to provide some counterbalance to that. Not to dismiss the problems and inconvenience caused by the known issues and relatively lacking features, it does work and works mostly well (in all *my* experience), within the limitations imposed by these missing features and known issues. Warren From MikeKerner at roadrunner.com Tue Apr 3 13:55:27 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 3 Apr 2012 13:55:27 -0400 Subject: near feature parity In-Reply-To: <4F7B3345.7020703@gmail.com> References: <4F7B0822.4070308@fourthworld.com> <179449359968.20120403101531@ahsoftware.net> <4F7B3345.7020703@gmail.com> Message-ID: Let me correct that on "no response". That isn't really correct. It's more like "no action". I do get responses most of the time, generally confirming what I'm seeing. It's the next step - putting things on the priority list that is more the problem. I agree that the priority should be more on the mobile platforms, and I hope that is the plan. I probably did not say strongly enough that I appreciate having any sort of Linux option. From mwieder at ahsoftware.net Tue Apr 3 14:20:22 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Apr 2012 11:20:22 -0700 Subject: Iron Sky 04/04 Message-ID: <139453251531.20120403112022@ahsoftware.net> Richard- Looks like more going on 04/04 than Fourth World's anniversary... http://www.ironsky.net -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Apr 3 14:24:13 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Apr 2012 11:24:13 -0700 Subject: Iron Sky 04/04 In-Reply-To: <139453251531.20120403112022@ahsoftware.net> References: <139453251531.20120403112022@ahsoftware.net> Message-ID: <114453482187.20120403112413@ahsoftware.net> Oops. Ignore this. Sent it to the list by accident. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Tue Apr 3 14:24:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2012 11:24:13 -0700 Subject: Iron Sky 04/04 In-Reply-To: <139453251531.20120403112022@ahsoftware.net> References: <139453251531.20120403112022@ahsoftware.net> Message-ID: <4F7B404D.9000806@fourthworld.com> Mark Wieder wrote: > Richard- > > Looks like more going on 04/04 than Fourth World's anniversary... > > http://www.ironsky.net Saving the solar system from Nazi invasion is just another day's work here at Fourth World.... :) -- 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 bobs at twft.com Tue Apr 3 14:34:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 Apr 2012 11:34:56 -0700 Subject: Iron Sky 04/04 In-Reply-To: <114453482187.20120403112413@ahsoftware.net> References: <139453251531.20120403112022@ahsoftware.net> <114453482187.20120403112413@ahsoftware.net> Message-ID: <450F2BFC-12BD-435F-B129-1B6008AEC9B1@twft.com> Hey, I wrote a World Destruction stack for these guys once! Was that a bad thing? Bob On Apr 3, 2012, at 11:24 AM, Mark Wieder wrote: > Oops. Ignore this. Sent it to the list by accident. > > -- > -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 richmondmathewson at gmail.com Tue Apr 3 14:36:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Apr 2012 21:36:26 +0300 Subject: Iron Sky 04/04 In-Reply-To: <139453251531.20120403112022@ahsoftware.net> References: <139453251531.20120403112022@ahsoftware.net> Message-ID: <4F7B432A.8030802@gmail.com> On 04/03/2012 09:20 PM, Mark Wieder wrote: > Richard- > > Looks like more going on 04/04 than Fourth World's anniversary... > > http://www.ironsky.net > Looks plain juvenile, and very little else; cowboy Sarah Palin versus Injun Nazis. Count me out. From userev at canelasoftware.com Tue Apr 3 14:50:25 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 3 Apr 2012 11:50:25 -0700 Subject: getProp syntax query In-Reply-To: <4F7B1491.7070908@fourthworld.com> References: <54AADF8C-93C0-44C5-97C6-17952627C38E@mac.com> <4F7B1491.7070908@fourthworld.com> Message-ID: <26BCCF66-1DDF-465B-B1DE-554967483E28@canelasoftware.com> On Apr 3, 2012, at 8:17 AM, Richard Gaskin wrote: > ...Mark came through on his end of the bargain wonderfully, providing a sample function that worked on the first level of array keys, which was enough for me to expand it to be able extract the data from any key regardless of depth. > > The article explaining it all is in progress now and close to done. I expect to be able to post it to LiveCode Journal by Saturday. > > Here's a tantalizing tidbit to whet your appetite: > > The sample stack I wrote for this creates a three-dimensional array with 100 items in each dimension, resulting in an arrayEncoded file with 1 million elements that's about 20 MBs on disk. > > The function I made from Mark's example code can extract the data from any element in that file in about 3 to 5 milliseconds. > > Hint: the function makes heavy use of the binaryDecode function and the seek command, both of which are explained in depth in the article and which you may find very valuable for a wide variety of uses. The seek command is a god for rapidly traversing large files easily. > > I look forward to sharing this with you ASAP - Cool stuff. Can't wait to read your article. Best regards, Mark Talluto http://www.canelasoftware.com From coiin at verizon.net Tue Apr 3 14:58:37 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 Apr 2012 14:58:37 -0400 Subject: Iron Sky 04/04 In-Reply-To: <4F7B404D.9000806@fourthworld.com> References: <139453251531.20120403112022@ahsoftware.net> <4F7B404D.9000806@fourthworld.com> Message-ID: <6F70F7C5-8715-4750-AF34-EEBFE3C9DFAA@verizon.net> Use the 4s, Mark. On Apr 3, 2012, at 2:24 PM, Richard Gaskin wrote: >> Looks like more going on 04/04 than Fourth World's anniversary... >> >> http://www.ironsky.net > > Saving the solar system from Nazi invasion is just another day's work here at Fourth World.... From tolistim at me.com Tue Apr 3 15:07:31 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 12:07:31 -0700 Subject: Iron Sky 04/04 In-Reply-To: <6F70F7C5-8715-4750-AF34-EEBFE3C9DFAA@verizon.net> References: <139453251531.20120403112022@ahsoftware.net> <4F7B404D.9000806@fourthworld.com> <6F70F7C5-8715-4750-AF34-EEBFE3C9DFAA@verizon.net> Message-ID: But ? be careful of the dark side of the 4s. (we're not really doing this, are we?) On Apr 3, 2012, at 11:58 AM, Colin Holgate wrote: > Use the 4s, Mark. > > > On Apr 3, 2012, at 2:24 PM, Richard Gaskin wrote: > >>> Looks like more going on 04/04 than Fourth World's anniversary... >>> >>> http://www.ironsky.net >> >> Saving the solar system from Nazi invasion is just another day's work here at Fourth World.... From jacque at hyperactivesw.com Tue Apr 3 15:13:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2012 14:13:58 -0500 Subject: Iron Sky 04/04 In-Reply-To: <6F70F7C5-8715-4750-AF34-EEBFE3C9DFAA@verizon.net> References: <139453251531.20120403112022@ahsoftware.net> <4F7B404D.9000806@fourthworld.com> <6F70F7C5-8715-4750-AF34-EEBFE3C9DFAA@verizon.net> Message-ID: <4F7B4BF6.5040902@hyperactivesw.com> On 4/3/12 1:58 PM, Colin Holgate wrote: > Use the 4s, Mark. Ewww.... :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 3 15:14:45 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2012 14:14:45 -0500 Subject: Location of iOS 5.0 SDK In-Reply-To: <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> Message-ID: <4F7B4C25.4080806@hyperactivesw.com> On 4/3/12 6:43 AM, Thomas McGrath III wrote: > "Come on in, the waters fine." I did it. I am speaking to you from the Lion's den. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tolistim at me.com Tue Apr 3 15:24:23 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 03 Apr 2012 12:24:23 -0700 Subject: Location of iOS 5.0 SDK In-Reply-To: <4F7B4C25.4080806@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> <4F7B4C25.4080806@hyperactivesw.com> Message-ID: <5E8BEAC1-7410-484B-9B95-E6977C58C62C@me.com> Next purchase - Magic Track Pad! Tim On Apr 3, 2012, at 12:14 PM, J. Landman Gay wrote: > On 4/3/12 6:43 AM, Thomas McGrath III wrote: >> "Come on in, the waters fine." > > I did it. I am speaking to you from the Lion's den. From rdimola at evergreeninfo.net Tue Apr 3 15:39:25 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 3 Apr 2012 15:39:25 -0400 Subject: Location of iOS 5.0 SDK In-Reply-To: <5E8BEAC1-7410-484B-9B95-E6977C58C62C@me.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> <4F7B4C25.4080806@hyperactivesw.com> <5E8BEAC1-7410-484B-9B95-E6977C58C62C@me.com> Message-ID: <010b01cd11d1$7a6d4170$6f47c450$@net> Thanks for the info you all!!!! I'm going into the den. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Tim Jones Sent: Tuesday, April 03, 2012 3:24 PM To: How to use LiveCode Subject: Re: Location of iOS 5.0 SDK Next purchase - Magic Track Pad! Tim On Apr 3, 2012, at 12:14 PM, J. Landman Gay wrote: > On 4/3/12 6:43 AM, Thomas McGrath III wrote: >> "Come on in, the waters fine." > > I did it. I am speaking to you from the Lion's den. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 3 15:42:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2012 14:42:37 -0500 Subject: Location of iOS 5.0 SDK In-Reply-To: <5E8BEAC1-7410-484B-9B95-E6977C58C62C@me.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> <4F7B4C25.4080806@hyperactivesw.com> <5E8BEAC1-7410-484B-9B95-E6977C58C62C@me.com> Message-ID: <4F7B52AD.2000200@hyperactivesw.com> On 4/3/12 2:24 PM, Tim Jones wrote: > Next purchase - Magic Track Pad! Got it already, but my old mouse is more precise. It put a lot of ugly junk in my dock. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From iangmcknight at gmail.com Tue Apr 3 15:50:26 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Tue, 3 Apr 2012 20:50:26 +0100 Subject: Printing anomoly between pdf and printed output Message-ID: Hi I have a stack which analyses data and displays the results in two simple table fields. These are placed on a hidden card 575w x 800h for printing to A4 paper or pdf. These table fields are locked and have both vertical and horizontal lines showing. Everything works as it should except that table fields are different on the printed output and the pdf. The pdf is very accurate however the printed table has extra vertical lines on both the extreme left and right of the table. It's as if the table now has a column to the left of my first column (which is partially printed) and an extra very narrow column on the extreme right. I have tried printing with the table 'ungrouped', I've tried turning the lines on and off to see if this reset makes any difference but no change. Can anyone shed some light on this? Its really more of an annoyance than anything else as both outputs are perfectly useable. I would just like to know why I get these artefacts and what I can do, if anything, to remove them Thanks. -- Regards Ian McKnight iangmcknight at gmail.com ======================= From peterwawood at gmail.com Tue Apr 3 22:24:18 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 4 Apr 2012 10:24:18 +0800 Subject: Getting Text from another open application window In-Reply-To: References: <394892401.510117.1327339701827.JavaMail.root@md01.topaz.synacor.com> <000d01ccda0a$80f1f350$82d5d9f0$@tesco.net> Message-ID: <698F70AF-F530-4F1F-AB9C-9D287D09DDFD@gmail.com> Sorry for the delayed reply, just catching up with my mail. It is possible to get text from a window displayed by another applications under Windows as long as the application is using the standard Windows GUI APIs to display data. Doing so requires making calls to the Windows System API so I believe would require a LiveCode external to be written to wrap the Windows System API calls. Regards Peter On 24 Jan 2012, at 06:41, stephen barncard wrote: > I don't think any application can do that without an API. > > On 23 January 2012 12:06, Camm wrote: > >> It a Windows based app. >> The machine is standalone and has no external data connections. >> It could be possible via the SDK , but that would mean writing externals. >> Are we saying that livecode cannot get text from other displayed window ? >> >> Best Regards >> Camm >> >> >> > 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 Mark_Smith at cpe.umanitoba.ca Wed Apr 4 00:50:15 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 3 Apr 2012 21:50:15 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: <4F7B4C25.4080806@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> <4F7B4C25.4080806@hyperactivesw.com> Message-ID: <1333515015092-4530940.post@n4.nabble.com> J. Landman Gay wrote > > > I did it. I am speaking to you from the Lion's den. > > -- > Jacqueline Landman Gay | jacque@ > To the sound of applause heard in the background :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4530940.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Apr 4 00:50:16 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 3 Apr 2012 21:50:16 -0700 (PDT) Subject: Location of iOS 5.0 SDK In-Reply-To: <4F7B4C25.4080806@hyperactivesw.com> References: <1333332546741-4524976.post@n4.nabble.com> <1333333690537-4525009.post@n4.nabble.com> <4F791A01.2020601@hyperactivesw.com> <1333426454558-4527765.post@n4.nabble.com> <4F7A841A.5070302@hyperactivesw.com> <9DA1AED9-E4E5-4513-90F0-49C3C543672D@mac.com> <4F7B4C25.4080806@hyperactivesw.com> Message-ID: <1333515016078-4530941.post@n4.nabble.com> J. Landman Gay wrote > > > I did it. I am speaking to you from the Lion's den. > > -- > Jacqueline Landman Gay | jacque@ > To the sound of applause heard in the background :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4530941.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Wed Apr 4 05:59:48 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Apr 2012 11:59:48 +0200 Subject: Visual effect push left broken in LC 5.5 GM3? Message-ID: Hi there, I am testing my next iOS app on my iPad and I am noticing a strange thing. 'Visual effect push left' shows the effect then stops and shows the next card (the card doesn't slide in). I just use: on mouseup visual effect push left go cd "choice" end mouse up The code is on a grouped image and field. I copied the code to a new button but the same thing happens. On another image I use: 'visual effect push right' and that works fine. Even more strange is that on another card the same code (visual effect push left) works just fine on a transparent button. I am using LC 5.5 GM3 en my iPad is on iOS 5.1 That stack was earlier made with LC 5.02 and the effect was fine on other apps. The iPad Simulator 5.1 shows the same thing. Is this a bug? Or is this due to the new field? Anyone else having the same thing? greetings, William From dixonja at hotmail.co.uk Wed Apr 4 06:50:55 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 4 Apr 2012 11:50:55 +0100 Subject: Visual effect push left broken in LC 5.5 GM3? In-Reply-To: References: Message-ID: William ... try something like this... have a look at 'lock screen' and 'visual effects' in the dictionary, I can't remember if this was in the iOS release notes as well, but the syntax has changed. This is fine for me in 5.5... lock screen for visual effect go next card unlock screen with push left very fast Dixie > I am testing my next iOS app on my iPad and I am noticing a strange thing. > 'Visual effect push left' shows the effect then stops and shows the > next card (the card doesn't slide in). > I just use: > on mouseup > visual effect push left > go cd "choice" > end mouse up > > The code is on a grouped image and field. > I copied the code to a new button but the same thing happens. > On another image I use: 'visual effect push right' and that works fine. > Even more strange is that on another card the same code (visual effect > push left) works just fine on a transparent button. > > I am using LC 5.5 GM3 en my iPad is on iOS 5.1 That stack was earlier > made with LC 5.02 and the effect was fine on other apps. > The iPad Simulator 5.1 shows the same thing. > > Is this a bug? Or is this due to the new field? > Anyone else having the same thing? > > > greetings, > > William > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Wed Apr 4 07:46:05 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Apr 2012 13:46:05 +0200 Subject: Visual effect push left broken in LC 5.5 GM3? In-Reply-To: References: Message-ID: Hi John, Thanks for your suggestion. It works now! greetings, William 2012/4/4 John Dixon : > > > ? ? ?William ... > > try something like this... have a look at 'lock screen' and 'visual effects' in the dictionary, I can't remember if this was in the iOS release notes as well, but the syntax has changed. This is fine for me in 5.5... > > ? ? ?lock screen for visual effect > ? ? ?go next card > ? ? ?unlock screen with push left very fast > > Dixie > > >> I am testing my next iOS app on my iPad and I am noticing a strange thing. >> 'Visual effect push left' shows the effect then stops and shows the >> next card (the card doesn't slide in). >> I just use: >> on mouseup >> visual effect push left >> go cd "choice" >> end mouse up >> >> The code is on a grouped image and field. >> I copied the code to a new button but the same thing happens. >> On another image I use: 'visual effect push right' and that works fine. >> Even more strange is that on another card the same code (visual effect >> push left) works just fine on a transparent button. >> >> I am using LC 5.5 GM3 en my iPad is on iOS 5.1 That stack was earlier >> made with LC 5.02 and the effect was fine on other apps. >> The iPad Simulator 5.1 shows the same thing. >> >> Is this a bug? Or is this due to the new field? >> Anyone else having the same thing? >> >> >> greetings, >> >> William >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 08:21:13 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 04 Apr 2012 14:21:13 +0200 Subject: LC 5.5 stability? Message-ID: I am getting lots of hangs and crashes while trying to develop an iOS app on my Mac (with Lion 10.7.3). The version of LC 5.5 is 1479. The hangs seem to be when I do stuff in the IDE, and the crashes when I run my own scripts. One crash was caused by an attempt to set the layer of a background on a card other than 'this' card, which may be illegal (why?) but shouldn't have caused a crash. I wonder if anyone else is having this experience, or whether it's just something in my setup. If others report similar experiences, I will try to get a couple of recipes to send to RR Support. Graham From richmondmathewson at gmail.com Wed Apr 4 10:35:21 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 17:35:21 +0300 Subject: [OT] HyperNext Android Creator Message-ID: <4F7C5C29.8090004@gmail.com> I've never quite made my mind up about HyperNext, and really wonder whether it is worth the investment of learning a new programming language. Still, it is FREE: http://tigabyte.com/ and worth a look (more than Danton's head, and less bloody). From userev at canelasoftware.com Wed Apr 4 11:27:29 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 4 Apr 2012 08:27:29 -0700 Subject: LC 5.5 stability? In-Reply-To: References: Message-ID: On Apr 4, 2012, at 5:21 AM, Graham Samuel wrote: > I am getting lots of hangs and crashes while trying to develop an iOS app on my Mac (with Lion 10.7.3). The version of LC 5.5 is 1479. The hangs seem to be when I do stuff in the IDE, and the crashes when I run my own scripts. One crash was caused by an attempt to set the layer of a background on a card other than 'this' card, which may be illegal (why?) but shouldn't have caused a crash. > > I wonder if anyone else is having this experience, or whether it's just something in my setup. If others report similar experiences, I will try to get a couple of recipes to send to RR Support. Hi Graham, I am seeing a lot of strange slow downs as well. I too am trying to come up with a good recipe to demonstrate the issue. It seems very random at the moment. I get them most often when I save and then try to access a LC menu item. If I let it sit for up to a minute, LC usually recovers and works until the next time it happens. I have tried turning off all my plugins to see if that helps. The jury is still out on that one. Best regards, Mark Talluto http://www.canelasoftware.com From roger at consensii.com Wed Apr 4 11:29:31 2012 From: roger at consensii.com (Roger B. Marks) Date: Wed, 4 Apr 2012 09:29:31 -0600 Subject: alternative libURL functionality on Server Message-ID: Back in January, I asked LiveCode why I can't get the libURL library to function on the Server, even though the documentation says that it is supported. The answer was that the documentation needs to be corrected to show that libURL library is not supported on the Server. [I'm withholding comment on how I feel about this.] The key current implication for me is that I can't find a way to have the server retrieve data from another server that places cookies. I'm wondering, ignorantly, how I might get around this problem. One naive idea is to build a functional LiveCode Linux standalone, put it on On-Rev, and somehow get the Server script to call the standalone. But I really have no idea whether that's possible or how to go about it. Does it make any sense? Is there another way? Thanks, Roger From richmondmathewson at gmail.com Wed Apr 4 11:42:21 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 18:42:21 +0300 Subject: alternative libURL functionality on Server In-Reply-To: References: Message-ID: <4F7C6BDD.4060705@gmail.com> "the documentation needs to be corrected" All over the place . . . While we are talking about feature parity, price parity and so forth, how about selling a properly documented product? From richmondmathewson at gmail.com Wed Apr 4 11:47:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 18:47:40 +0300 Subject: [OT] Justified boast? Message-ID: <4F7C6D1C.3090400@gmail.com> "Real Studio is the only object-oriented, cross-platform software development tool that enables users at all levels to create powerful, stand-alone, native applications for Mac OS X, Windows, Linux and the web." http://www.realsoftware.com/realstudio/ I wonder how true this is if one puts RealBASIC head-to-head with Livecode? I must say I do wonder how they can use the word 'only' quite so blatantly? From MikeKerner at roadrunner.com Wed Apr 4 11:50:23 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 4 Apr 2012 11:50:23 -0400 Subject: [OT] Justified boast? In-Reply-To: <4F7C6D1C.3090400@gmail.com> References: <4F7C6D1C.3090400@gmail.com> Message-ID: LC isn't really OO. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rene.micout at numericable.com Wed Apr 4 11:53:01 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Apr 2012 17:53:01 +0200 Subject: [OT] Justified boast? In-Reply-To: <4F7C6D1C.3090400@gmail.com> References: <4F7C6D1C.3090400@gmail.com> Message-ID: On the French site there is not the term "only" (le "seul" environnement)... Le 4 avr. 2012 ? 17:47, Richmond a ?crit : > "Real Studio is the only object-oriented, cross-platform software development tool that enables users at all levels to create powerful, stand-alone, native applications for Mac OS X, Windows, Linux and the web." > > http://www.realsoftware.com/realstudio/ > > I wonder how true this is if one puts RealBASIC head-to-head with Livecode? > > I must say I do wonder how they can use the word 'only' quite so blatantly? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 4 11:54:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 18:54:26 +0300 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> Message-ID: <4F7C6EB2.9070801@gmail.com> On 04/04/2012 06:50 PM, Mike Kerner wrote: > LC isn't really OO. > Well, I, for one, could never quite work out what is the difference between Object-Based (LC ?) and Object-Oriented (RB). Would be most grateful if you could tell me. From richmondmathewson at gmail.com Wed Apr 4 11:56:02 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 18:56:02 +0300 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> Message-ID: <4F7C6F12.20206@gmail.com> On 04/04/2012 06:53 PM, Ren? Micout wrote: > On the French site there is not the term "only" (le "seul" environnement)... Maybe the developers of Real BASIC know something about the differences between the Anglophone world and the Francophone world that we don't know . . . :) > > Le 4 avr. 2012 ? 17:47, Richmond a ?crit : > >> "Real Studio is the only object-oriented, cross-platform software development tool that enables users at all levels to create powerful, stand-alone, native applications for Mac OS X, Windows, Linux and the web." >> >> http://www.realsoftware.com/realstudio/ >> >> I wonder how true this is if one puts RealBASIC head-to-head with Livecode? >> >> I must say I do wonder how they can use the word 'only' quite so blatantly? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Wed Apr 4 11:58:51 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 04 Apr 2012 08:58:51 -0700 Subject: [OT] Justified boast? In-Reply-To: <4F7C6D1C.3090400@gmail.com> References: <4F7C6D1C.3090400@gmail.com> Message-ID: <64E22FE2-A0B8-411D-8BD2-78122680CD78@me.com> On Apr 4, 2012, at 8:47 AM, Richmond wrote: > "Real Studio is the only object-oriented, cross-platform software development tool that enables users at all levels to create powerful, stand-alone, native applications for Mac OS X, Windows, Linux and the web." > > http://www.realsoftware.com/realstudio/ > > I wonder how true this is if one puts RealBASIC head-to-head with Livecode? > > I must say I do wonder how they can use the word 'only' quite so blatantly? Unfortunately, aside from LC not being an OO language, it's a very true claim as LC still does not offer native controls on all three platforms (web is another story). I use both for very different purposes, but aside from very custom UIs, a LC app versus a RS app reveals the significant work that the RS team have put into their frameworks and what's lacking in LC. Just look at the Linux discussion of late as an example; there's a huge disparity between Linux and the Windows/Mac options. We have an enterprise app that we wrote in RS that runs with a proper native look and feel on all three platforms. When I tried to do something similar using LC, the results were less than attractive. One big issue for us is the lack of an interactive / asynchronous shell class. For now, when you execute something in a shell in LC, your app blocks until the shelled process returns. This makes writing wrappers for long running background process much more work than it should be in LC. I've discussed this with the LC team and while 5.5 gets us closer, they're not there yet IMO. Tim From tolistim at me.com Wed Apr 4 11:59:26 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 04 Apr 2012 08:59:26 -0700 Subject: [OT] Justified boast? In-Reply-To: <4F7C6F12.20206@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> Message-ID: <1CC28877-B9C4-4DE6-B0A7-BCCE47934118@me.com> On Apr 4, 2012, at 8:56 AM, Richmond wrote: > On 04/04/2012 06:53 PM, Ren? Micout wrote: >> On the French site there is not the term "only" (le "seul" environnement)... > > Maybe the developers of Real BASIC know something about the differences between the Anglophone world and the Francophone world > that we don't know . . . :) The RS team have French team members who catch that stuff :-) Tim From ken at kencorey.com Wed Apr 4 11:59:59 2012 From: ken at kencorey.com (Ken Corey) Date: Wed, 04 Apr 2012 16:59:59 +0100 Subject: [OT] Justified boast? In-Reply-To: <4F7C6EB2.9070801@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6EB2.9070801@gmail.com> Message-ID: <4F7C6FFF.6040601@kencorey.com> On 04/04/2012 16:54, Richmond wrote: > On 04/04/2012 06:50 PM, Mike Kerner wrote: >> LC isn't really OO. >> > > Well, I, for one, could never quite work out what is the difference > between Object-Based (LC ?) > and Object-Oriented (RB). > > Would be most grateful if you could tell me. I'd expect RB would bring out a computer language guru who'd rabbit on about LC not having "proper" inheritance, and class hierarchies. Nevermind that you can usually get what you want done with LC. This is all marketing and seeing just how high up a tree one can pee. Nothing worth talking about here. Move along. -Ken From rene.micout at numericable.com Wed Apr 4 12:01:38 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Apr 2012 18:01:38 +0200 Subject: [OT] Justified boast? In-Reply-To: <4F7C6F12.20206@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> Message-ID: <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> Le 4 avr. 2012 ? 17:56, Richmond a ?crit : > Maybe the developers of Real BASIC know something about the differences between the Anglophone world and the Francophone world > that we don't know . . . :) I personally know several ! ;-) From richmondmathewson at gmail.com Wed Apr 4 12:02:45 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 19:02:45 +0300 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> Message-ID: <4F7C70A5.60609@gmail.com> On 04/04/2012 06:50 PM, Mike Kerner wrote: > LC isn't really OO. > OK: so to Wikipedia: Object-based programming: "A somehow limited version of object-oriented programming , where one or more of the following restrictions applies: "(a) There is no implicit inheritance , "(b) there is no polymorphism , "(c) only a very reduced subset of the available values are objects (typically the GUI components)." I wonder in which of the 3 Livecode differs from an Object-Oriented language? From rene.micout at numericable.com Wed Apr 4 12:04:53 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Apr 2012 18:04:53 +0200 Subject: [OT] Justified boast? In-Reply-To: <64E22FE2-A0B8-411D-8BD2-78122680CD78@me.com> References: <4F7C6D1C.3090400@gmail.com> <64E22FE2-A0B8-411D-8BD2-78122680CD78@me.com> Message-ID: <07B0A394-12DA-4C81-859E-07D7D4A7685C@numericable.com> Le 4 avr. 2012 ? 17:58, Tim Jones a ?crit : > Unfortunately, aside from LC not being an OO language, it's a very true claim as LC still does not offer native controls on all three platforms (web is another story). Unfortunately, it is true... From richmondmathewson at gmail.com Wed Apr 4 12:05:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 19:05:46 +0300 Subject: [OT] Justified boast? In-Reply-To: <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> Message-ID: <4F7C715A.2080601@gmail.com> On 04/04/2012 07:01 PM, Ren? Micout wrote: > Le 4 avr. 2012 ? 17:56, Richmond a ?crit : > >> Maybe the developers of Real BASIC know something about the differences between the Anglophone world and the Francophone world >> that we don't know . . . :) > I personally know several ! > ;-) Gallic Egoism for a start . . . avec beaucoup d'aille . . . . LOL. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mpetrides at earthlink.net Wed Apr 4 12:12:03 2012 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Wed, 4 Apr 2012 11:12:03 -0500 Subject: [OT] Justified boast? In-Reply-To: <4F7C6D1C.3090400@gmail.com> References: <4F7C6D1C.3090400@gmail.com> Message-ID: <11104682-7E42-4BDB-9C70-EF90C72D2126@earthlink.net> Ad writers have no ethics, that's how :-) On Apr 4, 2012, at 10:47 AM, Richmond wrote: > "Real Studio is the only object-oriented, cross-platform software development tool that enables users at all levels to create powerful, stand-alone, native applications for Mac OS X, Windows, Linux and the web." > > http://www.realsoftware.com/realstudio/ > > I wonder how true this is if one puts RealBASIC head-to-head with Livecode? > > I must say I do wonder how they can use the word 'only' quite so blatantly? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 12:15:02 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Apr 2012 18:15:02 +0200 Subject: [OT] Justified boast? In-Reply-To: <4F7C715A.2080601@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> <4F7C715A.2080601@gmail.com> Message-ID: Le 4 avr. 2012 ? 18:05, Richmond a ?crit : > Gallic Egoism for a start . . . avec beaucoup d'aille . . . . LOL. Gauls and Scots are not they cousins? ;-) From th.douez at gmail.com Wed Apr 4 12:24:34 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 4 Apr 2012 18:24:34 +0200 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> <4F7C715A.2080601@gmail.com> Message-ID: > > Le 4 avr. 2012 ? 18:05, Richmond a ?crit : > > > Gallic Egoism for a start . . . > avec beaucoup d'aille . . . . LOL. > --------------------------------^^^^^------------- Wings or Garlic ? All the best Thierry From richmondmathewson at gmail.com Wed Apr 4 12:31:06 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 19:31:06 +0300 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> <4F7C715A.2080601@gmail.com> Message-ID: <4F7C774A.9090203@gmail.com> On 04/04/2012 07:15 PM, Ren? Micout wrote: > Le 4 avr. 2012 ? 18:05, Richmond a ?crit : > >> Gallic Egoism for a start . . . avec beaucoup d'aille . . . . LOL. > Gauls and Scots are not they cousins? > ;-) > The Old Alliance! > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 4 12:31:33 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 04 Apr 2012 18:31:33 +0200 Subject: iOS - picking from a scrolling list Message-ID: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. I have looked at the latest iOS notes for LC5.5 (Scroller Control - UIScrollView) and I can't understand how the textual list (like an ordinary LC scrolling field) would come in to the scroller; I'm also just beginning to use MobGUI to introduce some native controls, and that has a scroller object too. It is complex and consists of a group into which it is possible to introduce such an LC field, but in that case it is sensitive to touches, but not to dragging/scrolling - I tried setting the parameter 'delay touches' but it didn't seem to change anything. Obviously I have missed some underlying concept here. The LC iOS doc says that a scroller isn't a container for other controls, but I don't know what that means. It seems a gnomic pronouncement rather on the lines of "Light is not a thing" or ?Die Welt ist alles, was der Fall ist.? Sounds terrific, but what does it actually mean? I also tried reading the UIScrollView section of Apple's documentation. It's promising in a way (it mentions the need to do the kind of thing I'm talking about) but it doesn't help me enough to allow me to proceed. Does anyone know how to do this? I have asked MobGUI support, but I don't know how reactive they are. TIA Graham From rene.micout at numericable.com Wed Apr 4 12:32:40 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Apr 2012 18:32:40 +0200 Subject: [OT] Justified boast? In-Reply-To: References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> <4F7C715A.2080601@gmail.com> Message-ID: <5DDC72EE-8097-4CD5-B309-55C13016AACE@numericable.com> Le 4 avr. 2012 ? 18:24, Thierry Douez a ?crit : > Wings or Garlic ? Garlic or Gaelic ? Bonjour Thierry ! ;-) From cmsheffield at me.com Wed Apr 4 12:42:51 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 04 Apr 2012 10:42:51 -0600 Subject: iOS - picking from a scrolling list In-Reply-To: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> References: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> Message-ID: <4BCBCD66-7337-4474-A66C-13B9F13A2C5D@me.com> Graham, Check out iphonePick, or mobilePick if you want to be cross platform. That should do what you want. It's all explained in the dictionary. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Apr 4, 2012, at 10:31 AM, Graham Samuel wrote: > In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. > > I have looked at the latest iOS notes for LC5.5 (Scroller Control - UIScrollView) and I can't understand how the textual list (like an ordinary LC scrolling field) would come in to the scroller; I'm also just beginning to use MobGUI to introduce some native controls, and that has a scroller object too. It is complex and consists of a group into which it is possible to introduce such an LC field, but in that case it is sensitive to touches, but not to dragging/scrolling - I tried setting the parameter 'delay touches' but it didn't seem to change anything. > > Obviously I have missed some underlying concept here. The LC iOS doc says that a scroller isn't a container for other controls, but I don't know what that means. It seems a gnomic pronouncement rather on the lines of "Light is not a thing" or ?Die Welt ist alles, was der Fall ist.? Sounds terrific, but what does it actually mean? > > I also tried reading the UIScrollView section of Apple's documentation. It's promising in a way (it mentions the need to do the kind of thing I'm talking about) but it doesn't help me enough to allow me to proceed. > > Does anyone know how to do this? I have asked MobGUI support, but I don't know how reactive they are. > > 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 Apr 4 12:43:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Apr 2012 09:43:48 -0700 Subject: LC 5.5 stability? In-Reply-To: References: Message-ID: <526AEC93-79C9-483A-BA93-677020BCB2C1@twft.com> Also, try suspending and restoring development tools whenever you get weird behavior like that. Bob On Apr 4, 2012, at 8:27 AM, Mark Talluto wrote: > On Apr 4, 2012, at 5:21 AM, Graham Samuel wrote: > >> I am getting lots of hangs and crashes while trying to develop an iOS app on my Mac (with Lion 10.7.3). The version of LC 5.5 is 1479. The hangs seem to be when I do stuff in the IDE, and the crashes when I run my own scripts. One crash was caused by an attempt to set the layer of a background on a card other than 'this' card, which may be illegal (why?) but shouldn't have caused a crash. >> >> I wonder if anyone else is having this experience, or whether it's just something in my setup. If others report similar experiences, I will try to get a couple of recipes to send to RR Support. > > Hi Graham, > > I am seeing a lot of strange slow downs as well. I too am trying to come up with a good recipe to demonstrate the issue. It seems very random at the moment. I get them most often when I save and then try to access a LC menu item. > > If I let it sit for up to a minute, LC usually recovers and works until the next time it happens. I have tried turning off all my plugins to see if that helps. The jury is still out on that one. > > > 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 From bobs at twft.com Wed Apr 4 13:27:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Apr 2012 10:27:29 -0700 Subject: [OT] Justified boast? In-Reply-To: <4F7C70A5.60609@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C70A5.60609@gmail.com> Message-ID: <14085DF8-66AA-4344-BD1B-01080F61B357@twft.com> My understanding (typically flawed): Implicit Inheritance, as in creating an object or instance that is a child of another object, and changes to the parent or children affect the children and instances of the children. LC does no such thing. Not sure what polymorphism is, and I don't want to read up on it. I am not sure what OO objects there can be that are not GUI objects, unless something like a property or a database can be an object. I do see a difference between LC and an Object Oriented environment, as I looked at, but didn't touch Visual Foxpro some years back. I got how it can be very powerful once you set up your objects and inheritances, but there is a lot of groundwork with OO dev that has to be done, and a great deal of planning beforehand if you want to do anything complex. Not so much with LC. Bob On Apr 4, 2012, at 9:02 AM, Richmond wrote: > On 04/04/2012 06:50 PM, Mike Kerner wrote: >> LC isn't really OO. >> > > OK: so to Wikipedia: > > Object-based programming: > "A somehow limited version of object-oriented programming , where one or more of the following restrictions applies: > > "(a) There is no implicit inheritance , > > "(b) there is no polymorphism , > > "(c) only a very reduced subset of the available values are objects (typically the GUI components)." > > I wonder in which of the 3 Livecode differs from an Object-Oriented language? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Wed Apr 4 13:30:42 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 4 Apr 2012 19:30:42 +0200 Subject: [OT] Justified boast? In-Reply-To: <5DDC72EE-8097-4CD5-B309-55C13016AACE@numericable.com> References: <4F7C6D1C.3090400@gmail.com> <4F7C6F12.20206@gmail.com> <0E912B78-3108-4D92-BDA0-265ADD5F1253@numericable.com> <4F7C715A.2080601@gmail.com> <5DDC72EE-8097-4CD5-B309-55C13016AACE@numericable.com> Message-ID: Le 4 avril 2012 18:32, Ren? Micout a ?crit : > > Le 4 avr. 2012 ? 18:24, Thierry Douez a ?crit : > > > Wings or Garlic ? > > Garlic or Gaelic ? > Mais c'est bien sur :) Bonjour Thierry ! > Ca Swing toujours a Paris ? :) Cordialement, Thierry From ambassador at fourthworld.com Wed Apr 4 13:55:15 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2012 10:55:15 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7C5C29.8090004@gmail.com> References: <4F7C5C29.8090004@gmail.com> Message-ID: <4F7C8B03.5060407@fourthworld.com> Richmond wrote: > I've never quite made my mind up about HyperNext, and really wonder > whether it is worth the investment of learning a new programming > language. Still, it is FREE: > > http://tigabyte.com/ Curious, given that it seems to be made with RealBASIC and the RB EULA includes: You agree not to create an application that, as its primary purpose, provides your application's end user with access to RBScript and/or the ability to directly (or indirectly through a simple wrapper) call functions in the Realbasic framework. Such software creation is strictly prohibited and would therefore be a violation of this End User License Agreement. ...and the Tigbyte site says: HyperNext is further enhanced by its ability to compile and run REALbasic scripts during runtime. RBscript is a fast high-level object orientated language that is ideal for tasks requiring extra power such as number crunching, heavy text processing and graphics. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Wed Apr 4 14:21:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 21:21:03 +0300 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7C8B03.5060407@fourthworld.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> Message-ID: <4F7C910F.5070508@gmail.com> On 04/04/2012 08:55 PM, Richard Gaskin wrote: > Richmond wrote: > >> I've never quite made my mind up about HyperNext, and really wonder >> whether it is worth the investment of learning a new programming >> language. Still, it is FREE: >> >> http://tigabyte.com/ > > Curious, given that it seems to be made with RealBASIC and the RB EULA > includes: > > You agree not to create an application that, as its primary > purpose, provides your application's end user with access > to RBScript and/or the ability to directly (or indirectly > through a simple wrapper) call functions in the Realbasic > framework. Such software creation is strictly prohibited > and would therefore be a violation of this End User License > Agreement. > > ...and the Tigbyte site says: > > HyperNext is further enhanced by its ability to compile and > run REALbasic scripts during runtime. RBscript is a fast > high-level object orientated language that is ideal for > tasks requiring extra power such as number crunching, heavy > text processing and graphics. > Might not be a bad idea to point that out to the Tigabyte chap directly. From tolistim at me.com Wed Apr 4 14:43:15 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 04 Apr 2012 11:43:15 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7C910F.5070508@gmail.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <4F7C910F.5070508@gmail.com> Message-ID: <81EDA60E-8D8E-4B0B-A469-B0FC5BA2F0FC@me.com> On Apr 4, 2012, at 11:21 AM, Richmond wrote: > On 04/04/2012 08:55 PM, Richard Gaskin wrote: >> Richmond wrote: >> >>> I've never quite made my mind up about HyperNext, and really wonder >>> whether it is worth the investment of learning a new programming >>> language. Still, it is FREE: >>> >>> http://tigabyte.com/ >> >> Curious, given that it seems to be made with RealBASIC and the RB EULA includes: >> >> You agree not to create an application that, as its primary >> purpose, provides your application's end user with access >> to RBScript and/or the ability to directly (or indirectly >> through a simple wrapper) call functions in the Realbasic >> framework. Such software creation is strictly prohibited >> and would therefore be a violation of this End User License >> Agreement. >> >> ...and the Tigbyte site says: >> >> HyperNext is further enhanced by its ability to compile and >> run REALbasic scripts during runtime. RBscript is a fast >> high-level object orientated language that is ideal for >> tasks requiring extra power such as number crunching, heavy >> text processing and graphics. >> > > Might not be a bad idea to point that out to the Tigabyte chap directly. It looks like they are using an older version of Real Studio that came before that EULA change to create HyperNext. That's the unfortunate thing about license agreements - while you can create a new agreement that applies to new versions of you product, you can't make that new agreement retroactive to old versions of your product. I surmise this because they're still building for PPC and pre-OS X platforms. Tim From richmondmathewson at gmail.com Wed Apr 4 14:58:31 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 21:58:31 +0300 Subject: [OT] HyperNext Android Creator In-Reply-To: <81EDA60E-8D8E-4B0B-A469-B0FC5BA2F0FC@me.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <4F7C910F.5070508@gmail.com> <81EDA60E-8D8E-4B0B-A469-B0FC5BA2F0FC@me.com> Message-ID: <4F7C99D7.9020405@gmail.com> On 04/04/2012 09:43 PM, Tim Jones wrote: > On Apr 4, 2012, at 11:21 AM, Richmond wrote: > >> On 04/04/2012 08:55 PM, Richard Gaskin wrote: >>> Richmond wrote: >>> >>>> I've never quite made my mind up about HyperNext, and really wonder >>>> whether it is worth the investment of learning a new programming >>>> language. Still, it is FREE: >>>> >>>> http://tigabyte.com/ >>> Curious, given that it seems to be made with RealBASIC and the RB EULA includes: >>> >>> You agree not to create an application that, as its primary >>> purpose, provides your application's end user with access >>> to RBScript and/or the ability to directly (or indirectly >>> through a simple wrapper) call functions in the Realbasic >>> framework. Such software creation is strictly prohibited >>> and would therefore be a violation of this End User License >>> Agreement. >>> >>> ...and the Tigbyte site says: >>> >>> HyperNext is further enhanced by its ability to compile and >>> run REALbasic scripts during runtime. RBscript is a fast >>> high-level object orientated language that is ideal for >>> tasks requiring extra power such as number crunching, heavy >>> text processing and graphics. >>> >> Might not be a bad idea to point that out to the Tigabyte chap directly. > It looks like they are using an older version of Real Studio that came before that EULA change to create HyperNext. That's the unfortunate thing about license agreements - I don't think that is unfortunate at all. This would be rather like my trying to use 21st century copyright law to protect a book written by some relative of mine in the eighteenth century. What does interest me is that the HyperNext chap is doing all this for nothing (HyperNext is FREE); so, not only is he getting no revenue for his work, but, arguably, he is directly competing with RealBASIC who are losing revenue with people using his product rather than theirs. Interesting enough, he mentioned to me that he had had great problems to do with getting a Linux port of HyperNext off the ground, and stated: "With hindsight I should have kept developing the Pascal version of HyperNext" which seems most odd indeed. > while you can create a new agreement that applies to new versions of you product, you can't make that new agreement retroactive to old versions of your product. > > I surmise this because they're still building for PPC and pre-OS X platforms. > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Apr 4 15:00:11 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Apr 2012 12:00:11 -0700 Subject: Apple/IOS Developer Program Renewal Message-ID: Has anyone else here received a *premature* "5 days left to renew your Mac Developer Program membership" message from Apple? Both my Mac and IOS memberships have more than two months to go, and expire on June 7. This seems wrong. And annoying. sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Wed Apr 4 15:07:51 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 Apr 2012 21:07:51 +0200 Subject: Apple/IOS Developer Program Renewal In-Reply-To: References: Message-ID: <4F698827-1199-4CEA-83DE-DE3A356DCE29@economy-x-talk.com> Hi sqb, I think I get those messages 6 to 8 weeks in advance, but they never say "5 days left" (I checked it). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 4 apr 2012, at 21:00, stephen barncard wrote: > Has anyone else here received a *premature* "5 days left to renew your Mac > Developer Program membership" message from Apple? Both my Mac and IOS > memberships have more than two months to go, and expire on June 7. This > seems wrong. And annoying. > > sqb > From richmondmathewson at gmail.com Wed Apr 4 15:08:25 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 22:08:25 +0300 Subject: [OT] Justified boast? In-Reply-To: <07B0A394-12DA-4C81-859E-07D7D4A7685C@numericable.com> References: <4F7C6D1C.3090400@gmail.com> <64E22FE2-A0B8-411D-8BD2-78122680CD78@me.com> <07B0A394-12DA-4C81-859E-07D7D4A7685C@numericable.com> Message-ID: <4F7C9C29.40504@gmail.com> On 04/04/2012 07:04 PM, Ren? Micout wrote: > Le 4 avr. 2012 ? 17:58, Tim Jones a ?crit : > >> Unfortunately, aside from LC not being an OO language, it's a very true claim as LC still does not offer native controls on all three platforms (web is another story). > Unfortunately, it is true... Pardon my naivety, but what, exactly are "native controls"? Certainly (LC 4.5) buttons and fields look like buttons and fields on Mac, Win and Lin to me. From stephenREVOLUTION2 at barncard.com Wed Apr 4 15:21:33 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Apr 2012 12:21:33 -0700 Subject: [OT] Justified boast? In-Reply-To: <4F7C9C29.40504@gmail.com> References: <4F7C6D1C.3090400@gmail.com> <64E22FE2-A0B8-411D-8BD2-78122680CD78@me.com> <07B0A394-12DA-4C81-859E-07D7D4A7685C@numericable.com> <4F7C9C29.40504@gmail.com> Message-ID: to me: Native means "look and feel that appear on respective OSs, usually as a binary call to the OS's toolbox or libraries" obviously one's milage will vary with Linux. On 4 April 2012 12:08, Richmond wrote: > On 04/04/2012 07:04 PM, Ren? Micout wrote: > >> Le 4 avr. 2012 ? 17:58, Tim Jones a ?crit : >> >> Unfortunately, aside from LC not being an OO language, it's a very true >>> claim as LC still does not offer native controls on all three platforms >>> (web is another story). >>> >> Unfortunately, it is true... >> > > Pardon my naivety, but what, exactly are "native controls"? > > Certainly (LC 4.5) buttons and fields look like buttons and fields on Mac, > Win and Lin to me. > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From livfoss at mac.com Wed Apr 4 15:23:34 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 04 Apr 2012 21:23:34 +0200 Subject: iOS - picking from a scrolling list In-Reply-To: References: Message-ID: <8BCD3E61-FDC6-4992-91C1-2C0FE7C81A16@mac.com> Chris, thanks. I have had a look at this (I did not know about it at all) but it isn't really what I had in mind. I want a long list like a set of names in a notebook, so the style I'm looking for is much more like Apple's Contacts app, which does present such a list and allows one to pick from it, rather than a wheel where one sees very few names at any one time, and it is quite hard to whizz from one end of say a 100-item list to another. I'm pleased to say that I've had a reply from MobGUI and I'll see what that looks like and report back. Graham OnWed, 04 Apr 2012 10:42:51 -0600, Chris Sheffield wrote: > > Check out iphonePick, or mobilePick if you want to be cross platform. That should do what you want. It's all explained in the dictionary. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > On Apr 4, 2012, at 10:31 AM, Graham Samuel wrote: > >> In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. [snip] From ambassador at fourthworld.com Wed Apr 4 15:34:36 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2012 12:34:36 -0700 Subject: [OT] Justified boast? In-Reply-To: References: Message-ID: <4F7CA24C.2040309@fourthworld.com> stephen barncard wrote: > to me: Native means "look and feel that appear on respective OSs, usually > as a binary call to the OS's toolbox or libraries" > > obviously one's milage will vary with Linux. I think the definition is somewhat subject to personal interpretation. On Linux, Windows, and OS X, changes in the Appearance control panel which can affect controls are reflected in controls rendered in LiveCode, so clearly there's at least some dependency on the OS APIs. But I also see that font metrics and text placement in LiveCode controls is sometimes off a pixel or so, at least in tab controls in OS X and few other cases. I suspect the rendering of text for such controls is handled internally in the engine, perhaps using the OS to render the control itself and then overlaying the text in the control's compositing buffer before blitting it to the screen. In RB, I would imagine that the tool doesn't require developers to use only the OS APIs directly, but provides some libraries for common behaviors. Indeed, without such support its usefulness as a cross-platform tool would be close to NIL. So it seems both LiveCode and RealBASIC use a mix of OS APIs and vendor-supplied code to allow their developers to build cross-platform apps radidly, leaving us with the question: What is a "native control"? -- 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 tolistim at me.com Wed Apr 4 15:36:39 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 04 Apr 2012 12:36:39 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7C99D7.9020405@gmail.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <4F7C910F.5070508@gmail.com> <81EDA60E-8D8E-4B0B-A469-B0FC5BA2F0FC@me.com> <4F7C99D7.9020405@gmail.com> Message-ID: <8D4016FD-F7DA-459C-9A62-F538E417CDCF@me.com> On Apr 4, 2012, at 11:58 AM, Richmond wrote: > Interesting enough, he mentioned to me that he had had great problems to do with getting a Linux port of HyperNext off the ground, > and stated: > > "With hindsight I should have kept developing the Pascal version of HyperNext" > > which seems most odd indeed. I suspect that this is because the older version of RS he's using to get the PPC / OS9 compatibility dates back to the 5.0 release days and things on Linux were very fresh and depended on a very archaic (now) version of GTK. The later versions of RS are much more complete and completely on par with the other platforms. Tim From cmsheffield at me.com Wed Apr 4 15:38:39 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 04 Apr 2012 13:38:39 -0600 Subject: iOS - picking from a scrolling list In-Reply-To: <8BCD3E61-FDC6-4992-91C1-2C0FE7C81A16@mac.com> References: <8BCD3E61-FDC6-4992-91C1-2C0FE7C81A16@mac.com> Message-ID: <43CB6A8A-423F-4542-A519-C867E7CC08D2@me.com> You can change the appearance. So it can be a picker wheel or a scrolling list of values to pick from, much like you described in your initial post. At least on the iPad. Maybe the appearance is always the same on an iPhone/iPod Touch. Not totally sure. Anyway, I have an iPad app where I've used the scrolling list version and it works well. It would be nice if it had some other options available, like being able to set the position or being able to apply text styles. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Apr 4, 2012, at 1:23 PM, Graham Samuel wrote: > Chris, thanks. I have had a look at this (I did not know about it at all) but it isn't really what I had in mind. I want a long list like a set of names in a notebook, so the style I'm looking for is much more like Apple's Contacts app, which does present such a list and allows one to pick from it, rather than a wheel where one sees very few names at any one time, and it is quite hard to whizz from one end of say a 100-item list to another. I'm pleased to say that I've had a reply from MobGUI and I'll see what that looks like and report back. > > Graham > > OnWed, 04 Apr 2012 10:42:51 -0600, Chris Sheffield wrote: > >> >> Check out iphonePick, or mobilePick if you want to be cross platform. That should do what you want. It's all explained in the dictionary. >> >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> On Apr 4, 2012, at 10:31 AM, Graham Samuel wrote: >> >>> In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. > [snip] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 4 15:48:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 04 Apr 2012 22:48:18 +0300 Subject: [OT] HyperNext Android Creator In-Reply-To: <8D4016FD-F7DA-459C-9A62-F538E417CDCF@me.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <4F7C910F.5070508@gmail.com> <81EDA60E-8D8E-4B0B-A469-B0FC5BA2F0FC@me.com> <4F7C99D7.9020405@gmail.com> <8D4016FD-F7DA-459C-9A62-F538E417CDCF@me.com> Message-ID: <4F7CA582.4010505@gmail.com> On 04/04/2012 10:36 PM, Tim Jones wrote: > On Apr 4, 2012, at 11:58 AM, Richmond wrote: > >> Interesting enough, he mentioned to me that he had had great problems to do with getting a Linux port of HyperNext off the ground, >> and stated: >> >> "With hindsight I should have kept developing the Pascal version of HyperNext" >> >> which seems most odd indeed. > I suspect that this is because the older version of RS he's using to get the PPC / OS9 compatibility dates back to the 5.0 release days and things on Linux were very fresh and depended on a very archaic (now) version of GTK. > > The later versions of RS are much more complete and completely on par with the other platforms. > > Tim > > > _______________________________________________ > You are quite right; I just had this from the HyperNext chap: "we are legally safe because we are still using RB 555 from a long time ago and when we started they had no such constraints.We still have the original license agreements" From rjearp at hotmail.com Wed Apr 4 16:48:46 2012 From: rjearp at hotmail.com (Bob Earp) Date: Wed, 4 Apr 2012 13:48:46 -0700 Subject: SOT - Technology in the classroom success Message-ID: For those "technology in the classroom" nay-sayers on the list, and everybody else for that matter who has not taken a look at the success schools and individuals are having with Salman Khan's model, go take a look first at http://youtu.be/gM95HHI4gLk Then explore www.khanacademy.org where there is literally thousands of educational snippets from the basics of math to such obtuse things as Apsidal Precession (Perihelion Precession) and Milankovitch Cycles, all for free. What's more, there is a built-in self paced educational model that seems to be having great success through all ages, but especially K - 12. As proof of success, in the last two days I have had grandchildren call and boast how they can do things that they have not been taught in the classroom yet, and their parent report that they are coming home and studying these things persistently and without encouragement. Seem like teachers are finally getting a break to spend time teaching, or rather managing teaching, to the individual level rather than the mean. I'm sold !! best, Bob... Bob Earp White Rock, British Columbia. From userev at canelasoftware.com Wed Apr 4 17:17:37 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 4 Apr 2012 14:17:37 -0700 Subject: LC 5.5 stability? In-Reply-To: <526AEC93-79C9-483A-BA93-677020BCB2C1@twft.com> References: <526AEC93-79C9-483A-BA93-677020BCB2C1@twft.com> Message-ID: On Apr 4, 2012, at 9:43 AM, Bob Sneidar wrote: > Also, try suspending and restoring development tools whenever you get weird behavior like that. > I will give that a try. Best regards, Mark Talluto http://www.canelasoftware.com From simplsol at aol.com Wed Apr 4 17:55:58 2012 From: simplsol at aol.com (Paul Looney) Date: Wed, 4 Apr 2012 14:55:58 -0700 Subject: Forwarded from Grandpa L In-Reply-To: References: Message-ID: <6E9E7AE0-5423-44A6-90D4-523A07500189@aol.com> Amber, This was on one of the lists I follow. Bob Earp is a fellow programmer who lives in British Columbia. I've met him several times and he seems like a sharp fellow. You might be interested in the link he provided: > www.khanacademy.org Grandpa On Apr 4, 2012, at 1:48 PM, Bob Earp wrote: > For those "technology in the classroom" nay-sayers on the list, and everybody else for that matter who has not taken a look at the success schools and individuals are having with Salman Khan's model, go take a look first at http://youtu.be/gM95HHI4gLk > > Then explore www.khanacademy.org where there is literally thousands of educational snippets from the basics of math to such obtuse things as Apsidal Precession (Perihelion Precession) and Milankovitch Cycles, all for free. > > What's more, there is a built-in self paced educational model that seems to be having great success through all ages, but especially K - 12. > > As proof of success, in the last two days I have had grandchildren call and boast how they can do things that they have not been taught in the classroom yet, and their parent report that they are coming home and studying these things persistently and without encouragement. > > Seem like teachers are finally getting a break to spend time teaching, or rather managing teaching, to the individual level rather than the mean. > > I'm sold !! > > best, Bob... > > > Bob Earp > White Rock, British Columbia. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknapp at comcast.net Wed Apr 4 18:47:36 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 04 Apr 2012 15:47:36 -0700 Subject: [OT] Congrats to Trevor - Macworld Clarify Review Message-ID: <4F7CCF88.9020003@comcast.net> Congratulations to Trevor DeVore for the great review of Clarify in the new issue of MacWorld. Marty Knapp From lfredricks at proactive-intl.com Wed Apr 4 18:56:57 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 4 Apr 2012 15:56:57 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7C8B03.5060407@fourthworld.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> Message-ID: > ...and the Tigbyte site says: > > HyperNext is further enhanced by its ability to compile and > run REALbasic scripts during runtime. RBscript is a fast > high-level object orientated language that is ideal for > tasks requiring extra power such as number crunching, heavy > text processing and graphics. I cannot answer in the specific here, but there was a thread recently on the RB list about developing competing or overlapping products with RB, that its possible to work out a payment plan with REAL. The "nut" of the argument was how they defined a development tool, which to me seemed overly broad at the time and encompassed technologies that had little to do with RB - don't take my word on the specifics though, if its important to you, they have archives. I can't think of a more fitting example of conflict with RB, so my guess is that they worked something out. At Paradigma, we have to have our own definitions as well, though more narrow. Pretty much anything that would duplicate a "Filemaker" type product or a "Filemaker Server" type product is forbidden. On the other hand, we have plenty of customers who make specialized data management tools for vertical markets, integration or BI tools that are totally cool with our license. Dave Simpson wrote an interesting article on making code generation apps with LiveCode for the Omegabundle which really set me thinking about this. There are some companies that might not allow this sort of thing, or they could be very vague about it in their EULA and then try to squeeze you for royalties because it "might" overlap in some way. That's a really bad sign - a sign that their technology is past its prime and they are a bottomfeeding type company. They exist. Beware. They have tiny, evil eyes, hide in the darkness and have funnel like mouths like lampreys... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From bobs at twft.com Wed Apr 4 19:18:38 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Apr 2012 16:18:38 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> Message-ID: <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> So my almost complete MileFaker Pro product which uses Valentina DB is dead on arrival?? ;-) Bob On Apr 4, 2012, at 3:56 PM, Lynn Fredricks wrote: > At Paradigma, we have to have our own definitions as well, though more > narrow. Pretty much anything that would duplicate a "Filemaker" type product > or a "Filemaker Server" type product is forbidden. From rman at free.fr Wed Apr 4 21:04:09 2012 From: rman at free.fr (Robert Mann) Date: Wed, 4 Apr 2012 18:04:09 -0700 (PDT) Subject: Forwarded from Grandpa L In-Reply-To: <6E9E7AE0-5423-44A6-90D4-523A07500189@aol.com> References: <6E9E7AE0-5423-44A6-90D4-523A07500189@aol.com> Message-ID: <1333587849213-4533632.post@n4.nabble.com> Many thanks for this great link. How to improve teaching? How to self teach yourself? This is one of the greatest question... (the next one being :: what for? what to do with knowledge!?) Episode 1 : Its a long time since I had the intuition that videos could serve to a great extend. I launched videos for french kids to learn english a while ago. But I did not get the right to expand and add some tools to help kids actually learn from them. I was a bit.. frustrated, because I "felt" videos on their own would not be enough. Episode 2 - That initial enthusiasm was later on counterbalanced by "scientific" studies that concluded that, to the majority of viewers and particularly children, their mind where distracted by the artefact of the videos and that they would not use the backward/forward facility to adapt the videos to their learning pace. The result being that they would not learn much from videos. Also it was put forward that a human interaction was key to the memorizing process. So I thought it was not such a great idea to put children in front of a tv even if it was to train their french ears to the esoteric sound of english... So I also set aside some other projects I had, to expand this educative video business and eventually killed it (also for other personnal reasons). Episode 3 - That breathtaking video... and site etc.. does bring something really knew on the subject for me. The radical way of thinking is : make good use of time spent in front of a tv, get the lectures there AND maximize in quality the time spent with the teachers and classmates... thus boosting this essential human relation in the learning process :: whouaouu!!!! THis seems like a great solution to several huge problems. As far as runrev - revolution is concerned and this list, It could well be that an educative free limited entry point to xtalk programming would encourage lots of students to co-develop little learning applications and then later on pick up with full version... I do not know if it would be a sound commercial way to go, but at least it would be a great humanitarian way to go... and why not hand in hand with www.khanacademy.org ?? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SOT-Technology-in-the-classroom-success-tp4533147p4533632.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Wed Apr 4 21:25:03 2012 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 4 Apr 2012 21:25:03 -0400 Subject: [OT] Congrats to Trevor - Macworld Clarify Review In-Reply-To: <4F7CCF88.9020003@comcast.net> References: <4F7CCF88.9020003@comcast.net> Message-ID: On Wed, Apr 4, 2012 at 6:47 PM, Marty Knapp wrote: > Congratulations to Trevor DeVore for the great review of Clarify in the > new issue of MacWorld. > Thanks Marty. I didn't know a review was going to show up in the magazine. I imagine it is the same one that is online. Is that the case? http://www.macworld.com/article/1165132/clarify_makes_it_easy_to_create_annotated_images_and_how_to_documents.html -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From martyknapp at comcast.net Wed Apr 4 21:34:32 2012 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 04 Apr 2012 18:34:32 -0700 Subject: [OT] Congrats to Trevor - Macworld Clarify Review In-Reply-To: References: <4F7CCF88.9020003@comcast.net> Message-ID: <4F7CF6A8.6000401@comcast.net> The magazine review is pretty brief compared to the online review, though also written by Dan Frakes. Marty > On Wed, Apr 4, 2012 at 6:47 PM, Marty Knapp wrote: > >> Congratulations to Trevor DeVore for the great review of Clarify in the >> new issue of MacWorld. >> > Thanks Marty. I didn't know a review was going to show up in the magazine. > I imagine it is the same one that is online. Is that the case? > > http://www.macworld.com/article/1165132/clarify_makes_it_easy_to_create_annotated_images_and_how_to_documents.html > From lfredricks at proactive-intl.com Wed Apr 4 23:56:20 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 4 Apr 2012 20:56:20 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> Message-ID: <30D735E6D4384ED68C43294783583ECB@GATEWAY> > So my almost complete MileFaker Pro product which uses > Valentina DB is dead on arrival?? ;-) MileFaker Pro? Isn't that like a pedometer program that lies? "Yeah, you just did 10 miles! Reward yourself at the Starbucks, 20 feet ahead on your right..." Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Thu Apr 5 00:24:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 05 Apr 2012 07:24:17 +0300 Subject: [OT] HyperNext Android Creator In-Reply-To: <30D735E6D4384ED68C43294783583ECB@GATEWAY> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> <30D735E6D4384ED68C43294783583ECB@GATEWAY> Message-ID: <4F7D1E71.7070801@gmail.com> On 04/05/2012 06:56 AM, Lynn Fredricks wrote: >> So my almost complete MileFaker Pro product which uses >> Valentina DB is dead on arrival?? ;-) > MileFaker Pro? Isn't that like a pedometer program that lies? No, it's something more like Shotoflop, Agitator Pro, Quacktime, Microsquash Sentence or Pornographer Home Edition! > > "Yeah, you just did 10 miles! Reward yourself at the Starbucks, 20 feet > ahead on your right..." > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 5 00:44:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2012 23:44:19 -0500 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7D1E71.7070801@gmail.com> References: <4F7C5C29.8090004@gmail.com> <4F7C8B03.5060407@fourthworld.com> <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> <30D735E6D4384ED68C43294783583ECB@GATEWAY> <4F7D1E71.7070801@gmail.com> Message-ID: <4F7D2323.6000409@hyperactivesw.com> On 4/4/12 11:24 PM, Richmond wrote: > On 04/05/2012 06:56 AM, Lynn Fredricks wrote: >>> So my almost complete MileFaker Pro product which uses >>> Valentina DB is dead on arrival?? ;-) >> MileFaker Pro? Isn't that like a pedometer program that lies? > > No, it's something more like Shotoflop, Agitator Pro, Quacktime, > Microsquash Sentence or Pornographer Home Edition! Richmond. Don't drink and post. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ruslan_zasukhin at valentina-db.com Thu Apr 5 02:30:29 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 05 Apr 2012 09:30:29 +0300 Subject: [OT] HyperNext Android Creator In-Reply-To: <9B56793E-D046-4F58-A7E0-B082951479C8@twft.com> Message-ID: On 4/5/12 2:18 AM, "Bob Sneidar" wrote: > So my almost complete MileFaker Pro product which uses Valentina DB is dead on > arrival?? ;-) > > Bob > > > On Apr 4, 2012, at 3:56 PM, Lynn Fredricks wrote: > >> At Paradigma, we have to have our own definitions as well, though more >> narrow. Pretty much anything that would duplicate a "Filemaker" type product >> or a "Filemaker Server" type product is forbidden. Lynn, I believe you mean this is prohibited by our regular royalty free license. It will be strange if e..g the same FaileMaker corp will take for 200$ Valentina engine, will integrate it into own IDE and start sale a lots of copies royalty free. Right? This is why exists such limitations in EULA. But if somebody will very want do that he still can make separate agreement with Paradigma. -- 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 sschvarstein at gmail.com Thu Apr 5 07:40:44 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Thu, 5 Apr 2012 13:40:44 +0200 Subject: Localization languages Message-ID: Hi, I've just submitted an iOS app to the AppStore and I can see in the Binary Details section that the app localization is set to "English". My app is bilingual, in Spanish and English and I need these information to be showed correctly in iTunes. I've been searching in the LiveCode documentation and couldn't find anything about this issue. Also I couldn't find any way for changing this data in iTunes Connect. How this can be achieved ? Thanks and Best Regards. ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From monte at sweattechnologies.com Thu Apr 5 07:48:30 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 5 Apr 2012 21:48:30 +1000 Subject: Localization languages In-Reply-To: References: Message-ID: <6A493796-3BEE-4930-91A1-8C10C665A7FA@sweattechnologies.com> I agree, this could be documented better and even supported in the standalone builder. You need an empty .lproj folder for each language you support. Cheers -- Monte Goulding On 05/04/2012, at 9:40 PM, Sergio Schvarstein wrote: > Hi, > > I've just submitted an iOS app to the AppStore and I can see in the Binary Details section that the app localization is set to "English". > > My app is bilingual, in Spanish and English and I need these information to be showed correctly in iTunes. > > I've been searching in the LiveCode documentation and couldn't find anything about this issue. Also I couldn't find any way for changing this data in iTunes Connect. > > How this can be achieved ? > > Thanks and Best Regards. > > > ______________________________ > Sergio Schvarstein > sschvarstein at gmail.com > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Apr 5 07:48:48 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 5 Apr 2012 13:48:48 +0200 Subject: Localization languages In-Reply-To: References: Message-ID: Sergio, i do not know if this is of any use for you. I had the problem that my ios app showed english labled buttons when creating an email although the iphone was set to german. The solution was to add an empty folder with the name german.lproj to the app. In the standalone settings under copy file i just copied/added a folder with the name german.lproj. Maybe your problem is fixed if you add an empty folder spanish.lproj to your app. But i do not kwow. Regards, Matthias Am 05.04.2012 um 13:40 schrieb Sergio Schvarstein: > Hi, > > I've just submitted an iOS app to the AppStore and I can see in the Binary Details section that the app localization is set to "English". > > My app is bilingual, in Spanish and English and I need these information to be showed correctly in iTunes. > > I've been searching in the LiveCode documentation and couldn't find anything about this issue. Also I couldn't find any way for changing this data in iTunes Connect. > > How this can be achieved ? > > Thanks and Best Regards. > > > ______________________________ > Sergio Schvarstein > sschvarstein at gmail.com > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sschvarstein at gmail.com Thu Apr 5 07:59:11 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Thu, 5 Apr 2012 13:59:11 +0200 Subject: Localization languages In-Reply-To: References: Message-ID: <27BEF39D-00BE-4E17-97C8-7C2D5CDBEE34@gmail.com> Hi Monte, Thanks for your quick answer and I agree it must be an option in the standalone settings. I really cannot understand your suggestion and please excuse me for my ignorance. What is an .lproj folder ? Can you give me some more details ? Can I get a binary with both localization languages included or you are talking of creating two different apps ? Kind regards. ______________________________ Sergio Schvarstein ______________________________ El 05/04/2012, a las 13:48, use-livecode-request at lists.runrev.com escribi?: > I agree, this could be documented better and even supported in the standalone builder. You need an empty .lproj folder for each language you support. > > Cheers > > -- > Monte Goulding From livfoss at mac.com Thu Apr 5 09:03:25 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 05 Apr 2012 15:03:25 +0200 Subject: iOS - picking from a scrolling list In-Reply-To: References: Message-ID: Chris, thanks again: you learn something new every day! As often in LC, this means that there are two pretty different ways of doing the same thing. While you were asleep (probably, as I see you're minus 6 hours compared to me), mobGUI support (in the person of John Dixon) clarified his first example, which I found worked but I couldn't see how to modify. I was impressed with John's solution as well as his speed of response. He showed my how to alter the size and spacing of the text in the list etc. One has to understand which properties to alter within a group. Perhaps with a few more setProp handlers the group could be made to look like a 'normal' LC object, with all its properties 'on the outside' so to speak, but I will be content with what I have just now. Underlying all this is something I really can't understand at all, which is how a LiveCode scrolling field can be incorporated into an iOS object which has been instantiated at runtime, and they then somehow run in concert, with the data (lines of text) being in the LC object but at the same time being scrolled by the iOS object with all the rolling and bouncing behaviour which is expected. This is subtle and confusing, and I'd love to read a tutorial on this which would illuminate it for me. Meanwhile at least I can get on with my app. Graham On Wed, 04 Apr 2012 13:38:39 -0600, Chris Sheffield wrote: > You can change the appearance. So it can be a picker wheel or a scrolling list of values to pick from, much like you described in your initial post. At least on the iPad. Maybe the appearance is always the same on an iPhone/iPod Touch. Not totally sure. Anyway, I have an iPad app where I've used the scrolling list version and it works well. It would be nice if it had some other options available, like being able to set the position or being able to apply text styles. > > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > On Apr 4, 2012, at 1:23 PM, Graham Samuel wrote: > >> Chris, thanks. I have had a look at this (I did not know about it at all) but it isn't really what I had in mind. I want a long list like a set of names in a notebook, so the style I'm looking for is much more like Apple's Contacts app, which does present such a list and allows one to pick from it, rather than a wheel where one sees very few names at any one time, and it is quite hard to whizz from one end of say a 100-item list to another. I'm pleased to say that I've had a reply from MobGUI and I'll see what that looks like and report back. >> >> Graham >> >> OnWed, 04 Apr 2012 10:42:51 -0600, Chris Sheffield wrote: >> >>> >>> Check out iphonePick, or mobilePick if you want to be cross platform. That should do what you want. It's all explained in the dictionary. >>> >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>> On Apr 4, 2012, at 10:31 AM, Graham Samuel wrote: >>> >>>> In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. >> [snip] >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Thu Apr 5 09:20:08 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 5 Apr 2012 08:20:08 -0500 Subject: MobGUI, what am I doing wrong? Message-ID: I have a field object, a button object, and a browser object. If the button script is this, it works as expected: *on* touchEnd pId mobGUIUntouch the long id of me *put* the uText of *group* "URL" into tURL *if* char 1 to 7 of tURL is not "http://" *then* *put* "http://" beforetURL iPhoneControlSet gBrowserA["browser"],"url",tURL *end* touchEnd But I also have a card script of: *on* setURL tURL iPhoneControlSet gBrowserA["browser"],"url",tURL *end* setURL and if I change the button scrip to this, it fails: *on* touchEnd pId mobGUIUntouch the long id of me *put* the uText of *group* "URL" into tURL *if* char 1 to 7 of tURL is not "http://" *then* *put* "http://" beforetURL setURL tURL *end* touchEnd I've tried inserting *put* tURL into fld "test" into both scripts, and it seems to be working. Is there a way I can debug this within LC? Given the way browser objects are handled I've only been testing in the simulator. From kee at kagi.com Thu Apr 5 09:21:27 2012 From: kee at kagi.com (Kee Nethery) Date: Thu, 5 Apr 2012 06:21:27 -0700 Subject: Localization languages In-Reply-To: <27BEF39D-00BE-4E17-97C8-7C2D5CDBEE34@gmail.com> References: <27BEF39D-00BE-4E17-97C8-7C2D5CDBEE34@gmail.com> Message-ID: <1E683EDE-D0B8-41EB-B8F1-63617EFB20BE@kagi.com> It is very very simple. Create two folders. One named "en.lproj" and the other named "es.lproj". You don't have to put anything into the folders. Empty folders are fine. In your standalone app, use the "Show Package Contents" in the Finder to view the insides of the app. Open the "Contents" folder. Open the "Resources" folder. Put the two empty lproj folders into the Resources folder. That is it. If you open any non-LC app you will see lproj folders within Contents/Resources for each language that app supports. The app store opens your app and looks inside to see what languages it supports. You can name the folders "English.lproj" or "en.lproj" and "Spanish.lproj" or "es.lproj" but the trend is towards using the ISO names for the languages. Kee Nethery On Apr 5, 2012, at 4:59 AM, Sergio Schvarstein wrote: > Hi Monte, > > Thanks for your quick answer and I agree it must be an option in the standalone settings. > > I really cannot understand your suggestion and please excuse me for my ignorance. > > What is an .lproj folder ? Can you give me some more details ? > > Can I get a binary with both localization languages included or you are talking of creating two different apps ? > > Kind regards. > > > ______________________________ > Sergio Schvarstein > > ______________________________ > > > > > El 05/04/2012, a las 13:48, use-livecode-request at lists.runrev.com escribi?: > >> I agree, this could be documented better and even supported in the standalone builder. You need an empty .lproj folder for each language you support. >> >> Cheers >> >> -- >> Monte Goulding > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 5 09:44:43 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 Apr 2012 09:44:43 -0400 Subject: iOS - picking from a scrolling list In-Reply-To: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> References: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> Message-ID: <89A8D2FB-8C6F-44C0-9EC3-CB5658089B34@mac.com> Graham, I don't use mobgui but instead I use tmControl for layout of iOS elements. There are two types of scrolling lists possible in LC. The first is using mobilePick by itself or use an option button (that uses the iOS mobilePicker). The second is using either an LC field object or other objects like the list field in tmControl but either of these needs to be in a group and the group can now have an iOS scroller applied to it. If you create a field that is very long and group it then select the group and make it shorter than that field it will scroll. I can't remember if the group needs locked or not. There are a couple of glitches to watch out for. Here is parts of a script that controls a grouped field and an iOS scroller. A mouseUp in the field can return the desired line etc. local sScrollerId on scrollerDidScroll pOffsetX, pOffsetY lock screen set the hScroll of group "InputScrollerGroup" to pOffsetX set the vScroll of group "InputScrollerGroup" to pOffsetY unlock screen end scrollerDidScroll on openCard set the layerMode of group "InputScrollerGroup" of this card to "scrolling" set the unboundedHScroll of group "InputScrollerGroup" to true set the unboundedVScroll of group "InputScrollerGroup" to true -- add items to a field "Counter" and have it grow to fit the contents set the height of field "Counter" of this card to the formattedHeight of field "Counter" set the top of field "Counter" to the top of group "InputScrollerGroup" set the threeDHilite of field "Lap Counter" to false iphoneControlCreate "scroller", "InputScroller" put the result into sScrollerId put the rect of group "InputScrollerGroup" into tRect iphoneControlSet sScrollerId, "rect", tRect put the formattedHeight of field "Counter" into tHeight iphoneControlSet sScrollerId, "contentRect", (0, 0, 0, tHeight) iphoneControlSet sScrollerId, "indicatorInsets", (0,0,6,0) iphoneControlSet sScrollerId, "visible", "true" iphoneControlSet sScrollerId, "canBounce", true iphoneControlSet sScrollerId, "declerationRate", fast iphoneControlSet sScrollerId, "scrollingEnabled", true iphoneControlSet sScrollerId, "canScrollToTop", true iphoneControlSet sScrollerId, "delayTouches", true iphoneControlSet sScrollerId, "vscroll", 0 set the vScroll of group "InputScrollerGroup" to 0 set the vScroll of field "Counter" to 0 focus on nothing iphoneControlDo sScrollerId, "flashScrollIndicators" end openCard on closeCard iphoneControlDelete "InputScrollerGroup" end closeCard -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 4, 2012, at 12:31 PM, Graham Samuel wrote: > In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app. > > I have looked at the latest iOS notes for LC5.5 (Scroller Control - UIScrollView) and I can't understand how the textual list (like an ordinary LC scrolling field) would come in to the scroller; I'm also just beginning to use MobGUI to introduce some native controls, and that has a scroller object too. It is complex and consists of a group into which it is possible to introduce such an LC field, but in that case it is sensitive to touches, but not to dragging/scrolling - I tried setting the parameter 'delay touches' but it didn't seem to change anything. > > Obviously I have missed some underlying concept here. The LC iOS doc says that a scroller isn't a container for other controls, but I don't know what that means. It seems a gnomic pronouncement rather on the lines of "Light is not a thing" or ?Die Welt ist alles, was der Fall ist.? Sounds terrific, but what does it actually mean? > > I also tried reading the UIScrollView section of Apple's documentation. It's promising in a way (it mentions the need to do the kind of thing I'm talking about) but it doesn't help me enough to allow me to proceed. > > Does anyone know how to do this? I have asked MobGUI support, but I don't know how reactive they are. > > 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 lfredricks at proactive-intl.com Thu Apr 5 10:01:59 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 5 Apr 2012 07:01:59 -0700 Subject: [OT] HyperNext Android Creator In-Reply-To: <4F7D1E71.7070801@gmail.com> References: <4F7C5C29.8090004@gmail.com><4F7C8B03.5060407@fourthworld.com><9B56793E-D046-4F58-A7E0-B082951479C8@twft.com><30D735E6D4384ED68C43294783583ECB@GATEWAY> <4F7D1E71.7070801@gmail.com> Message-ID: <401C0055E5E34E15BF72AD21A12676F2@GATEWAY> > No, it's something more like Shotoflop, Agitator Pro, > Quacktime, Microsquash Sentence or Pornographer Home Edition! Sadly - a couple of these names I could imagine as becoming "an app for that!" ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pete at mollysrevenge.com Thu Apr 5 18:51:02 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 Apr 2012 15:51:02 -0700 Subject: Disabling a tab In-Reply-To: <4F78D3D9.2080403@pdslabs.net> References: <4F78AFFD.8060302@comcast.net> <4F78D3D9.2080403@pdslabs.net> Message-ID: Phil and Marty, Wanted to pass on to you that, while the enable/disable solution, it changes the selectedtext property of the tab control. Didn;t get a chance to see if using the "(" prefix did the same thing or not. Pete On Sun, Apr 1, 2012 at 3:16 PM, Phil Davis wrote: > Hi Pete, > > As usual in Livecode, there are multiple ways to disable a tab. If you > want to manipulate the button text directly, you can put "(" before the > line of button text for the tab you want to disable. Or to enable all tabs, > replace "(" with empty in text of btn 1. > > Best - > Phil > > > > On 4/1/12 1:45 PM, Pete wrote: > >> Thanks Marty. Sometimes the obvious just slips by me! >> Pete >> >> On Sun, Apr 1, 2012 at 12:43 PM, Marty Knapp >> wrote: >> >> Hey Pete, >>> Using "disable menuItem 2 of btn "Tab Menu" seems to work. >>> >>> Marty Knapp >>> >>> I have a tab control and I'm using the method of revealing data on each >>> >>>> tab >>>> by having groups with the same name as each tab which are hidden/shown >>>> when >>>> a tab is clicked. >>>> >>>> Depending on data conditions, I need to disable one of the tabs, meaning >>>> that clicking ion it has no effect. Right now, I'm doing this in a >>>> selectionChanged handler that checks the data condition, beeps if the >>>> use >>>> clicks on a disallowed tab, and leaves the original tab/group displayed. >>>> >>>> That works OK but there is no visual indication that the tab is not >>>> available. Ideally, I'd like the text in the tab heading to be greyed >>>> out, >>>> kinda like a disabled menu item. Any ideas how to do that? >>>> >>>> >>>> >>>> ______________________________****_________________ >>> >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**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 > > -- Pete Molly's Revenge From jperryl at ecs.fullerton.edu Thu Apr 5 20:06:31 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 5 Apr 2012 17:06:31 -0700 (PDT) Subject: EdMedia 2014 (Europe) Call for Proposals to Host (fwd) Message-ID: ---------- Forwarded message ---------- Having trouble viewing this email? Click here http://campaign.r20.constantcontact.com/render?llr=kvjx7fdab&v=001euir7dY8GMXfWIClhJgHl82TvTBYogd9NUPE_Pv1lU0Vq0tletbgxZwuCIWueIDAKU_xPyz6IsVoImZMTEJovrQWvT1lAQW1JlMkIO00kSkSj1zjEP_arw%3D%3D Quick Links Request for Proposals [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIAoZidfQftzz0nfo2CncNgPTG-Z-V-brAbelPDbuy1N8T4yJhaAcsGi-Kwhe94KKU0_iaxpeV9SKCZ5Lz93wpvZ9ufKXFpPpvXOOKhNCwkKfC52wiQASdM_Uv4PWHMNdXU=] EdMedia Conference [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLICWAyxlEI8MyuGaMLEX3VmLj_-Vtu6xh5CoPH2F05xDMDDonQvRphiP6ykRkT_F9ygvfmvJA6u_LPDAkZs4R8GDi08mGOJUYw868NV2WkivuDmUNd9Au7zP] Countries Represented [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIADi9Hlb-lZcREurbxz_42EghGwWSuLPCpejS0qxMLOafKAFIChIe7DBkCBNvO38TFOIeZPIj13OJifYeZ1gOOxGLgoiofZVRmLhbKvxgiGGdK0IFIe-RmPntSkEoH-q8L1iXbxspLRyg==] AACE Homepage [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIBuyXLtq3lj-VlesuVi_1tpYDlTVjdCihcW1Xc_EhZPzd8JxnFQkNIt6dAUqbpz6pKBFWDcsaijnwpilvwoOiuWDXdZ5pcFS_E=] AACE Contact Info [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIBtGdH5EAg6mVMvuG2Mcu8ZNs7c33xtUBlPxQhfSme9qfrxgzc28shjYQzinDOiFFe0nKkWaYAR3VHdfWZcHLGh6YqLbB6LvsXWfTFgzFJMiA==] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Organized by: AACE logo 1 [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIAbAfV-FZNZw_p4dgMYwzzf8biGiUeXkxFi8B5BDy96piQEWdMx6Vy7ZFx2aYU2vxYK17-QPG4v_NPsN4rWdNdnFFtA8F60Ja4=] Association for the Advancement of Computing in Education ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yellow Stripes [http://ui.constantcontact.com/sa/fwtf.jsp?m=1102930749098&a=1109679127110&ea=jperryl%40ecs.fullerton.edu] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edmedia 2014 logo [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIAoZidfQftzz0nfo2CncNgPTG-Z-V-brAbelPDbuy1N8T4yJhaAcsGi-Kwhe94KKU0_iaxpeV9SKCZ5Lz93wpvZ9ufKXFpPpvXOOKhNCwkKfC52wiQASdM_Uv4PWHMNdXU=] CALL FOR PROPOSALS TO HOST EUROPE: JUNE 2014 http://aace.org/conf/edmedia/RFP.htm [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIAoZidfQftzz0nfo2CncNgPTG-Z-V-brAbelPDbuy1N8T4yJhaAcsGi-Kwhe94KKU0_iaxpeV9SKCZ5Lz93wpvZ9ufKXFpPpvXOOKhNCwkKfC52wiQASdM_Uv4PWHMNdXU=] Proposals Due: June 15, 2012 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EdMedia [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLICWAyxlEI8MyuGaMLEX3VmLj_-Vtu6xh5CoPH2F05xDMDDonQvRphiP6ykRkT_F9ygvfmvJA6u_LPDAkZs4R8GDi08mGOJUYw868NV2WkivuDmUNd9Au7zP] -- World Conference on Educational Media & Technology is planning to hold its conference in Europe, June 2014. The EdMedia conference, held in Europe every 3 years, always is a popular and successful event! Proposals to host this conference are requested. Deadline for proposals is: June 15, 2012. The Request for Proposals to Host EdMedia 2014 is located at: http://aace.org/conf/edmedia/RFP.htm [http://r20.rs6.net/tn.jsp?e=001I3FO72tGLIAoZidfQftzz0nfo2CncNgPTG-Z-V-brAbelPDbuy1N8T4yJhaAcsGi-Kwhe94KKU0_iaxpeV9SKCZ5Lz93wpvZ9ufKXFpPpvXOOKhNCwkKfC52wiQASdM_Uv4PWHMNdXU=] We look forward to receiving your proposal. All proposals will be discussed by the EdMedia Executive Committee prior to and at EdMedia 2012 (June 26-29) in Denver, CO. You need not be present at this event to be considered. Contact: Email: Conf at aace.org [mailto:conf at aace.org] Mailing address: AACE, P.O. Box 1545, Chesapeake, Virginia 23327-1545 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Forward this email http://ui.constantcontact.com/sa/fwtf.jsp?llr=kvjx7fdab&m=1102930749098&ea=jperryl at ecs.fullerton.edu&a=1109679127110 This email was sent to jperryl at ecs.fullerton.edu by sarah at aace.org. Update Profile/Email Address http://visitor.constantcontact.com/do?p=oo&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=0019Gojbv4HxLoQ18cmpCBJGA%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Instant removal with SafeUnsubscribe(TM) http://visitor.constantcontact.com/do?p=un&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=0019Gojbv4HxLoQ18cmpCBJGA%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Privacy Policy: http://ui.constantcontact.com/roving/CCPrivacyPolicy.jsp AACE | info at aace.org | 757-366-5606 | P.O. Box 1545 | Chesapeake | VA | 23327-1545 From jperryl at ecs.fullerton.edu Thu Apr 5 20:07:17 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 5 Apr 2012 17:07:17 -0700 (PDT) Subject: E-Learn 2012 (Montreal, Quebec) Call for Presentations: May 25 (fwd) Message-ID: ---------- Forwarded message ---------- For E-Mail Web Version Click Here http://campaign.r20.constantcontact.com/render?llr=kvjx7fdab&v=001cNWX07JYSkTJmWpmO0_Zerzbe3fNDewy6Vtq9kIl2r1cGzgJIoZrqfhYZCd_mkJzVIv69vnA_fXRuNv_l2CmBDcl1ZeRFNKoSgjfXks0Ppns9tBea9Rymg%3D%3D October 9 - 12, 2012 * Montr?al, Quebec Call for Participation Proposals Due: May 25, 2012 aace.org/conf/elearn [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohEPFVDqKVSKkdTqhFpnSM7Lm5rop4om6qZjJq3pIbuiOiMyusS_KA_0TupD-4FZy934Rb7WUEBXuVHmt4t_EAZKyIv6pln0mLHcQ7aL-WvevoyQx_rvHta] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Montreal 1 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oivk2N3mXRArwxg1dUIRsh8iO4qcmSwyAzElovrQi7-C31_WbzKnGkaptwgTQ5TiSVdSR4NDigZISFFGCAF57XqCrRYdyBYfrxQ5UpEqN0rtJaTiETtaqPEIdcMYjeDjs0=] Le Centre Sheraton Montreal October 9 - 12, 2012 CALL FOR PRESENTATIONS [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi-aJ01SQbgugABX895-RJ2P_BZCCtaTfcHQzOYepRRXeF2rgO3jmGgyCN6wO2TlFdEMEGHnqV2luUDZqlbKg-zSrCWGF4rVfgs7nZqYsDLQmNgxsIUVvYipsGd1xlEFmc=] E-Learn 2012 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiHel_moAffufy2TzDmpyjLBi3I8oJrOBQBD5jVxoluy5-5HMg_LBkLEtRVFgTKzUklofFN3JfLct8mJE0p2zipSNm961wxQLenYqUuNTm8HZxYwgdgo4RA] -- World Conference on E-Learning in Corporate, Government, Healthcare, & Higher Education is an international, annual conference which serves as a multi-disciplinary forum for the exchange of information on research, development, and applications of all topics related to e-Learning in these four sectors. All presentation proposals are reviewed and selected by a respected, International Executive Advisory Board [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oim_LgWOMtPNJznaMKugxNoOAzCmIkB2fi_lidFwxr1EWZH3KHWefvUOeK50OxVIWruuDrqzK793PPTnAfzqt9PaO68wMPLGuvv9Pqv9gwoHaZ3KfuGly-N_KBsM1eq-tr3rxawjqjSTQ==] and Program Committee [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogW6VKSH06H5mIkhqAy-dM70NXirfEDuFFSmeX2bLML6Lgq1RV_QDtHUBU0T4_W-NQHpKCq9qCO0CYm-5-iZyWewaTKqcSgHPZEyrVSv-Jbq8_9-MEjjr7KtHbLn5jP8Pnuo1a_FhYWwA==], based on merit and the perceived value for attendees. Accepted proposals will be included in the conference program and Proceedings, available on EdITLib [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi68e-G8UfeQTJbv2Cku7tg1BmxbcDQiRmPCWZy7iM1kuQucXcD-Hk-aTNYCJg-k0OZ0Zryww05fZQcPDZoCVyGrOLp2dWVSRQ=] - Education & Information Technology Digital Library. E-Learn spans all disciplines and levels of education and attracts more than 1,000 attendees from over 60 countries. We invite you to attend E-Learn and submit proposals for presentations. Click here for Color Poster PDF to Print & Distribute [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohliGVciY7P7CtJEvS3WowV7IfBLrR8TUFfos5zYCvTLbkFh-ffcLafsutSN82eGi85vPNSHegH_WqyQuScVZYHFg8tbwS0eYOHlF0lqxKIdLHOW4HVqLYSoC1J_leib6NKQq1bt9G1Ew==] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registration & Hotel Information Click Here for: E-Learn 2012 Registration Rates [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogvUFTmv4QUyDmDeTsP8lVSHkOlQXG3WQspFQeqLWzeK422u1JVg1V0LXy_ZkUdAqOVOajaWeyCPzBlnbBBadAHIMJwtlfirrJ_DElzd-MuBzaBq7ZImSCFB3l0CQ37Zak=] Hotel Information : Le Centre Sheraton, Montreal, Quebec [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiU0XN1yeN3LZiY0xn32FoibEWhVRfkHYzZ8utgkZLsrC3BdV7pWMkHpU_w4W7q80c9IjqGi8jXJGxxXwqDUsx-uVK_G699_S4u9VsYgsu0RmSnKZ17YHChjwIfxc9xfH_JUMcYQqD9DZ1qH5ZBIpyh] Montreal 2 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiHel_moAffufy2TzDmpyjLBi3I8oJrOBQBD5jVxoluy5-5HMg_LBkLEtRVFgTKzUklofFN3JfLct8mJE0p2zipSNm961wxQLenYqUuNTm8HZxYwgdgo4RA]LeCentre Hotel 1 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiU0XN1yeN3LZiY0xn32FoibEWhVRfkHYzZ8utgkZLsrC3BdV7pWMkHpU_w4W7q80c9IjqGi8jXJGxxXwqDUsx-uVK_G699_S4u9VsYgsu0RmSnKZ17YHChjwIfxc9xfH_JUMcYQqD9DZ1qH5ZBIpyh] Special discounted hotel rates have been secured for E-Learn participants at the Le Centre Sheraton Hotel. To receive this rate, identify yourself as an E-Learn attendee. Reservations must be made by September 5, 2012 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Presentation Categories and Topics Montreal Flowers [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiHel_moAffufy2TzDmpyjLBi3I8oJrOBQBD5jVxoluy5-5HMg_LBkLEtRVFgTKzUklofFN3JfLct8mJE0p2zipSNm961wxQLenYqUuNTm8HZxYwgdgo4RA] E-Learn 2012 Topics [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojIPWdOxim9lN0fG-Nmwr1ny_xnO-mzQ42SAuhn9Jw4JiY493scLINgBtx7wJRnCg-GAyIrYIRzMfADiDl5GPSPoCzkFiqzkfzKeukC7ppWXMu5oGJXlnjY-1kBL3bZFZE=] The scope of the conference includes, but is not limited to, the following topics as they relate to the e-Learning and the technologies supporting e-Learning. * Sectors or Application Domains [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogkLe1YgmVzr_vB_OHDVu-FFKT9He8IXcq9219IhMcHfoX1p12yQE2i-i6bbJthBmWWfN02bKRG18makywOWzn8Wz4GJfBMSCDS-MyD7dC77pYgiwTPforjgyi-WBKtGe129KK8zLp8BQ==] * Major Topics [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojclYlOC5y1o2_FOmxzcgIik7N4YpeL9_dXkSLa1plvrs3papaSFZPsctfwJcyzw77BvGkGDu4xBKwH7ZZ7SMZoebh7TMIuBY7aiA_mZ0qp4sN6pLRurQ7DtvEW732unIl18O2Y5i__eg==] * Specific Topic Examples [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogAM2xkIx4TFi6TYdEaJUwbM4Ki7fmXtEVmfWeDW0K5WVAXekF1yL7FS44Wf1Qqk6_m7VsCACI1FjVYMWqNL0RAGXib-QIEUQC7cweXf1pnhAIlbmKltKlC3lIeLmoqadIZotUvDLnSlPoDGkCIM0Dw] Presen [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohofP7of1YSK_hcua6KGTemn09Lk89bnIvmC44hNaGy_1gZ8phne4pgJdq9hzL5kHuiT0kvug6zPD5_H1g4C2a6FNWwVQrrj8woawrE8QYfXskrV5VKXq7GpXV30r6_ckw6T33-4sXb3g==]tatio [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohofP7of1YSK_hcua6KGTemn09Lk89bnIvmC44hNaGy_1gZ8phne4pgJdq9hzL5kHuiT0kvug6zPD5_H1g4C2a6FNWwVQrrj8woawrE8QYfXskrV5VKXq7GpXV30r6_ckw6T33-4sXb3g==]n Categories [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohofP7of1YSK_hcua6KGTemn09Lk89bnIvmC44hNaGy_1gZ8phne4pgJdq9hzL5kHuiT0kvug6zPD5_H1g4C2a6FNWwVQrrj8woawrE8QYfXskrV5VKXq7GpXV30r6_ckw6T33-4sXb3g==] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Deadlines & Quick Links Call for Presentations [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi-aJ01SQbgugABX895-RJ2P_BZCCtaTfcHQzOYepRRXeF2rgO3jmGgyCN6wO2TlFdEMEGHnqV2luUDZqlbKg-zSrCWGF4rVfgs7nZqYsDLQmNgxsIUVvYipsGd1xlEFmc=]: May 25 Early Registration [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oh9AZHgYd1-vviSL4uLYyJEhWGOlpubq81KURJdRqOITSBeLAmETGVNq-itYu0TUrn4r5RGdAVfYDgf889Nzhx2d-6L7anMPbz7G-zsfPkfexdrbH1a-W_Yjx594Qd7MdMgcgWBglT5Tv9bugLfZ84hXS6zqNqIUGs=]: September 7 Proceedings File [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogaiz2rtDlc6z-Irt7QwNNVzPnG2tdA4JySFZZcebeq8YCU5T0W5cQeeCHJGOLjYsZiP4J9dieErQMyoQHkymvGIia0ugSNtflpZ0gSj_oUQfiEAHveE-VTgf2hE8AHDWejs4WvX7dfYg==]: September 7 Hotel Reservations [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohPBTDn0QSzDldwJDa8OoA6NNLgZmMaGeTsX9RGpLoYhH5Ft75fHA2rhtENleAtyzUiyZJLq0Y7rtXBT2Lfzv7EiApdwNDdLLueYW7ea0qB4Utr37W-ty2quBw9srvxMkXtlYlCVKykuA==]: October 5 Call for Participation PDF to Print [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohGeRml1VINn7Jw4CUq9geScRTfaW7KmcG9sehQRhfZgm6Css1iWUwf8Tbt6qitPkoXmixYLCdXrZlYEJ7mbcqssrh7aWFELvIWIZzmnqb-aU6O3BE0RpqR4Qw5n5ClCSg=] About Montr?al [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oivk2N3mXRArwxg1dUIRsh8iO4qcmSwyAzElovrQi7-C31_WbzKnGkaptwgTQ5TiSVdSR4NDigZISFFGCAF57XqCrRYdyBYfrxQ5UpEqN0rtJaTiETtaqPEIdcMYjeDjs0=] Topics [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojIPWdOxim9lN0fG-Nmwr1ny_xnO-mzQ42SAuhn9Jw4JiY493scLINgBtx7wJRnCg-GAyIrYIRzMfADiDl5GPSPoCzkFiqzkfzKeukC7ppWXMu5oGJXlnjY-1kBL3bZFZE=] Presentation Categories [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohofP7of1YSK_hcua6KGTemn09Lk89bnIvmC44hNaGy_1gZ8phne4pgJdq9hzL5kHuiT0kvug6zPD5_H1g4C2a6FNWwVQrrj8woawrE8QYfXskrV5VKXq7GpXV30r6_ckw6T33-4sXb3g==] Submission Guidelines [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogaiz2rtDlc6z-Irt7QwNNVzPnG2tdA4JySFZZcebeq8YCU5T0W5cQeeCHJGOLjYsZiP4J9dieErQMyoQHkymvGIia0ugSNtflpZ0gSj_oUQfiEAHveE-VTgf2hE8AHDWejs4WvX7dfYg==] Presentation & AV Guidelines [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ohhl34cn6lz9RA72pf_zDc2KmbIrGN5YfGCAcBtLgXG_PjNQOMIPcwzOr1HzsOKcrDSTnjMGIJ0-wPjmw_S0kZxc85AfkIK5kl6kmIvpVhNdmHgKUSLlR3pufk2FMWIbTUvIg41zceSWg==] AACE Membership [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oj4mS0gslamgHjWsGQyczB-4lHI6g6ilQskZSNc1g61XVS7WctQXvwYrveQRrcm0a_-rhGeAhB1m3RQCQh6V0Y5lRT_xUDa0I4ffcJzRzfS-Yi7wn2TMaed] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Organized By: AACE logo 1 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi6ypk-5pqFYezcJiO0che8ACVjNd0N1C5EtT3ZQLXONX18otvtynkWxTNzE4N9Lq6PIc43q0D2LjI32qjV_Xu5UBZt1vCXiy8=] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sponsored By: EdITLib Logo [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi68e-G8UfeQTJbv2Cku7tg1BmxbcDQiRmPCWZy7iM1kuQucXcD-Hk-aTNYCJg-k0OZ0Zryww05fZQcPDZoCVyGrOLp2dWVSRQ=] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AACE Conferences EdMedia 2012 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oj74aHgA_0WA8akrBAQ_kIBAKqk8RglXBiNzN1FTSkzQqv7mrP7Auq4B8uPgI8CehEZzJZ20qyFglo1LoCESdwImOnXFyGU3th4RZnmR6XGBh7_Zjavvh4y] Denver, Colorado * June 26 - June 29, 2012 E-Learn 2012 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oiHel_moAffufy2TzDmpyjLBi3I8oJrOBQBD5jVxoluy5-5HMg_LBkLEtRVFgTKzUklofFN3JfLct8mJE0p2zipSNm961wxQLenYqUuNTm8HZxYwgdgo4RA] Montr?al, Quebec * October 9 - 12, 2012 Global Learn 2012 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oi-hcby4y9BXWbe2uEmHqF42g7Yy8Kb7mhl-_pl0XPdrIcsYvFSbnav1dTSnOPvetNjr8k_kW1F-QM6nON7FEoa04X91YYkFz0-YaojA7BZ_dYMeevGIBXH] Online Conference * November 6 - 8, 2012 SITE 2013 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ogGcEbpyJ_tODwKXCXC-wFbGuGFLd9J2dv6dPFLcoHGWZ3GCljkk68Q8mOMsmSoU9GWhU6ZwwVoOx6xenlsTmcfhQjYohSAsJOfdozqU4O6QA==] New Orleans, Louisiana * March 25 - 29, 2013 Global TIME 2013 [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05oj8O4a6KPBXRBKnC9KVn59369wmWqX2gX-g-hr04rT3jFEqdu-reVMbpF4bKI1LJ5Le7tNzyc78pbrjFqZLUVAUol682RJ0oCH6MVOqHgqNai9HkwWs9ouO] Online Conference * February 12 - 14, 2013 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Social Networking Networking: facebook logo [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojYXESRF_zMyOMFNgjGCXgO00eLtR6GCXWIK5s5DcGSaEznv-f60BOdTMaeEQGlNPhjQntAgD6ZwPVgYX_VlNDYZ8i1r_B0JtGgZsIBdnRNu-HBe518wdyn]AACE Facebook [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojYXESRF_zMyOMFNgjGCXgO00eLtR6GCXWIK5s5DcGSaEznv-f60BOdTMaeEQGlNPhjQntAgD6ZwPVgYX_VlNDYZ8i1r_B0JtGgZsIBdnRNu-HBe518wdyn] Networking: twitter logo [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojd9xLfJPNkutQvMsSQco97xQvqznXhBj5WbVHG59nyoJw87j6uFvmr1WXSQO9gkonfFtneeFQ7igHtQV7yM6O4vPv65GcFA4dnTjhTWoC-SA==]E-Learn Twitter [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojd9xLfJPNkutQvMsSQco97xQvqznXhBj5WbVHG59nyoJw87j6uFvmr1WXSQO9gkonfFtneeFQ7igHtQV7yM6O4vPv65GcFA4dnTjhTWoC-SA==] Networking: blog logo [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojUjlTNcN4EpCqOrjqLQEVELb4FIhPqvgcbgDxJo_ihLjOC0LxYcdTUREZgsDDRuDD4UYxHB-3T55cs6YYF3qukD4cfoy78Sr17VWUy3zzauhkjEjgtVp8i]AACE Blog [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojUjlTNcN4EpCqOrjqLQEVELb4FIhPqvgcbgDxJo_ihLjOC0LxYcdTUREZgsDDRuDD4UYxHB-3T55cs6YYF3qukD4cfoy78Sr17VWUy3zzauhkjEjgtVp8i] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Conference Proceedings Conference Proceedings are now available foGreen Book [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojctzZodQeQYmnZu70HHQcBfbzB9P_W6dvkX2k4NRH59h9GqYoCmXw5gDOumbWFBgUnzxY5lynwVooVHx9hm1Pxwc-nJyGk5R7NlViGaFQvRCy1HKoyQr0G]r purchase in book form at the AACE Online Bookshelf [http://r20.rs6.net/tn.jsp?e=0017tVmSDw05ojctzZodQeQYmnZu70HHQcBfbzB9P_W6dvkX2k4NRH59h9GqYoCmXw5gDOumbWFBgUnzxY5lynwVooVHx9hm1Pxwc-nJyGk5R7NlViGaFQvRCy1HKoyQr0G] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Forward this email to a Friend [http://ui.constantcontact.com/sa/fwtf.jsp?m=1102930749098&a=1109683569413&ea=jperryl%40ecs.fullerton.edu] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Forward email http://ui.constantcontact.com/sa/fwtf.jsp?llr=kvjx7fdab&m=1102930749098&ea=jperryl at ecs.fullerton.edu&a=1109683569413 This email was sent to jperryl at ecs.fullerton.edu by updates at aace.org. Update Profile/Email Address http://visitor.constantcontact.com/do?p=oo&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=001aEJdifPFo7X2cZvmokUhIA%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Instant removal with SafeUnsubscribe(TM) http://visitor.constantcontact.com/do?p=un&mse=001C5H1Ps_ZTVsRtq3TTAGgsou5RdIWpJHLDMr6xymGdRk%3D&t=001aEJdifPFo7X2cZvmokUhIA%3D%3D&lang=001FCSs65SMrsI%3D&llr=kvjx7fdab Privacy Policy: http://ui.constantcontact.com/roving/CCPrivacyPolicy.jsp AACE | 757-366-5606 | P.O. Box 1545 | Chesapeake | VA | 23327-1545 From jperryl at ecs.fullerton.edu Thu Apr 5 20:09:55 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 5 Apr 2012 17:09:55 -0700 (PDT) Subject: Forwarded from Grandpa L In-Reply-To: <6E9E7AE0-5423-44A6-90D4-523A07500189@aol.com> References: <6E9E7AE0-5423-44A6-90D4-523A07500189@aol.com> Message-ID: I've been looking at this with interest... Nice that somebody with 30 seconds on their hands can spare it to provide a review. :-) Judy On Wed, 4 Apr 2012, Paul Looney wrote: > Amber, > This was on one of the lists I follow. > Bob Earp is a fellow programmer who lives in British Columbia. I've met him several times and he seems like a sharp fellow. > You might be interested in the link he provided: > >> www.khanacademy.org > > > Grandpa > > > On Apr 4, 2012, at 1:48 PM, Bob Earp wrote: > >> For those "technology in the classroom" nay-sayers on the list, and everybody else for that matter who has not taken a look at the success schools and individuals are having with Salman Khan's model, go take a look first at http://youtu.be/gM95HHI4gLk >> >> Then explore www.khanacademy.org where there is literally thousands of educational snippets from the basics of math to such obtuse things as Apsidal Precession (Perihelion Precession) and Milankovitch Cycles, all for free. >> >> What's more, there is a built-in self paced educational model that seems to be having great success through all ages, but especially K - 12. >> >> As proof of success, in the last two days I have had grandchildren call and boast how they can do things that they have not been taught in the classroom yet, and their parent report that they are coming home and studying these things persistently and without encouragement. >> >> Seem like teachers are finally getting a break to spend time teaching, or rather managing teaching, to the individual level rather than the mean. >> >> I'm sold !! >> >> best, Bob... >> >> >> Bob Earp >> White Rock, British Columbia. >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Thu Apr 5 20:29:45 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 5 Apr 2012 20:29:45 -0400 Subject: [OT] Android for the HP Touchpad (ICS 4.0) Message-ID: I just happen to discover this when browsing YouTube, and I thought of Andre. If you ever decide to part ways with WebOS (not likely), your hardware is at least capable of running the latest incarnation of Android, and very well it appears. http://www.youtube.com/watch?v=Lj2l55-LOTo ~Roger From malamoud.public at free.fr Fri Apr 6 04:19:09 2012 From: malamoud.public at free.fr (Georges Malamoud) Date: Fri, 6 Apr 2012 10:19:09 +0200 Subject: Localization languages Message-ID: Hello I had the same problem. I had to modify the standard template from LC (locally on my Mac) which forces "English" as the default language Try to edit it, but make a backup of the old one before ! It should be there? It worked for me (French) http://forums.runrev.com/viewtopic.php?f=49&t=10365&p=47794&hilit=default+settings+change#p47794 Georges > Hi, > I've just submitted an iOS app to the AppStore and I can see in the Binary Details section that the app localization is set to "English". > My app is bilingual, in Spanish and English and I need these information to be showed correctly in iTunes. > I've been searching in the LiveCode documentation and couldn't find anything about this issue. Also I couldn't find any way for changing this data in iTunes Connect. > How this can be achieved ? > Thanks and Best Regards. > Sergio Schvarstein > sschvarstein at gmail.com From sschvarstein at gmail.com Fri Apr 6 04:40:15 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Fri, 6 Apr 2012 10:40:15 +0200 Subject: Localization languages In-Reply-To: References: Message-ID: <32478491-1DD5-4972-97D3-DEE758BF88C5@gmail.com> Great ! Thanks Kee and thanks Matthias. :-) I've added the two empty folders via the standalone settings and it worked. Now the binary localization is set to ("en","es") so let's see if in the iTunes info it appears as "English, Spanish". Just a little more question, for my curiosity: Kee suggested to add this folders via the Finder, opening the standalone package. As far as I know, if you open a signed package and you alter its contents, even in a byte, the signature will not work ok. Is that true ? Thanks again and Kind Regards. ______________________________ Sergio Schvarstein ______________________________ El 05/04/2012, a las 19:00, use-livecode-request at lists.runrev.com escribi?: > From: Kee Nethery > To: How to use LiveCode > Subject: Re: Localization languages > Message-ID: <1E683EDE-D0B8-41EB-B8F1-63617EFB20BE at kagi.com> > Content-Type: text/plain; charset=iso-8859-1 > > It is very very simple. > > Create two folders. One named "en.lproj" and the other named "es.lproj". > > You don't have to put anything into the folders. Empty folders are fine. > > In your standalone app, use the "Show Package Contents" in the Finder to view the insides of the app. Open the "Contents" folder. Open the "Resources" folder. Put the two empty lproj folders into the Resources folder. > > That is it. > > If you open any non-LC app you will see lproj folders within Contents/Resources for each language that app supports. The app store opens your app and looks inside to see what languages it supports. > > You can name the folders "English.lproj" or "en.lproj" and "Spanish.lproj" or "es.lproj" but the trend is towards using the ISO names for the languages. > > Kee Nethery From livfoss at mac.com Fri Apr 6 05:26:59 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 06 Apr 2012 11:26:59 +0200 Subject: iOS Keyboard options Message-ID: <89D88697-F880-4A37-8914-69E8CCDF40BA@mac.com> In the latest LC iOS Release notes, the options for changing the keyboard type and the look of the return key are described, with this note: > If you wish to configure the keyboard options based on the field that is being focused, simply use the commands in an openField handler of the given field. The keyboard is only shown after this handler returns, so it is the ideal time to configure it. > When I did this, it had absolutely no effect. OTOH, when I put the configuration statements in the preOpenCard handler (there is only one card in this test app), they worked fine. Did I do something wrong? Also, on the iPad but not the iPhone, a keyboard can have a little keyboard icon in the bottom right hand corner - can anyone save me the experiment and say what key or keycode this is? TIA Graham From yoshino at sys.wakayama-u.ac.jp Fri Apr 6 05:38:15 2012 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Fri, 6 Apr 2012 18:38:15 +0900 Subject: Unicode Problem Message-ID: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> Hi, expert! I am very glad to add some functions of unicode in LC 5.5. I use them, and I have some problems about the functions. If you use the unicode functions, please give me some information. 1. put unicode function Here is my script. on mouseUp put fld "Q1" into theUniData put unicode "???" into fld "A1" end mouseUp I am sorry, I used Japanese character in the script. In LC 5.5, I can use Japanese text in the script ! It is great! But, the result of the script is bat. Wrong character appeared in the field. 2. set the unicode text Here is my script. on mouseUp put "A1.txt" into theFileName put AbsolutePathFromStack(theFileName) into theFullPath open file theFullPath read from file theFullPath until EOF set the unicodeText of fld "A1" to it close file theFullPath end mouseUp I want read some Japanese from a file. LC can read text and put them into the field. Almost is OK. But there is not line feed in the text. If you use unicode function, please give me some information. _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 From livfoss at mac.com Fri Apr 6 06:47:48 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 06 Apr 2012 12:47:48 +0200 Subject: Another iOS keyboard question - properties of the keyboard Message-ID: <86FB797B-9E89-4607-9F0A-C008F34E9064@mac.com> I'm getting an iOS keyboard to come up by setting the lockText of a field to false when the user touches it - this is fine, up comes the keyboard. But the odd thing is that it appears set in 'caps lock' mode, with the shift key illuminated. This is one of several modes mentioned in the LC docs under 'iPhoneControlSet' (or mobileControlSet if you prefer). I would like to change this to one of the other modes (autoCapitalizationType "words"). However this applies to native controls which one has instantiated by script, whereas in this case the appearance of the keyboard was automatic so I have no access to its ID - do I? As I don't have an ID with which to reference the keyboard, so I can't alter its properties. Is there a solution to this? TIA Graham From cszasz at mac.com Fri Apr 6 07:09:51 2012 From: cszasz at mac.com (Charles Szasz) Date: Fri, 06 Apr 2012 07:09:51 -0400 Subject: A problem with Font Menu in LC Resource Center Message-ID: <765A9DAB-9BA0-4C0C-A649-F8977608BE21@mac.com> For the first time I ventured into creating a Font Menu button for a project I am working on. I wanted the Font Menu button to on a card close to a text field where the user could change the font attributes including font, size, style of the field. I remembered the example in the Resource Center. So I went to the Resource Center (using Rev 4.0) and try to download the script. I thought it would be on the clipboard and tried to paste it. The download button does not work. I was able to select the script and copy and paste it into a sample stack. I made a sample stack with a font button and a text field. I entered the script for the font button with the exception of color, which I do not need. I doubled checked the script comparing it to what was listed in Resource Center. I got errors in the script editor for items Plain, Bold and Italic. I noticed that there were no Breaks listed for these items. I added the Breaks in the Switch script for Plain, Bold and Italic. Now I do not get any errors in the editor but I do not see any menu items for Font Menu except for the item names. I also entered the script manually line by line to see if there might be some problems with just pasting it. I go the same results - the script did not work. What is the problem? Is this a problem with the Resource Center script? Charles Szasz cszasz at mac.com From phil at liverpool.ac.uk Fri Apr 6 07:16:33 2012 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 6 Apr 2012 12:16:33 +0100 Subject: Another iOS keyboard question - properties of the keyboard In-Reply-To: <86FB797B-9E89-4607-9F0A-C008F34E9064@mac.com> References: <86FB797B-9E89-4607-9F0A-C008F34E9064@mac.com> Message-ID: <06BD93FB-67FD-4984-BD51-1014A61C541B@liverpool.ac.uk> I reported this as a bug to Rev in version 4.something. They acknowledged it but it's still listed as an open bug report in the quality centre. I hope they fix it soon (or someone knows a way around it). Sent from my iPhone On 6 Apr 2012, at 11:47, Graham Samuel wrote: > I'm getting an iOS keyboard to come up by setting the lockText of a field to false when the user touches it - this is fine, up comes the keyboard. But the odd thing is that it appears set in 'caps lock' mode, with the shift key illuminated. This is one of several modes mentioned in the LC docs under 'iPhoneControlSet' (or mobileControlSet if you prefer). > > I would like to change this to one of the other modes (autoCapitalizationType "words"). However this applies to native controls which one has instantiated by script, whereas in this case the appearance of the keyboard was automatic so I have no access to its ID - do I? As I don't have an ID with which to reference the keyboard, so I can't alter its properties. Is there a solution to this? > > 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 pepetoo at cox.net Fri Apr 6 08:50:37 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 6 Apr 2012 05:50:37 -0700 Subject: Paint tools for iOS - architect Message-ID: Sometime back it was noted that the paint tools had not yet been implemented by LC for the iOS apps. Has this situation improved yet. I haven't considered one of my apps for that transition for this reason and I would hope I am going to be able to do that. It will make a sure-fire iPad app and my publisher is getting eager for me to do so. TIA, Joe Wilkins Architect From kee at kagi.com Fri Apr 6 11:32:03 2012 From: kee at kagi.com (Kee Nethery) Date: Fri, 6 Apr 2012 08:32:03 -0700 Subject: Localization languages In-Reply-To: <32478491-1DD5-4972-97D3-DEE758BF88C5@gmail.com> References: <32478491-1DD5-4972-97D3-DEE758BF88C5@gmail.com> Message-ID: On Apr 6, 2012, at 1:40 AM, Sergio Schvarstein wrote: > Great ! > > Thanks Kee and thanks Matthias. :-) > > I've added the two empty folders via the standalone settings and it worked. Now the binary localization is set to ("en","es") so let's see if in the iTunes info it appears as "English, Spanish". > > Just a little more question, for my curiosity: > Kee suggested to add this folders via the Finder, opening the standalone package. > As far as I know, if you open a signed package and you alter its contents, even in a byte, the signature will not work ok. > Is that true ? I think that is true. I always do the code sign with the folders in it. Kee From livfoss at mac.com Fri Apr 6 11:34:28 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 06 Apr 2012 17:34:28 +0200 Subject: Yet another iOS keyboard question Message-ID: <892E88D6-0A4C-476B-A6D3-4C93471EA18E@mac.com> I am going slightly nuts looking at this, but I seem to have lost the ability to show a scrolling field in the Simulator and allow the user to select a line, **without** an iOS native keyboard popping up. I am just trying to use the lines of the list as links, so I don't need to keyboard anything. I can check if a keyboard is activated (there is a message for this), but there is no available action to deactivate it AFAICS, apart from changing the focus on my field, which I obviously don't want to do. Is this just very simple and I've missed it? Suppose so. I think I'll just go and make a cup of tea. Meanwhile thanks to anyone who can explain it. Graham From bobs at twft.com Fri Apr 6 12:03:55 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 Apr 2012 09:03:55 -0700 Subject: Good article! Message-ID: <5F96D0B6-F21D-4B04-AE07-51EC01C24470@twft.com> Kudos to Mark Smith for a good article. It demonstrates how technique transcends the environment. Bob From pmbrig at gmail.com Fri Apr 6 12:43:15 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 6 Apr 2012 12:43:15 -0400 Subject: Good article! In-Reply-To: <5F96D0B6-F21D-4B04-AE07-51EC01C24470@twft.com> References: <5F96D0B6-F21D-4B04-AE07-51EC01C24470@twft.com> Message-ID: <12163BA3-1FBC-4AF2-AFA1-F914AB4531B6@gmail.com> What article are you talking about? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 6, 2012, at 12:03 PM, Bob Sneidar wrote: > Kudos to Mark Smith for a good article. It demonstrates how technique transcends the environment. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Fri Apr 6 12:48:36 2012 From: john at splash21.com (John Craig) Date: Fri, 06 Apr 2012 17:48:36 +0100 Subject: iPhone App testing via TestFlight Message-ID: <4F7F1E64.2090504@splash21.com> If anyone is interested in testing an iOS app via testflightapp.com, please drop me an email with your device ID. I started writing a pictionary style game ages ago, then it got shelved. With the release of 5.5, I pulled it from the archives and it seems to be running nicely :) The game is very similar to OMGPOP's Draw Something - wish 5.5 had been released a year ago ! I still think it's worth finishing as it demonstrates turn based gaming with LiveCode. At the moment, the server scripts (all .lc) are running on on-rev.com with a MySQL database. It's had test runs on iPhone4, iPad2 and iPad3. The initial idea behind the project (many moons ago) was a multiplayer game for all platforms with all the app code & server code all written in 100% LiveCode. Although it's pretty rough around the edges, a few of us have been pinging drawings back and forward and the basic functionality is working. ------- I've had a LOT of MobGUI emails and tickets (I think I'm down to the last 2 pages!). I'm now aiming for an interim update as I'm spending more time on support than coding. Hope to have more news soon. From cmsheffield at me.com Fri Apr 6 12:56:40 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Fri, 06 Apr 2012 10:56:40 -0600 Subject: Yet another iOS keyboard question In-Reply-To: <892E88D6-0A4C-476B-A6D3-4C93471EA18E@mac.com> References: <892E88D6-0A4C-476B-A6D3-4C93471EA18E@mac.com> Message-ID: <2A111E41-D004-41C0-95F7-E3D1BB507240@me.com> Graham, I just tried a quick test using a basic scrolling list field, dragged straight from the tool palette. The keyboard did not appear for me when selecting items in the field. I noticed that lockText is true and traversalOn is true. Maybe start there? Otherwise, maybe compare the properties of your field to those of the default to make sure they're the same. Hopefully that'll help. Chris On Apr 6, 2012, at 9:34 AM, Graham Samuel wrote: > I am going slightly nuts looking at this, but I seem to have lost the ability to show a scrolling field in the Simulator and allow the user to select a line, **without** an iOS native keyboard popping up. I am just trying to use the lines of the list as links, so I don't need to keyboard anything. I can check if a keyboard is activated (there is a message for this), but there is no available action to deactivate it AFAICS, apart from changing the focus on my field, which I obviously don't want to do. > > Is this just very simple and I've missed it? Suppose so. I think I'll just go and make a cup of tea. Meanwhile thanks to anyone who can explain it. > > 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 Fri Apr 6 12:59:36 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 Apr 2012 09:59:36 -0700 Subject: Good article! In-Reply-To: <12163BA3-1FBC-4AF2-AFA1-F914AB4531B6@gmail.com> References: <5F96D0B6-F21D-4B04-AE07-51EC01C24470@twft.com> <12163BA3-1FBC-4AF2-AFA1-F914AB4531B6@gmail.com> Message-ID: <52B2F392-689E-40F1-8ACA-6877AAE56BA9@twft.com> The one in the newsletter about a method for getting and saving values in a database without hard coding the column names and field names. Bob On Apr 6, 2012, at 9:43 AM, Peter M. Brigham, MD wrote: > What article are you talking about? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Apr 6, 2012, at 12:03 PM, Bob Sneidar wrote: > >> Kudos to Mark Smith for a good article. It demonstrates how technique transcends the environment. >> >> Bob >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Fri Apr 6 13:24:57 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 06 Apr 2012 10:24:57 -0700 Subject: iOS Keyboard options In-Reply-To: <89D88697-F880-4A37-8914-69E8CCDF40BA@mac.com> References: <89D88697-F880-4A37-8914-69E8CCDF40BA@mac.com> Message-ID: I can't answer for the other questions, but that little keyboard key is the "hide me" key and just closes the onscreen keyboard. It doesn't really have a keycode. Tim On Apr 6, 2012, at 2:26 AM, Graham Samuel wrote: > In the latest LC iOS Release notes, the options for changing the keyboard type and the look of the return key are described, with this note: > >> If you wish to configure the keyboard options based on the field that is being focused, simply use the commands in an openField handler of the given field. The keyboard is only shown after this handler returns, so it is the ideal time to configure it. >> > > When I did this, it had absolutely no effect. OTOH, when I put the configuration statements in the preOpenCard handler (there is only one card in this test app), they worked fine. > > Did I do something wrong? > > Also, on the iPad but not the iPhone, a keyboard can have a little keyboard icon in the bottom right hand corner - can anyone save me the experiment and say what key or keycode this is? > > 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 jacque at hyperactivesw.com Fri Apr 6 14:24:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Apr 2012 13:24:51 -0500 Subject: Another iOS keyboard question - properties of the keyboard In-Reply-To: <06BD93FB-67FD-4984-BD51-1014A61C541B@liverpool.ac.uk> References: <86FB797B-9E89-4607-9F0A-C008F34E9064@mac.com> <06BD93FB-67FD-4984-BD51-1014A61C541B@liverpool.ac.uk> Message-ID: <4F7F34F3.9000105@hyperactivesw.com> There was a workaround posted to the forums: I haven't tried it. On 4/6/12 6:16 AM, Phil Jimmieson wrote: > I reported this as a bug to Rev in version 4.something. They > acknowledged it but it's still listed as an open bug report in the > quality centre. I hope they fix it soon (or someone knows a way > around it). > > Sent from my iPhone > > On 6 Apr 2012, at 11:47, Graham Samuel wrote: > >> I'm getting an iOS keyboard to come up by setting the lockText of a >> field to false when the user touches it - this is fine, up comes >> the keyboard. But the odd thing is that it appears set in 'caps >> lock' mode, with the shift key illuminated. This is one of several >> modes mentioned in the LC docs under 'iPhoneControlSet' (or >> mobileControlSet if you prefer). >> >> I would like to change this to one of the other modes >> (autoCapitalizationType "words"). However this applies to native >> controls which one has instantiated by script, whereas in this case >> the appearance of the keyboard was automatic so I have no access to >> its ID - do I? As I don't have an ID with which to reference the >> keyboard, so I can't alter its properties. Is there a solution to >> this? >> >> TIA >> >> Graham -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 6 14:57:43 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Apr 2012 13:57:43 -0500 Subject: A problem with Font Menu in LC Resource Center In-Reply-To: <765A9DAB-9BA0-4C0C-A649-F8977608BE21@mac.com> References: <765A9DAB-9BA0-4C0C-A649-F8977608BE21@mac.com> Message-ID: <4F7F3CA7.8000307@hyperactivesw.com> On 4/6/12 6:09 AM, Charles Szasz wrote: > I also entered the script manually line by line to see if there might > be some problems with just pasting it. I go the same results - the > script did not work. What is the problem? Is this a problem with the > Resource Center script? Post the original script you were trying to use. Then we'll know what you were looking at. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Fri Apr 6 15:43:13 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 6 Apr 2012 14:43:13 -0500 Subject: MobGUI, what am I doing wrong? In-Reply-To: References: Message-ID: I figured it out. I had forgotten to include global gBrowserA :-/ On Thu, Apr 5, 2012 at 8:20 AM, Geoff Canyon wrote: > *on* touchEnd pId > > mobGUIUntouch the long id of me > > *put* the uText of *group* "URL" into tURL > > *if* char 1 to 7 of tURL is not "http://" *then* *put* "http://" beforetURL > > iPhoneControlSet gBrowserA["browser"],"url",tURL > > *end* touchEnd > From livfoss at mac.com Fri Apr 6 16:01:19 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 06 Apr 2012 22:01:19 +0200 Subject: Yet another iOS keyboard question In-Reply-To: References: Message-ID: Thanks Chris, traversalOn was the answer. Doesn't show up on the Property Inspector under its own name (I think it's called 'Focusable' which is perhaps slightly more meaningful, but different) and I forgot about it. The dictionary entry explains it well enough, but of course first one has to remember that traversalOn exists - 'focusable' isn't there. Sorry to be dumb. Graham On Fri, 06 Apr 2012 10:56:40 -0600, Chris Sheffield wrote: > Graham, > > I just tried a quick test using a basic scrolling list field, dragged straight from the tool palette. The keyboard did not appear for me when selecting items in the field. I noticed that lockText is true and traversalOn is true. Maybe start there? Otherwise, maybe compare the properties of your field to those of the default to make sure they're the same. > > Hopefully that'll help. > > Chris > > > > On Apr 6, 2012, at 9:34 AM, Graham Samuel wrote: > >> I am going slightly nuts looking at this, but I seem to have lost the ability to show a scrolling field in the Simulator and allow the user to select a line, **without** an iOS native keyboard popping up. I am just trying to use the lines of the list as links, so I don't need to keyboard anything. I can check if a keyboard is activated (there is a message for this), but there is no available action to deactivate it AFAICS, apart from changing the focus on my field, which I obviously don't want to do. >> >> Is this just very simple and I've missed it? Suppose so. I think I'll just go and make a cup of tea. Meanwhile thanks to anyone who can explain it. >> >> Graham From jacque at hyperactivesw.com Fri Apr 6 16:24:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Apr 2012 15:24:24 -0500 Subject: Yet another iOS keyboard question In-Reply-To: References: Message-ID: <4F7F50F8.6030707@hyperactivesw.com> On 4/6/12 3:01 PM, Graham Samuel wrote: > Thanks Chris, traversalOn was the answer. Doesn't show up on the > Property Inspector under its own name (I think it's called > 'Focusable' which is perhaps slightly more meaningful, but different) The first thing I do whenever I need to reset my prefs is to turn off the "descriptive" terms in the inspector and allow it to show the real LiveCode terms instead. This also flips the tooltips so that hovering shows the common meaning. The setting is the first one in the General pane in prefs, "Property labels are: Name of LiveCode property". I usually recommend that all newcomers change that default setting right away too. It makes learning the language much easier because, as you say, they can look up the terms they see in the inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Fri Apr 6 18:37:28 2012 From: john at splash21.com (John Craig) Date: Fri, 06 Apr 2012 23:37:28 +0100 Subject: character recognition Message-ID: <4F7F7028.6050001@splash21.com> For interested parties. http://splash21.com/Gestures.html :D From Mark_Smith at cpe.umanitoba.ca Fri Apr 6 20:39:30 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 6 Apr 2012 17:39:30 -0700 (PDT) Subject: iOS Keyboard options In-Reply-To: <89D88697-F880-4A37-8914-69E8CCDF40BA@mac.com> References: <89D88697-F880-4A37-8914-69E8CCDF40BA@mac.com> Message-ID: <1333759170804-4538612.post@n4.nabble.com> Hi Graham, I put the settings in custom properties and I haven't had any problem with the following openfield handler on openfield if the environment is "mobile" then iPhoneSetKeyboardType the ckeyboardtype of me iPhoneSetKeyboardReturnKey the creturnkey of me end if end openfield -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-Keyboard-options-tp4536997p4538612.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Fri Apr 6 22:44:43 2012 From: cszasz at mac.com (Charles Szasz) Date: Fri, 06 Apr 2012 22:44:43 -0400 Subject: A problem with Font Menu in LC Resource Center Message-ID: Jacque, Here is my script: on menuPick theMenuItem set the itemDelimiter to "|" switch item 1 of theMenuItem ---the submenu name case "Font" set the textFont of field "Example Text"\ to item 2 of theMenuItem break case "Size" set the textSize of field "example Text"\ to item 2 of theMenuItem break case "Plain" ---Plain removes all styles: set the textStyle of field "example text" to empty break case "Bold" ---These two remaining menu items break case" Italic" ---are handled with the same piece of code! break put the textStyle of field "example text" into currentStyle set the itemDelimiter to comma if theMenuItem is among the items of currentStyle then ---already has that style, so remove it delete item (itemOffset(theMenuItem,currentStyle))\ of currentStyle else ---add the style to any existing styles if currentStyle is "Plain" then put theMenuItem into currentStyle else put comma & theMenuItem after currentStyle end if set the textStyle of field "Example Text" to currentStyle end switch end menuPick Charles Szasz cszasz at mac.com From pmbrig at gmail.com Sat Apr 7 08:32:53 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 7 Apr 2012 08:32:53 -0400 Subject: A problem with Font Menu in LC Resource Center In-Reply-To: References: Message-ID: <802579A9-E2F4-41B8-A158-C6E5D5136FD0@gmail.com> On Apr 6, 2012, at 10:44 PM, Charles Szasz wrote: > on menuPick theMenuItem > set the itemDelimiter to "|" > switch item 1 of theMenuItem ---the submenu name > case "Font" > set the textFont of field "Example Text"\ > to item 2 of theMenuItem > break > case "Size" > set the textSize of field "example Text"\ > to item 2 of theMenuItem > break > case "Plain" > ---Plain removes all styles: > set the textStyle of field "example text" to empty > break > case "Bold" ---These two remaining menu items > break > case" Italic" ---are handled with the same piece of code! > break > put the textStyle of field "example text" into currentStyle > set the itemDelimiter to comma > if theMenuItem is among the items of currentStyle then > ---already has that style, so remove it > delete item (itemOffset(theMenuItem,currentStyle))\ > of currentStyle > else > ---add the style to any existing styles > if currentStyle is "Plain" > then put theMenuItem into currentStyle > else put comma & theMenuItem after currentStyle > end if > set the textStyle of field "Example Text" to currentStyle > end switch > end menuPick Well, one problem is that you have breaks at the top of 2 sections, which will exit you without any action. It looks as if you want this instead: on menuPick theMenuItem set the itemDelimiter to "|" switch item 1 of theMenuItem ---the submenu name case "Font" set the textFont of field "Example Text"\ to item 2 of theMenuItem break case "Size" set the textSize of field "example Text"\ to item 2 of theMenuItem break case "Plain" ---Plain removes all styles: set the textStyle of field "example text" to empty break case "Bold" ---These two remaining menu items **** no break case" Italic" ---are handled with the same piece of code! **** no break put the textStyle of field "example text" into currentStyle set the itemDelimiter to comma if theMenuItem is among the items of currentStyle then ---already has that style, so remove it delete item (itemOffset(theMenuItem,currentStyle))\ of currentStyle else ---add the style to any existing styles if currentStyle is "Plain" then put theMenuItem into currentStyle else put comma & theMenuItem after currentStyle end if set the textStyle of field "Example Text" to currentStyle break end switch end menuPick -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From matthias_livecode_150811 at m-r-d.de Sat Apr 7 10:14:42 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 7 Apr 2012 16:14:42 +0200 Subject: should mobileshowstatusbar work on iOS? Message-ID: <04CBAFA6-6D13-4685-A66E-2AC893908171@m-r-d.de> Hi, could someone confirm that mobileshowstatusbar definitely does work on iOS. In the past i used iPhoneShowStatusbar and iPhoneHideStatusbar to show/hide the status bar. In a new stack under LC5.5 i now used mobileShowStatusBar and mobileHideStatusBar. But these commands do not work. Replacing them with iphone?. all works as expected. The dictionary says mobileshowstatusbar is a synomym for iphoneshowstatus bar and that it is supported on Android and iOS. I created a little stack with 4 buttons. 2 use the mobile command to show/hide the status bar and 2 use the iphone command. Could someone do me the favour and check if the mobile commands work on her/his system? http://dl.dropbox.com/u/11969084/showStatusBarTest Regards Matthias From mcgrath3 at mac.com Sat Apr 7 10:22:05 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 07 Apr 2012 10:22:05 -0400 Subject: should mobileshowstatusbar work on iOS? In-Reply-To: <04CBAFA6-6D13-4685-A66E-2AC893908171@m-r-d.de> References: <04CBAFA6-6D13-4685-A66E-2AC893908171@m-r-d.de> Message-ID: <00EC5AE8-D05A-4F2E-B6A7-AF1E51A92A92@mac.com> It is not working here either. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 7, 2012, at 10:14 AM, Matthias Rebbe wrote: > Hi, > > could someone confirm that mobileshowstatusbar definitely does work on iOS. > > In the past i used iPhoneShowStatusbar and iPhoneHideStatusbar to show/hide the status bar. > > In a new stack under LC5.5 i now used mobileShowStatusBar and mobileHideStatusBar. But these commands do not work. > Replacing them with iphone?. all works as expected. > > The dictionary says mobileshowstatusbar is a synomym for iphoneshowstatus bar and that it is supported on Android and iOS. > > I created a little stack with 4 buttons. 2 use the mobile command to show/hide the status bar and 2 use the iphone command. > Could someone do me the favour and check if the mobile commands work on her/his system? > > http://dl.dropbox.com/u/11969084/showStatusBarTest > > > 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 livfoss at mac.com Sat Apr 7 13:19:55 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 07 Apr 2012 19:19:55 +0200 Subject: Yet another iOS keyboard question In-Reply-To: References: Message-ID: <0F77BC26-741F-46B7-8316-E8273996F5FC@mac.com> 1. thanks very much Jacque. I forgot (if I ever knew) that this preference exists. There is too much to remember, I find. 2. Looks like it works, tho clunky. I have not yet found out if one can instantiate an iOS keyboard by script - if not, the latest iOS Release Notes on setting keyboard properties would seem redundant, so I'll keep looking. Graham 1, On Fri, 06 Apr 2012 15:24:24 -0500, "J. Landman Gay" wrote: > > On 4/6/12 3:01 PM, Graham Samuel wrote: >> Thanks Chris, traversalOn was the answer. Doesn't show up on the >> Property Inspector under its own name (I think it's called >> 'Focusable' which is perhaps slightly more meaningful, but different) > > The first thing I do whenever I need to reset my prefs is to turn off > the "descriptive" terms in the inspector and allow it to show the real > LiveCode terms instead. This also flips the tooltips so that hovering > shows the common meaning. The setting is the first one in the General > pane in prefs, "Property labels are: Name of LiveCode property". > > I usually recommend that all newcomers change that default setting right > away too. It makes learning the language much easier because, as you > say, they can look up the terms they see in the inspector. 2. She also wrote, re the bug where an iOS keyboard appears with caps lock set: > There was a workaround posted to the forums: > > > I haven't tried it. From dixonja at hotmail.co.uk Sat Apr 7 13:34:32 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 7 Apr 2012 18:34:32 +0100 Subject: Yet another iOS keyboard question In-Reply-To: <0F77BC26-741F-46B7-8316-E8273996F5FC@mac.com> References: , <0F77BC26-741F-46B7-8316-E8273996F5FC@mac.com> Message-ID: No, the iOS keyboard properties are not redundant... I think that you would help yourself a lot if you used the UITextfield instead of using a regular LC field. You can then manipulate the keyboard properties more or less to your hearts' content...:-) Dixie > 1. thanks very much Jacque. I forgot (if I ever knew) that this preference exists. There is too much to remember, I find. > 2. Looks like it works, tho clunky. I have not yet found out if one can instantiate an iOS keyboard by script - if not, the latest iOS Release Notes on setting keyboard properties would seem redundant, so I'll keep looking. > > Graham From cszasz at mac.com Sat Apr 7 13:38:47 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 07 Apr 2012 13:38:47 -0400 Subject: A problem with Font Menu in LC Resource Center Message-ID: Peter, Thanks! But that is how the script is presented in the Resource Center with no breaks before the end of the switch. I did insert a break after the last case statement but the script still does not work. Any other suggestions? Charles Szasz cszasz at mac.com From pmbrig at gmail.com Sat Apr 7 15:35:41 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 7 Apr 2012 15:35:41 -0400 Subject: A problem with Font Menu in LC Resource Center In-Reply-To: References: Message-ID: On Apr 7, 2012, at 1:38 PM, Charles Szasz wrote: > Peter, > > Thanks! But that is how the script is presented in the Resource Center with no breaks before the end of the switch. I did insert a break after the last case statement but the script still does not work. Any other suggestions? Just a guess, but you might need to avoid changing the itemdelim within the switch-case structure, maybe try something like: on menuPick theMenuItem set the itemDelimiter to "|" put item 1 of theMenuItem into itemChosen put item 2 of theMenuItem into subItemChosen set the itemDelimiter to comma switch itemChosen ---the submenu name case "Font" set the textFont of field "Example Text"\ to subItemChosen break case "Size" -- -- ... then later case "Bold" ---These two remaining menu items case" Italic" ---are handled with the same piece of code! put the textStyle of field "example text" into currentStyle -- set the itemDelimiter to comma ---*** take this out if theMenuItem is among the items of currentStyle then -- -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Sat Apr 7 15:44:54 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Apr 2012 12:44:54 -0700 Subject: A problem with Font Menu in LC Resource Center In-Reply-To: References: Message-ID: <53803922812.20120407124454@ahsoftware.net> Charles- As Peter pointed out, the problem is that you have *too many* breaks, not that you need to add one. Remove the breaks after the case "Bold" and case "Italic" lines, as these will exit from the switch statement without doing anything. Also, in the Italic case section you're attempting to see if theMenuItem is in currentStyle. This is guaranteed to fail. You should instead be looking at item 2 of theMenuItem. Peter's approach of putting item 2 into subItemChosen will work, but then you need to use that instead of theMenuItem. if subItemChosen is among the items of currentStyle then ---already has that style, so remove it delete item (itemOffset(subItemChosen,currentStyle))\ of currentStyle etc. -- -Mark Wieder mwieder at ahsoftware.net From matthias_livecode_150811 at m-r-d.de Sat Apr 7 16:08:05 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 7 Apr 2012 22:08:05 +0200 Subject: should mobileshowstatusbar work on iOS? In-Reply-To: <00EC5AE8-D05A-4F2E-B6A7-AF1E51A92A92@mac.com> References: <04CBAFA6-6D13-4685-A66E-2AC893908171@m-r-d.de> <00EC5AE8-D05A-4F2E-B6A7-AF1E51A92A92@mac.com> Message-ID: <1DC0B6FD-C316-4F03-AB9C-AC5907139F35@m-r-d.de> Hi Tom, thanks for testing. Tried now on Android and there only the mobileShowStatusBar works and not the iphone?. command althought the dictionary says that it should run on both platforms. I filed a bug http://quality.runrev.com/show_bug.cgi?id=10151 Regards, Matthias Am 07.04.2012 um 16:22 schrieb Thomas McGrath III: > It is not working here either. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Apr 7, 2012, at 10:14 AM, Matthias Rebbe wrote: > >> Hi, >> >> could someone confirm that mobileshowstatusbar definitely does work on iOS. >> >> In the past i used iPhoneShowStatusbar and iPhoneHideStatusbar to show/hide the status bar. >> >> In a new stack under LC5.5 i now used mobileShowStatusBar and mobileHideStatusBar. But these commands do not work. >> Replacing them with iphone?. all works as expected. >> >> The dictionary says mobileshowstatusbar is a synomym for iphoneshowstatus bar and that it is supported on Android and iOS. >> >> I created a little stack with 4 buttons. 2 use the mobile command to show/hide the status bar and 2 use the iphone command. >> Could someone do me the favour and check if the mobile commands work on her/his system? >> >> http://dl.dropbox.com/u/11969084/showStatusBarTest >> >> >> 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 mkoob at rogers.com Sun Apr 8 11:05:46 2012 From: mkoob at rogers.com (Martin Koob) Date: Sun, 8 Apr 2012 08:05:46 -0700 (PDT) Subject: E-Learn 2012 (Montreal, Quebec) Call for Presentations: May 25 (fwd) In-Reply-To: References: Message-ID: <1333897546230-4541090.post@n4.nabble.com> Hi Judy I did not see a link on your post but found the following. http://www.aace.org/conf/elearn/advprog.htm Looks interesting. Have you attended or presented in the past? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-Learn-2012-Montreal-Quebec-Call-for-Presentations-May-25-fwd-tp4536380p4541090.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Sun Apr 8 19:32:29 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 09 Apr 2012 01:32:29 +0200 Subject: iOS Control Instantiation problem Message-ID: I'm trying to create some native iOS controls as part of a series of experiments, using the iPhone form factor. Among other things, I'm trying to create a scroller. I seem to have fallen at the first fence. Within a preOpenCard handler for the first and only card in the stack, I use this bit of script which I got from an LC example ('Mobile Scroller Example') which works fine in the 5.1 iPhone simulator on my setup: if the environment is not "mobile" then exit preOpenCard end if iphoneControlCreate "scroller" put the result into theScID after this of course come a lot of iPhoneControlSet statements. The ONLY difference that I can see between the example that works and mine is that I have invented a new name for my scroller ID. Both examples appear to have the same iOS standalone parameters, both compile apparently error-free and the Simulator launches each one quite happily. Nevertheless, I can show that in my case the ID is empty and that there's no sign of the native control appearing on the card. I tried it with a native text control too (iPhoneControlCreate "input") - same result. The control never appears and the ID is empty. This has got to be my fault, but I can't see where the problem lies. It just must be something stupid and obvious, but what? Any help gratefully received. Graham From yoshino at sys.wakayama-u.ac.jp Sun Apr 8 21:15:55 2012 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Mon, 9 Apr 2012 10:15:55 +0900 Subject: Unicode Problem In-Reply-To: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> References: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> Message-ID: <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> Hi, I found that the unicode function on LC 5.0.2 DOES works, But, the unicode function on LC.5.5.1 DOES NOT work. Here is a simple sample using Unicode. On LC 5.0.2 does works well, but LC 5.5.1 does not work. on mouseUp set the unicodeText of fld "result" to fld "temp" end mouseUp _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 On 2012/04/06, at 18:38, Takashi Yoshino wrote: > Hi, expert! > > I am very glad to add some functions of unicode in LC 5.5. > > I use them, and I have some problems about the functions. > > If you use the unicode functions, please give me some information. > > 1. put unicode function > > Here is my script. > > on mouseUp > put fld "Q1" into theUniData > put unicode "???" into fld "A1" > end mouseUp > > I am sorry, I used Japanese character in the script. > In LC 5.5, I can use Japanese text in the script ! It is great! > > But, the result of the script is bat. > Wrong character appeared in the field. > > > 2. set the unicode text > > Here is my script. > > on mouseUp > > put "A1.txt" into theFileName > put AbsolutePathFromStack(theFileName) into theFullPath > > open file theFullPath > read from file theFullPath until EOF > set the unicodeText of fld "A1" to it > close file theFullPath > > end mouseUp > > I want read some Japanese from a file. > > LC can read text and put them into the field. > Almost is OK. > > But there is not line feed in the text. > > > > If you use unicode function, please give me some information. > > > > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 8 22:44:05 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 8 Apr 2012 21:44:05 -0500 Subject: iOS Control Instantiation problem In-Reply-To: References: Message-ID: > This has got to be my fault, but I can't see where the problem lies. It just must be something stupid and obvious, but what? > > Any help gratefully received. I can't see anything wrong, Graham, but I can show you what is working for me: local sScrollerID on ShowScroller pViewRect,pContentHt -- pViewRect is the rect of the group that contains the scrolling list field I'm overlaying -- pContentHt is the total height of the content of the scrolling list field as if it didn't -- need to scroll if the platform is "iphone" then put "0,0," & (item 3 of pViewRect) & "," & pContentHt into tContentRect iphoneControlCreate "scroller" put the result into sScrollerID -- The 'rect' is the region of the card it should cover iphoneControlSet sScrollerId, "rect", pViewRect -- The 'contentRect' is the region the scroller scrolls over iphoneControlSet sScrollerId, "contentRect", tContentRect -- The 'visible' determines if the scroller is displayed iphoneControlSet sScrollerId, "visible", "true" -- The 'canBounce' determines whether the standard iOS 'bouncing' occurs -- at extremities of scrolling iphoneControlSet sScrollerId, "canBounce", "false" -- The 'pagingEnabled' determines whether scrolling only happens in multiples -- of the width/height iphoneControlSet sScrollerId, "pagingEnabled", "false" -- The 'canScrollToTop' determines whether touching the status bar scrolls -- the scroller to the top iphoneControlSet sScrollerId, "canScrollToTop", "false" iphoneControlSet sScrollerId, "hIndicator", "false" end if end ShowScroller on HideScroller if (the platform is "iphone") and (sScrollerID <> "") then iphoneControlDelete sScrollerID end if end HideScroller Hope this helps you track down the problem, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Mon Apr 9 01:01:13 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 00:01:13 -0500 Subject: iOS Control Instantiation problem In-Reply-To: References: Message-ID: <4F826D19.7070805@hyperactivesw.com> On 4/8/12 9:44 PM, Ken Ray wrote: > local sScrollerID > on ShowScroller pViewRect,pContentHt > -- pViewRect is the rect of the group that contains the scrolling list field I'm overlaying > -- pContentHt is the total height of the content of the scrolling list field as if it didn't > -- need to scroll > if the platform is "iphone" then > put "0,0,"& (item 3 of pViewRect)& ","& pContentHt into tContentRect I still haven't figured out why the rect always has to start at "0,0". You'd think it would start at the topleft of the scrollable group but that doesn't work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Apr 9 03:22:04 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 9 Apr 2012 02:22:04 -0500 Subject: iOS Control Instantiation problem In-Reply-To: <4F826D19.7070805@hyperactivesw.com> References: <4F826D19.7070805@hyperactivesw.com> Message-ID: On Apr 9, 2012, at 12:01 AM, J. Landman Gay wrote: > On 4/8/12 9:44 PM, Ken Ray wrote: > >> local sScrollerID >> on ShowScroller pViewRect,pContentHt >> -- pViewRect is the rect of the group that contains the scrolling list field I'm overlaying >> -- pContentHt is the total height of the content of the scrolling list field as if it didn't >> -- need to scroll >> if the platform is "iphone" then >> put "0,0,"& (item 3 of pViewRect)& ","& pContentHt into tContentRect > > I still haven't figured out why the rect always has to start at "0,0". You'd think it would start at the topleft of the scrollable group but that doesn't work. I think it needs to be relative to the topleft of the scrollable group, just like objects on a card are relative to the topleft of the card. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From john at splash21.com Mon Apr 9 06:19:29 2012 From: john at splash21.com (John Craig) Date: Mon, 09 Apr 2012 11:19:29 +0100 Subject: character recognition In-Reply-To: <4F7F7028.6050001@splash21.com> References: <4F7F7028.6050001@splash21.com> Message-ID: <4F82B7B1.4020709@splash21.com> Thanks for the feedback - the sketch WAS pretty rough! I've updated it to be more accurate. On 06/04/2012 23:37, John Craig wrote: > For interested parties. > > http://splash21.com/Gestures.html > > :D > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From index at kenjikojima.com Mon Apr 9 08:22:41 2012 From: index at kenjikojima.com (Kenji Kojima) Date: Mon, 9 Apr 2012 08:22:41 -0400 Subject: Unicode Problem In-Reply-To: <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> References: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> Message-ID: <1A27E482-3C69-40EA-824D-A3EBA20907E0@kenjikojima.com> Hi Takashi-san, try this set the unicodeText of fld "result" to the unicodeText of fld "temp" Best, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Apr 8, 2012, at 9:15 PM, Takashi Yoshino wrote: > Hi, > > I found that the unicode function on LC 5.0.2 DOES works, > But, the unicode function on LC.5.5.1 DOES NOT work. > > Here is a simple sample using Unicode. > > On LC 5.0.2 does works well, but LC 5.5.1 does not work. > > on mouseUp > set the unicodeText of fld "result" to fld "temp" > end mouseUp > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > On 2012/04/06, at 18:38, Takashi Yoshino wrote: > >> Hi, expert! >> >> I am very glad to add some functions of unicode in LC 5.5. >> >> I use them, and I have some problems about the functions. >> >> If you use the unicode functions, please give me some information. >> >> 1. put unicode function >> >> Here is my script. >> >> on mouseUp >> put fld "Q1" into theUniData >> put unicode "???" into fld "A1" >> end mouseUp >> >> I am sorry, I used Japanese character in the script. >> In LC 5.5, I can use Japanese text in the script ! It is great! >> >> But, the result of the script is bat. >> Wrong character appeared in the field. >> >> >> 2. set the unicode text >> >> Here is my script. >> >> on mouseUp >> >> put "A1.txt" into theFileName >> put AbsolutePathFromStack(theFileName) into theFullPath >> >> open file theFullPath >> read from file theFullPath until EOF >> set the unicodeText of fld "A1" to it >> close file theFullPath >> >> end mouseUp >> >> I want read some Japanese from a file. >> >> LC can read text and put them into the field. >> Almost is OK. >> >> But there is not line feed in the text. >> >> >> >> If you use unicode function, please give me some information. >> >> >> >> >> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ >> Takashi Yoshino >> http://www.wakayama-u.ac.jp/~yoshino/lab/ >> Tel: +81-73-457-8441 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Mon Apr 9 08:58:35 2012 From: index at kenjikojima.com (Kenji Kojima) Date: Mon, 9 Apr 2012 08:58:35 -0400 Subject: Unicode Problem In-Reply-To: <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> References: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> Message-ID: <67256C23-024B-48A0-B2CE-B305C75CC6A8@kenjikojima.com> Hi Takashi-san, >> 2. set the unicode text >> >> Here is my script. >> >> on mouseUp >> >> put "A1.txt" into theFileName >> put AbsolutePathFromStack(theFileName) into theFullPath >> >> open file theFullPath >> read from file theFullPath until EOF >> set the unicodeText of fld "A1" to it >> close file theFullPath >> >> end mouseUp >> >> I want read some Japanese from a file. If your Japanese text file is "UTF 8" on mouseUp answer file "" put url ("file:" & it) into tUrl set the unicodeText of field 1 to uniencode(tUrl, utf8) end mouseUp best, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From klaus at major.on-rev.com Mon Apr 9 09:35:10 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 9 Apr 2012 15:35:10 +0200 Subject: play sound from url on iOS Message-ID: <408775F3-B4E9-499A-AC23-EA6A66A8F1FF@major.on-rev.com> Hi friends, short question, is it possible to play a sound file from an URL in iOS? If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."? The docs do not mention URL, only in the "Video playback" section. Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From livfoss at mac.com Mon Apr 9 10:12:21 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 09 Apr 2012 16:12:21 +0200 Subject: iOS Control Instantiation problem Message-ID: <7E43ECFB-17AA-4ADF-9D1E-949FA8AD0861@mac.com> Sorry for the waste of bandwidth - I found it in the end: it's all to do with undetected errors in the code. In one case I had a badly formed statement that compiled without problems - I had put 'to' instead of 'into' - so the rest of the handler was skipped; in another case I had called iPhoneControlSet with a bad parameter, which again caused the script to stop executing. I find this kind of debugging tough: I am using very clunky debugging methods because I have not yet understood the following (from the LC iOS Release Notes): > There is, however, a simple means of logging from an emulated target device. The LiveCode command form: > > put string > > Will write the string out to the standard error stream. These messages will be visible in Console.app when running in the simulator, and in the Console tab of the Xcode Organizer for a given target device while it is connected to the host computer. All these tests have just been with the 5.1 iPhone simulator, and I haven't yet found the Console app. Can anyone help me? Graham I wrote: > I'm trying to create some native iOS controls as part of a series of experiments, using the iPhone form factor. Among other things, I'm trying to create a scroller. I seem to have fallen at the first fence. Within a preOpenCard handler for the first and only card in the stack, I use this bit of script which I got from an LC example ('Mobile Scroller Example') which works fine in the 5.1 iPhone simulator on my setup: > > if the environment is not "mobile" then > exit preOpenCard > end if > iphoneControlCreate "scroller" > put the result into theScID > > after this of course come a lot of iPhoneControlSet statements. > > The ONLY difference that I can see between the example that works and mine is that I have invented a new name for my scroller ID. Both examples appear to have the same iOS standalone parameters, both compile apparently error-free and the Simulator launches each one quite happily. Nevertheless, I can show that in my case the ID is empty and that there's no sign of the native control appearing on the card. I tried it with a native text control too (iPhoneControlCreate "input") - same result. The control never appears and the ID is empty. From cmsheffield at me.com Mon Apr 9 10:28:18 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 09 Apr 2012 08:28:18 -0600 Subject: iOS Control Instantiation problem In-Reply-To: <7E43ECFB-17AA-4ADF-9D1E-949FA8AD0861@mac.com> References: <7E43ECFB-17AA-4ADF-9D1E-949FA8AD0861@mac.com> Message-ID: <53EF0874-8008-4DB8-A8FB-A17EB350C97F@me.com> Console is located in /Applications/Utilities. You can also debug this way when running your app on a device. Simply open Xcode, and under your connected device, click the Console icon. Note that the Console application is used when you're running in the simulator, and the Console in Xcode is used when running your app on a physical device. Sometimes I get confused and wonder why I'm not seeing output in one or the other. :-) Chris On Apr 9, 2012, at 8:12 AM, Graham Samuel wrote: > Sorry for the waste of bandwidth - I found it in the end: it's all to do with undetected errors in the code. In one case I had a badly formed statement that compiled without problems - I had put 'to' instead of 'into' - so the rest of the handler was skipped; in another case I had called iPhoneControlSet with a bad parameter, which again caused the script to stop executing. > > I find this kind of debugging tough: I am using very clunky debugging methods because I have not yet understood the following (from the LC iOS Release Notes): > >> There is, however, a simple means of logging from an emulated target device. The LiveCode command form: >> >> put string >> >> Will write the string out to the standard error stream. These messages will be visible in Console.app when running in the simulator, and in the Console tab of the Xcode Organizer for a given target device while it is connected to the host computer. > > All these tests have just been with the 5.1 iPhone simulator, and I haven't yet found the Console app. Can anyone help me? > > Graham > > I wrote: > >> I'm trying to create some native iOS controls as part of a series of experiments, using the iPhone form factor. Among other things, I'm trying to create a scroller. I seem to have fallen at the first fence. Within a preOpenCard handler for the first and only card in the stack, I use this bit of script which I got from an LC example ('Mobile Scroller Example') which works fine in the 5.1 iPhone simulator on my setup: >> >> if the environment is not "mobile" then >> exit preOpenCard >> end if >> iphoneControlCreate "scroller" >> put the result into theScID >> >> after this of course come a lot of iPhoneControlSet statements. >> >> The ONLY difference that I can see between the example that works and mine is that I have invented a new name for my scroller ID. Both examples appear to have the same iOS standalone parameters, both compile apparently error-free and the Simulator launches each one quite happily. Nevertheless, I can show that in my case the ID is empty and that there's no sign of the native control appearing on the card. I tried it with a native text control too (iPhoneControlCreate "input") - same result. The control never appears and the ID is empty. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Apr 9 10:56:03 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 9 Apr 2012 10:56:03 -0400 Subject: MobGui Rotation Problem Message-ID: Has anybody else noticed a problem with MobGui with using rotated devices? I have made both portrait and landscape cards. Then I fire up the simulator to test my app, and rotate. The first card looks good. When I switch to a second card, though, although the screen is rotated, MG has loaded the template for the other orientation. Thinking I might have done something to break MG I created a brand new stack, made sure that the MG code was in the card script of both cards, and tried it again. It still fails. I've also tested on real devices to the same result. Suggestions? From livfoss at mac.com Mon Apr 9 10:56:19 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 09 Apr 2012 16:56:19 +0200 Subject: iOS: deleting a line from a field Message-ID: I have found that, for me, this line of script applied to a list field where the user has selected a line: delete the selectedLine works differently in the iOS environment compared to the IDE and desktop environments. In the IDE etc, the statement deletes the line and closes the gap remaining, but in iOS it doesn't close the gap but leaves a blank line! I don't know if this is a bug or one of the numerous errors I find myself making. I have anyway found a workaround, which is to replace the above script with something like this: put the selectedChunk into t1 -- this looks like e.g. 'char 5 to 25 of fld 4' add 1 to word 4 of t1 -- to include the return at the end of the line do "delete" && t3 Should the original script have worked? Graham From jacque at hyperactivesw.com Mon Apr 9 11:07:39 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 10:07:39 -0500 Subject: iOS Control Instantiation problem In-Reply-To: References: <4F826D19.7070805@hyperactivesw.com> Message-ID: <4F82FB3B.8030500@hyperactivesw.com> On 4/9/12 2:22 AM, Ken Ray wrote: > > On Apr 9, 2012, at 12:01 AM, J. Landman Gay wrote: > >> On 4/8/12 9:44 PM, Ken Ray wrote: >> >>> local sScrollerID >>> on ShowScroller pViewRect,pContentHt >>> -- pViewRect is the rect of the group that contains the scrolling list field I'm overlaying >>> -- pContentHt is the total height of the content of the scrolling list field as if it didn't >>> -- need to scroll >>> if the platform is "iphone" then >>> put "0,0,"& (item 3 of pViewRect)& ","& pContentHt into tContentRect >> >> I still haven't figured out why the rect always has to start at "0,0". You'd think it would start at the topleft of the scrollable group but that doesn't work. > > I think it needs to be relative to the topleft of the scrollable group, just like objects on a card are relative to the topleft of the card. That would make sense, but then how come we can pass the right edge of the group (card-relative) as the third parameter? Shouldn't the third param be the width of the group? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Mon Apr 9 11:08:20 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 9 Apr 2012 16:08:20 +0100 Subject: iOS: deleting a line from a field In-Reply-To: References: Message-ID: Using delete removes the line, but when using a scroller in iOS then readjust the height of the field that contains your lines and the rect theat the scroller should cover...:-) Dixie delete line lineCheck of fld 1 /* readjust the heights that need to be scrolled */ set the height of fld 1 to the formattedheight of fld 1 iphoneControlSet scrollid, "contentRect", (0, 0, the width of fld 1, the formattedheight of fld 1) > I have found that, for me, this line of script applied to a list field where the user has selected a line: > > delete the selectedLine > > works differently in the iOS environment compared to the IDE and desktop environments. In the IDE etc, the statement deletes the line and closes the gap remaining, but in iOS it doesn't close the gap but leaves a blank line! I don't know if this is a bug or one of the numerous errors I find myself making. I have anyway found a workaround, which is to replace the above script with something like this: > > put the selectedChunk into t1 -- this looks like e.g. 'char 5 to 25 of fld 4' > add 1 to word 4 of t1 -- to include the return at the end of the line > do "delete" && t3 > > Should the original script have worked? > > Graham From henshaw at me.com Mon Apr 9 11:11:11 2012 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 09 Apr 2012 16:11:11 +0100 Subject: MobGui Rotation Problem In-Reply-To: References: Message-ID: <32C186FA-F47C-4CA8-9A99-9E1D83AC2226@me.com> Have you tried turning the statusbar on and off in Mobgui? That has worked for me. It seems to store the geometry for each, then occasionally does not detect the correct one when the device is rotated. If you turn the setting off and then on again for each card the geometry data is copied to the other state and it might help. This in turn causes other problems later when you have updated the cards and wonder why they are updated in the IDE and not on the device (until you repeat the turn status bar off then back on to reset the geometry data again). Id love to be able to tell Mobgui what to use rather than have it guess (or just turn the feature off entirely), as especially on Android the reported screen sizes are not consistent and you have to create layouts for every possible scenario. On 9 Apr 2012, at 15:56, Mike Kerner wrote: > Has anybody else noticed a problem with MobGui with using rotated devices? > I have made both portrait and landscape cards. Then I fire up the > simulator to test my app, and rotate. The first card looks good. When I > switch to a second card, though, although the screen is rotated, MG has > loaded the template for the other orientation. > > Thinking I might have done something to break MG I created a brand new > stack, made sure that the MG code was in the card script of both cards, and > tried it again. It still fails. > > I've also tested on real devices to the same result. > > Suggestions? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 9 11:18:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 10:18:58 -0500 Subject: Windows tab buttons Message-ID: <4F82FDE2.9090502@hyperactivesw.com> On Mac I can set a background pattern on a tab button. I can also make the tab button non-opaque so a card image shows through. I can't do either of those on a Windows tab button, which seems to always be opaque and never accepts a background pattern. Has anyone found a way to trick the system into showing a pattern? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Mon Apr 9 11:25:58 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 9 Apr 2012 11:25:58 -0400 Subject: MobGui Rotation Problem In-Reply-To: <32C186FA-F47C-4CA8-9A99-9E1D83AC2226@me.com> References: <32C186FA-F47C-4CA8-9A99-9E1D83AC2226@me.com> Message-ID: Andrew, As you're probably aware, MG stores the with/without status bar as another resolution group (you can find them in the custom properties of each card). It's certainly not perfect, but it's a little better. It seems now like objects (that appear correct when laying them out) do not obtain the proper positions and sizes on the first pass into a card after a reorient, but on a second visit they seem to get fixed. Thanks for the suggestion... -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Mon Apr 9 11:39:30 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 9 Apr 2012 11:39:30 -0400 Subject: iOS Control Instantiation problem In-Reply-To: <4F82FB3B.8030500@hyperactivesw.com> References: <4F826D19.7070805@hyperactivesw.com> <4F82FB3B.8030500@hyperactivesw.com> Message-ID: <00ff01cd1666$f47b50d0$dd71f270$@net> -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, April 09, 2012 11:08 AM To: How to use LiveCode Subject: Re: iOS Control Instantiation problem On 4/9/12 2:22 AM, Ken Ray wrote: > > On Apr 9, 2012, at 12:01 AM, J. Landman Gay wrote: > >> On 4/8/12 9:44 PM, Ken Ray wrote: >> >>> local sScrollerID >>> on ShowScroller pViewRect,pContentHt >>> -- pViewRect is the rect of the group that contains the scrolling list field I'm overlaying >>> -- pContentHt is the total height of the content of the scrolling list field as if it didn't >>> -- need to scroll >>> if the platform is "iphone" then >>> put "0,0,"& (item 3 of pViewRect)& ","& pContentHt into tContentRect >> >> I still haven't figured out why the rect always has to start at "0,0". You'd think it would start at the topleft of the scrollable group but that doesn't work. > > I think it needs to be relative to the topleft of the scrollable group, just like objects on a card are relative to the topleft of the card. >That would make sense, but then how come we can pass the right edge of the group (card-relative) as the third parameter? Shouldn't the third param be the width of the >group? If the left side of the group and scrollable region (rect) are on screen and > 0 then passing the right edge of the group (card-relative) as the third parameter of the contentrect will just make the virtual horizontal scrollable region a little wider than needed. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Mon Apr 9 14:10:18 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 13:10:18 -0500 Subject: Pattern draw changes Message-ID: <4F83260A.5040801@hyperactivesw.com> The 5.x docs say a change has been made to how patterns are drawn: > Prior to 5.0.0-dp-2, the origin of a pattern > (where it starts tiling from) is the top left of the object from > which the pattern is inherited. For example, the means that the > origin of a pattern of a graphic inherited from the card will be the > top left of the card, rather than the top left of the graphic. > AS of 5.0.0-dp-2, this functionality has been altered for objects > with 'dynamic' layerMode (and for objects within a group with > 'dynamic' layerMode). The origin of the patterns of such objects is > now the top left of the object itself, irrespective of where the > pattern is set. I tried both static and dynamic objects with a backpattern set, and the pattern origin looks identical both ways, with the origin always starting at the topleft of the object. What changed? My goal is to have the pattern align with the card backpattern no matter where the oject is located on the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Mon Apr 9 16:43:19 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 9 Apr 2012 16:43:19 -0400 Subject: MobGUI issue - Objects Wrong Size On First Pass? Message-ID: I have a MG project with several different orientations/resolutions/etc. set up for the different iOS devices. I noticed in testing that my higher resolution cards render at the iPhone (NON-retina) settings on the first pass. If I navigate away from the card that has the wrongly-rendered objects on them and then return, they render correctly. Has anyone else experienced this and/or worked around it? From cmsheffield at me.com Mon Apr 9 17:55:51 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 09 Apr 2012 15:55:51 -0600 Subject: does Data Grid have a formattedHeight property? Message-ID: <40636682-92C0-4FDB-B29D-20ACDE83E10A@me.com> I'm trying to set the height of a data grid based on the formattedHeight property, but as far as I can tell, the formattedHeight of a data grid returns the height. Is this a bug or by design? If by design, is there some other way I can accomplish this? Trevor, are you listening? :-) Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From mwieder at ahsoftware.net Mon Apr 9 18:06:44 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Apr 2012 15:06:44 -0700 Subject: Windows tab buttons In-Reply-To: <4F82FDE2.9090502@hyperactivesw.com> References: <4F82FDE2.9090502@hyperactivesw.com> Message-ID: <76985232765.20120409150644@ahsoftware.net> Jacque- Monday, April 9, 2012, 8:18:58 AM, you wrote: > On Mac I can set a background pattern on a tab button. I can also make > the tab button non-opaque so a card image shows through. I can't do > either of those on a Windows tab button, which seems to always be opaque > and never accepts a background pattern. > Has anyone found a way to trick the system into showing a pattern? Tab buttons on Windows *do* accept background patterns, and you can change the blending level. Tab buttons on linux *do not* accept background patterns or colors, but you can set the blending level. You can set the opaque property of a tab button on Windows or linux but it has no effect. You *can* set the icon of a tab button from the messagebox, but I don't know whether that helps you or not. -- -Mark Wieder mwieder at ahsoftware.net From zryip.theslug at gmail.com Mon Apr 9 18:34:34 2012 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 10 Apr 2012 00:34:34 +0200 Subject: does Data Grid have a formattedHeight property? In-Reply-To: <40636682-92C0-4FDB-B29D-20ACDE83E10A@me.com> References: <40636682-92C0-4FDB-B29D-20ACDE83E10A@me.com> Message-ID: Hi Chris, On Mon, Apr 9, 2012 at 11:55 PM, Chris Sheffield wrote: > I'm trying to set the height of a data grid based on the formattedHeight property, but as far as I can tell, the formattedHeight of a data grid returns the height. Is this a bug or by design? If by design, is there some other way I can accomplish this? Trevor, are you listening? :-) Have a look to the dgFormattedHeight property in the datagrid API: http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-data-grid-api Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From cmsheffield at me.com Mon Apr 9 18:46:46 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 09 Apr 2012 16:46:46 -0600 Subject: does Data Grid have a formattedHeight property? In-Reply-To: References: <40636682-92C0-4FDB-B29D-20ACDE83E10A@me.com> Message-ID: <26B6547E-408A-45AD-B105-9A13ECF040CE@me.com> Thank you! I figured it had to be there somewhere. Missed it on my first pass through the docs. On Apr 9, 2012, at 4:34 PM, zryip theSlug wrote: > Hi Chris, > > On Mon, Apr 9, 2012 at 11:55 PM, Chris Sheffield wrote: >> I'm trying to set the height of a data grid based on the formattedHeight property, but as far as I can tell, the formattedHeight of a data grid returns the height. Is this a bug or by design? If by design, is there some other way I can accomplish this? Trevor, are you listening? :-) > > Have a look to the dgFormattedHeight property in the datagrid API: > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-data-grid-api > > > Best Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 9 18:53:10 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 17:53:10 -0500 Subject: Windows tab buttons In-Reply-To: <76985232765.20120409150644@ahsoftware.net> References: <4F82FDE2.9090502@hyperactivesw.com> <76985232765.20120409150644@ahsoftware.net> Message-ID: <4F836856.2090904@hyperactivesw.com> On 4/9/12 5:06 PM, Mark Wieder wrote: >> Has anyone found a way to trick the system into showing a pattern? > > Tab buttons on Windows *do* accept background patterns, and you can > change the blending level. Thanks Mark. When I set the backpattern of a Windows tab button, nothing happens. I have toggled on and off the opaque with no effect (just in case.) All I see is the default system background. I'm mostly testing in WinXP, which is what my client uses, but I did briefly try it in Win7; it didn't look any different. Does the version of LiveCode matter? This project is still in 5.02. Or maybe it's Parallels not drawing it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Mon Apr 9 19:35:57 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 10 Apr 2012 08:35:57 +0900 Subject: how to do this type of search Message-ID: Hello All, A straightforward question, I think. I have a list of 5 tab-delimited items per line. Each item can be either a single word or a group of words separated by a "/". Example: abide abode/abided abode/abided/abidden abides abiding alight alit/alighted alit/alighted alights alighting arise arose arisen arises arising awake awoke awoken awakes awaking be was/were been is being What I want my script to do is find which line contains an exact match to a given item. For example: -- "is", on line 5 -- "alighted", on line 2 All I can think of is to use brute force and go thru the list item by item. Maybe with "wholematches" or such, there's some faster way? Thank you. -- Nicolas Cueto From pete at mollysrevenge.com Mon Apr 9 20:19:49 2012 From: pete at mollysrevenge.com (Pete) Date: Mon, 9 Apr 2012 17:19:49 -0700 Subject: Zipping Up an LC standalone program Message-ID: Been putting together a litte script to get all my files ready for a release and used the revZIPxxx commands to make a zip file of the LC standalone program - this all on a Mac. The resulting zip file is only 4kb in size, obvioulsy not correct. The code is pretty straightfroward: revZipOpenArchive myZipFile,"write" *if* the result is not empty *then* *answer* the result *answer* file "Zip file" revZipAddItemWithFile myZipFile,"myApp.app",it *if* the result is not empty *then* *answer* the result revZipCloseArchive myZipFile Zipping the same file with the built-in OS X compress function works fine and so does the CleanARchiver utitlity. ANy ideas? -- Pete Molly's Revenge From dixonja at hotmail.co.uk Mon Apr 9 20:40:02 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 10 Apr 2012 01:40:02 +0100 Subject: how to do this type of search In-Reply-To: References: Message-ID: The 'lineOffset' function will be your friend here... Dixie > A straightforward question, I think. > > I have a list of 5 tab-delimited items per line. Each item can be > either a single word or a group of words separated by a "/". > > Example: > > abide abode/abided abode/abided/abidden abides abiding > alight alit/alighted alit/alighted alights alighting > arise arose arisen arises arising > awake awoke awoken awakes awaking > be was/were been is being > > What I want my script to do is find which line contains an exact match > to a given item. > > For example: > > -- "is", on line 5 > -- "alighted", on line 2 > > All I can think of is to use brute force and go thru the list item by item. > > Maybe with "wholematches" or such, there's some faster way? > > Thank you. > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Mon Apr 9 21:05:36 2012 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 09 Apr 2012 18:05:36 -0700 Subject: how to do this type of search In-Reply-To: References: Message-ID: <4F838760.8080407@pdslabs.net> Here is one simple way, assuming you have control over the word list: -- one-time prep - optimize list for searching local sMyWordList put url ("file:" & tPathToMyWords) into sMyWordList put tab before sMyWordList replace CR with (tab & CR & tab) in sMyWordList replace slash with (tab & slash & tab) in sMyWordList put tab after sMyWordList -- at search time set the wholeMatches to true -- not really required since we're including delimiters in the search string put lineOffset(tab & tWord & tab, sMyWordList) into tWordLineNumber Phil Davis On 4/9/12 5:40 PM, John Dixon wrote: > > The 'lineOffset' function will be your friend here... > > Dixie > >> A straightforward question, I think. >> >> I have a list of 5 tab-delimited items per line. Each item can be >> either a single word or a group of words separated by a "/". >> >> Example: >> >> abide abode/abided abode/abided/abidden abides abiding >> alight alit/alighted alit/alighted alights alighting >> arise arose arisen arises arising >> awake awoke awoken awakes awaking >> be was/were been is being >> >> What I want my script to do is find which line contains an exact match >> to a given item. >> >> For example: >> >> -- "is", on line 5 >> -- "alighted", on line 2 >> >> All I can think of is to use brute force and go thru the list item by item. >> >> Maybe with "wholematches" or such, there's some faster way? >> >> Thank you. >> -- >> Nicolas Cueto >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 niconiko at gmail.com Mon Apr 9 21:06:54 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 10 Apr 2012 10:06:54 +0900 Subject: how to do this type of search In-Reply-To: References: Message-ID: > The 'lineOffset' function will be your friend here... If only it truly were that simple... In my example, lineOffset would return "3" for "is". But "5" is what I'm after. -- Nicolas Cueto From pmbrig at gmail.com Mon Apr 9 21:23:15 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 9 Apr 2012 21:23:15 -0400 Subject: how to do this type of search In-Reply-To: References: Message-ID: Set the wholematches to true before your search, then it will only locate the string when it is a whole word. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: >> The 'lineOffset' function will be your friend here... > > If only it truly were that simple... > > In my example, lineOffset would return "3" for "is". But "5" is what I'm after. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Apr 9 21:28:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Apr 2012 18:28:42 -0700 Subject: Windows tab buttons In-Reply-To: <4F836856.2090904@hyperactivesw.com> References: <4F82FDE2.9090502@hyperactivesw.com> <76985232765.20120409150644@ahsoftware.net> <4F836856.2090904@hyperactivesw.com> Message-ID: <150997351359.20120409182842@ahsoftware.net> Jacque- Monday, April 9, 2012, 3:53:10 PM, you wrote: > Thanks Mark. When I set the backpattern of a Windows tab button, nothing > happens. I have toggled on and off the opaque with no effect (just in > case.) All I see is the default system background. > I'm mostly testing in WinXP, which is what my client uses, but I did > briefly try it in Win7; it didn't look any different. Does the version > of LiveCode matter? This project is still in 5.02. I tried this with 5.02 on XP just before posting to make sure I wasn't misremembering something. I set a background pattern for the card, then set a background pattern for the tab button. And set the blending level down to 10 so I could see the psychedelic effect when I moved the control around. When you say you toggled the opaque control, you mean with the message box, right? We're talking about the same control? Because there's no opaque control for tab buttons on the property editor. -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Mon Apr 9 21:28:40 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 9 Apr 2012 21:28:40 -0400 Subject: how to do this type of search In-Reply-To: References: Message-ID: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: > > > If only it truly were that simple... > > In my example, lineOffset would return "3" for "is". But "5" is what I'm after. Sorry, setting the wholematches to true then doing lineoffset will get you whole matches for lines. Instead: set the wholematches to true put wordoffset("is",m) into ww put the number of lines of word 1 to ww of m into whichline -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Mon Apr 9 21:33:29 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 9 Apr 2012 19:33:29 -0600 Subject: how to do this type of search In-Reply-To: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> Message-ID: If using 5.5 there is also lineindex put lineindex(wordoffset("is,m)) into ww ^-- should give the line the word is found on. On Mon, Apr 9, 2012 at 7:28 PM, Peter M. Brigham, MD wrote: > On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: > > > > > > > If only it truly were that simple... > > > > In my example, lineOffset would return "3" for "is". But "5" is what I'm > after. > > Sorry, setting the wholematches to true then doing lineoffset will get you > whole matches for lines. Instead: > > set the wholematches to true > put wordoffset("is",m) into ww > put the number of lines of word 1 to ww of m into whichline > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Mon Apr 9 21:52:49 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Apr 2012 18:52:49 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: <192998797968.20120409185249@ahsoftware.net> Pete- Monday, April 9, 2012, 5:19:49 PM, you wrote: > Zipping the same file with the built-in OS X compress function works fine > and so does the CleanARchiver utitlity. > ANy ideas? Don't bother with the revzip things. They've never worked very well. You'll get better results and more features (folders and such) if you shell out to zip or ditto. -- -Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Mon Apr 9 22:07:37 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 9 Apr 2012 20:07:37 -0600 Subject: how to do this type of search In-Reply-To: References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> Message-ID: Yeah, i'm too fuzzy to answer questions lately. The proper method would be put wordoffset("is",m) into ww -- m being the container put lineindex(word ww of m) into tLine On Mon, Apr 9, 2012 at 7:33 PM, Mike Bonner wrote: > If using 5.5 there is also lineindex > put lineindex(wordoffset("is,m)) into ww > ^-- should give the line the word is found on. > > > On Mon, Apr 9, 2012 at 7:28 PM, Peter M. Brigham, MD wrote: > >> On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote: >> >> > >> > >> > If only it truly were that simple... >> > >> > In my example, lineOffset would return "3" for "is". But "5" is what >> I'm after. >> >> Sorry, setting the wholematches to true then doing lineoffset will get >> you whole matches for lines. Instead: >> >> set the wholematches to true >> put wordoffset("is",m) into ww >> put the number of lines of word 1 to ww of m into whichline >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From jacque at hyperactivesw.com Mon Apr 9 22:26:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 21:26:56 -0500 Subject: Windows tab buttons In-Reply-To: <150997351359.20120409182842@ahsoftware.net> References: <4F82FDE2.9090502@hyperactivesw.com> <76985232765.20120409150644@ahsoftware.net> <4F836856.2090904@hyperactivesw.com> <150997351359.20120409182842@ahsoftware.net> Message-ID: <4F839A70.1050201@hyperactivesw.com> On 4/9/12 8:28 PM, Mark Wieder wrote: > Jacque- > > Monday, April 9, 2012, 3:53:10 PM, you wrote: > >> Thanks Mark. When I set the backpattern of a Windows tab button, nothing >> happens. I have toggled on and off the opaque with no effect (just in >> case.) All I see is the default system background. > >> I'm mostly testing in WinXP, which is what my client uses, but I did >> briefly try it in Win7; it didn't look any different. Does the version >> of LiveCode matter? This project is still in 5.02. > > I tried this with 5.02 on XP just before posting to make sure I wasn't > misremembering something. I set a background pattern for the card, > then set a background pattern for the tab button. And set the blending > level down to 10 so I could see the psychedelic effect when I moved > the control around. > > When you say you toggled the opaque control, you mean with the message > box, right? We're talking about the same control? Because there's no > opaque control for tab buttons on the property editor. > Right, I set the opaque with the message box, just in case it mattered. We're using the same OS and the same LiveCode version so I'm not sure what's going on. The pattern shows up fine on my Mac. Maybe I'll just send the stack to my client and ask him what he sees. Thanks for the confirmation though, it helps a lot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee at kagi.com Mon Apr 9 22:29:50 2012 From: kee at kagi.com (Kee Nethery) Date: Mon, 9 Apr 2012 19:29:50 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: Or just use the Mac Archive or Compress menu item in the Finder. It works great. Kee From jacque at hyperactivesw.com Mon Apr 9 22:36:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2012 21:36:49 -0500 Subject: Windows tab buttons In-Reply-To: <150997351359.20120409182842@ahsoftware.net> References: <4F82FDE2.9090502@hyperactivesw.com> <76985232765.20120409150644@ahsoftware.net> <4F836856.2090904@hyperactivesw.com> <150997351359.20120409182842@ahsoftware.net> Message-ID: <4F839CC1.6010601@hyperactivesw.com> On 4/9/12 8:28 PM, Mark Wieder wrote: > I tried this with 5.02 on XP just before posting to make sure I wasn't > misremembering something. Just an update: I made a new stack in Win XP with a single tab button, imported an image, hid it, and set the backpattern of the tab button to the ID of the image. There was no fill. I think it must be Parallels. You can't get much simpler than what I did. What emulator do you use again? Richard likes it. Maybe I should try that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Mon Apr 9 22:37:51 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 9 Apr 2012 22:37:51 -0400 (EDT) Subject: Script editor instability In-Reply-To: References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> Message-ID: <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> Since I upgraded to 5.5, now and then the script editor cannot be moved. Rather the titlebar becomes a sort of resize tab, as if I clicked and dragged the actual resize tab. So trying to move the script editor window only results in resizing that window.I think it only changes the width, not the actual rect, like the real resize tab would. I cannot reproduce it, but it happens at least two or three times in a session. I can dismiss the window with cmd-W, but this sometimes crashes LC. Anyone else see this? I have to save often to prevent real data loss. Never heard of this before the upgrade. Craig Newman From kray at sonsothunder.com Mon Apr 9 23:08:06 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 9 Apr 2012 22:08:06 -0500 Subject: iOS Control Instantiation problem In-Reply-To: <4F82FB3B.8030500@hyperactivesw.com> References: <4F826D19.7070805@hyperactivesw.com> <4F82FB3B.8030500@hyperactivesw.com> Message-ID: <3DEA4205-5F99-4FEF-BB39-B3DFB2FB0FAC@sonsothunder.com> > That would make sense, but then how come we can pass the right edge of the group (card-relative) as the third parameter? Shouldn't the third param be the width of the group? Yes, *if* you don't want horizontal scrolling with the scroller? here's a good example of how I use it with a Data Grid that has more columns than are visible and (of course) more rows than are visible ("grp 1" is my sample Data Grid): iphoneControlSet sScrollerId, "rect", the rect of group 1 put sum(the dgProps["column widths"] of grp 1) into tContentWidth put (the dgProp["row height"] of grp 1) * (the number of elements of the dgData of grp 1) into tContentHeight iphoneControlSet sScrollerId, "contentRect", (0, 0, tContentWidth, tContentHeight) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Apr 9 23:11:18 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 9 Apr 2012 22:11:18 -0500 Subject: iOS Control Instantiation problem In-Reply-To: <3DEA4205-5F99-4FEF-BB39-B3DFB2FB0FAC@sonsothunder.com> References: <4F826D19.7070805@hyperactivesw.com> <4F82FB3B.8030500@hyperactivesw.com> <3DEA4205-5F99-4FEF-BB39-B3DFB2FB0FAC@sonsothunder.com> Message-ID: > iphoneControlSet sScrollerId, "rect", the rect of group 1 > put sum(the dgProps["column widths"] of grp 1) into tContentWidth > put (the dgProp["row height"] of grp 1) * (the number of elements of the dgData of grp 1) into tContentHeight > iphoneControlSet sScrollerId, "contentRect", (0, 0, tContentWidth, tContentHeight) or better yet (thanks zyrip!): iphoneControlSet sScrollerId, "rect", the rect of group 1 iphoneControlSet sScrollerId, "contentRect", (0, 0, (the dgFormattedWidth of grp 1),(the dgFormattedHeight of grp 1)) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Mon Apr 9 23:28:36 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Apr 2012 20:28:36 -0700 Subject: Windows tab buttons In-Reply-To: <4F839CC1.6010601@hyperactivesw.com> References: <4F82FDE2.9090502@hyperactivesw.com> <76985232765.20120409150644@ahsoftware.net> <4F836856.2090904@hyperactivesw.com> <150997351359.20120409182842@ahsoftware.net> <4F839CC1.6010601@hyperactivesw.com> Message-ID: <1061004545640.20120409202836@ahsoftware.net> Jacque- Monday, April 9, 2012, 7:36:49 PM, you wrote: > You can't get much simpler than what I did. Yes you can. I didn't import an image, just used some of the built-in patterns. Hang on. Yep, that worked for me as well. > What emulator do you use again? Richard likes it. Maybe I should try that. I use VirtualBox. I like it better than VMWare or Parallels. YMMV. It's got its own annoying quirks, like the necessity of installing a new version of the extensions every time a VirtualBox update comes out. but it's fast and stable and robust and means I don't have to have a Windows computer at work. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Mon Apr 9 23:48:24 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 9 Apr 2012 20:48:24 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: tar (from the shell) works even better. On 9 April 2012 19:29, Kee Nethery wrote: > Or just use the Mac Archive or Compress menu item in the Finder. It works > great. > > Kee > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dunbarx at aol.com Tue Apr 10 00:18:44 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Apr 2012 00:18:44 -0400 (EDT) Subject: Browse tool. I give up. In-Reply-To: References: Message-ID: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> I have been doing this sort of thing for so many years, and still find the simplest things will not work. OK. Someone tell me why I cannot choose the browse tool under script control upon opening a stack in a new session. Wait. Maybe I should write an openstack or opencard handler that has "choose browse tool" in it. Wait. That does not work. And the funny thing is that I can place all kinds of other stuff, beeps, text loads, whatever, on both or either sides of that line, and though all the other stuff works fine, the tool will still start off as a pointer. I will finally deliver this stack with "cantModify" set to true, so the problem will go away, but what on earth do I not know in the meantime? Craig Newman From coiin at verizon.net Tue Apr 10 00:38:59 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 10 Apr 2012 00:38:59 -0400 Subject: Browse tool. I give up. In-Reply-To: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> Message-ID: <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> on openstack send "browsetool" to me in 1 tick end openstack on browsetool choose browse tool end browse tool From warren at warrensweb.us Tue Apr 10 01:43:27 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 10 Apr 2012 00:43:27 -0500 Subject: Browse tool. I give up. In-Reply-To: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> Message-ID: <4F83C87F.8020705@warrensweb.us> On 04/09/2012 11:18 PM, dunbarx at aol.com wrote: > > > I have been doing this sort of thing for so many years, and still find the simplest things will not work. > > > OK. Someone tell me why I cannot choose the browse tool under script control upon opening a stack in a new session. > Wait. Maybe I should write an openstack or opencard handler that has "choose browse tool" in it. > Wait. That does not work. And the funny thing is that I can place all kinds of other stuff, beeps, text loads, whatever, > on both or either sides of that line, and though all the other stuff works fine, the tool will still start off as a pointer. > > > I will finally deliver this stack with "cantModify" set to true, so the problem will go away, but what on earth do I not know > in the meantime? > > > Craig Newman > It sounds like you're launching Livecode by opening the stack. The problem is that the stack opens before the IDE is fully loaded and you are attempting to get the IDE to do something it's not ready for. Putting 'choose browse tool' into an openstack handler works fine here, so long as the IDE is open before the stack is opened, but not if I attempt to launch Livecode by opening the stack. Colin's script works, but you might notice the stack opens and when the IDE first opens, it is set to pointer and then switches to browse, which demonstrates the problem. Warren From gcanyon at gmail.com Tue Apr 10 01:47:30 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Apr 2012 00:47:30 -0500 Subject: Is this possible on iOS? Message-ID: For most of my apps I build a launcher that then loads the actual working stack from a remote location. I assume that's impossible due to Apple's restrictions on loading code remotely. But is it possible to save out a stack from the app locally, allowing it to be saved periodically and loaded locally at startup? From gerry.orkin at gmail.com Tue Apr 10 03:12:43 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 10 Apr 2012 17:12:43 +1000 Subject: Is this possible on iOS? In-Reply-To: References: Message-ID: Yes. Gerry On 10/04/2012, at 3:47 PM, Geoff Canyon wrote: > But is it possible to save out a > stack from the app locally, allowing it to be saved periodically and loaded > locally at startup? From gerry.orkin at gmail.com Tue Apr 10 03:20:45 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 10 Apr 2012 17:20:45 +1000 Subject: Is this possible on iOS? In-Reply-To: References: Message-ID: Try something like this (untested): if the environment contains "mobile" then put (specialFolderPath("engine") & "/yourStackInEngine.livecode") into EngineStack put url ("binfile:" & EngineStack) into EngineStackPath put EngineStackPath into url ("binfile:" & (specialFolderPath("Documents") & "/yourStackOnDevice.livecode")) go stack specialFolderPath("Documents") & "/yourStackOnDevice.livecode" end if Gerry On 10/04/2012, at 5:12 PM, Gerry Orkin wrote: > Yes. > > Gerry > > > > On 10/04/2012, at 3:47 PM, Geoff Canyon wrote: > >> But is it possible to save out a >> stack from the app locally, allowing it to be saved periodically and loaded >> locally at startup? From livfoss at mac.com Tue Apr 10 07:42:50 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 Apr 2012 13:42:50 +0200 Subject: iOS Control Instantiation problem In-Reply-To: References: Message-ID: <237E864A-B533-4982-97AE-7C13A4B908AD@mac.com> Thanks Chris, very helpful. I have not yet found out how to filter the Console output so that I only see my own 'put' lines, but give me time... IMNSHO the mother ship makes working with iOS unnecessarily difficult by not explaining things like this more clearly. There are a lot of not fully explained things in the iOS release notes - to take a small instance, I had to experiment to work out that iphoneControlGet is a function, not a substitute for the 'get' command. It's a tiny point, but it makes getting familiar with a new environment just that bit more difficult. A much worse one is the description of the use of the scroller control, where they virtually give up explaining it in words and hand you over to an example. This is tough, because the concept is a very unfamiliar one - that the scroller is not a container but a kind of mask or overlay through which you see and control an underlying LC control. I am still struggling with this, especially as it apparently involves the 'unboundedScroll' concept, which itself is very badly explained in the docs, and indeed includes another undocumented concept, the 'clamping' of a scroll. This concept applies to a group, but not to a scrolling list, which is a mystery in itself. By copying the example as closely as possible, I have got something to work, which is not the same as saying I understand it fully. Really none of the three available documents (Release Notes, User Guide, Dictionary) are much use here. Thank goodness for this list and the generosity of people on it. Graham On Mon, 09 Apr 2012 08:28:18 -0600, Chris Sheffield wrote: > Console is located in /Applications/Utilities. You can also debug this way when running your app on a device. Simply open Xcode, and under your connected device, click the Console icon. Note that the Console application is used when you're running in the simulator, and the Console in Xcode is used when running your app on a physical device. Sometimes I get confused and wonder why I'm not seeing output in one or the other. :-) > > Chris From dunbarx at aol.com Tue Apr 10 09:37:24 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Apr 2012 09:37:24 -0400 (EDT) Subject: Browse tool. I give up. In-Reply-To: <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> Message-ID: <8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> Thanks all. I figured this out too, though the explanation was most helpful. When I say "figured it out", I meant I tried sending the command in time, well, just because. In HC, the loading must be different, since one can choose, say, the field tool with a one-liner like I tried to do. There are millions of legacy habits that I have, coming from a HC background, that I need to reThink. Thanks again for the help. Craig Newman -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Tue, Apr 10, 2012 12:39 am Subject: Re: Browse tool. I give up. on openstack send "browsetool" to me in 1 tick end openstack on browsetool choose browse tool end browse tool _______________________________________________ use-livecode mailing list use-livecode at 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 Tue Apr 10 09:37:46 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 Apr 2012 15:37:46 +0200 Subject: Another iOS native control instantiation question Message-ID: <103FAA1A-F267-4D51-AB77-FF0E08062654@mac.com> Hi Can someone confirm that if one moves from card to card in an iOS app, any native controls (such as text input) need to be instantiated as the card is opened, and destroyed when another card is shown? This is very unlike the behaviour of LC on other platforms, where a field remains a field whether it's shown or not, that I feel I may have missed a trick here. Suppose for example one of my cards is dedicated to input of several small and essentially unrelated data items, with a lot of little one-line fields which the user has to fill in. When the user decides to invoke this feature of the app, the 'input' card appears. At this point, if it's as described (a lot of little essentially identical fields), then presumably I just have to create one single-line input control which will appear each time one of my fields get the focus, and script the handling of each input text accordingly: and when the user steers away from this card I should destroy the control. Is this right, and what would happen if I didn't do the destroy? I ask here because I'm getting overwhelmed by the need to experiment for almost every aspect of the behaviour of my iOS device and I'm frankly keen to learn from others' experience. TIA Graham From roger.e.eller at sealedair.com Tue Apr 10 10:07:49 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 10 Apr 2012 10:07:49 -0400 Subject: Looks like runrev.com is down Message-ID: http://www.isup.me/runrev.com ~Roger From bonnmike at gmail.com Tue Apr 10 10:09:37 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Apr 2012 08:09:37 -0600 Subject: Looks like runrev.com is down In-Reply-To: References: Message-ID: yeah just noticed myself. Its toast at the moment. On Tue, Apr 10, 2012 at 8:07 AM, Roger Eller wrote: > http://www.isup.me/runrev.com > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From yoshino at sys.wakayama-u.ac.jp Tue Apr 10 10:11:06 2012 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Tue, 10 Apr 2012 23:11:06 +0900 Subject: Unicode Problem In-Reply-To: <67256C23-024B-48A0-B2CE-B305C75CC6A8@kenjikojima.com> References: <4EA31F7D-EF22-415D-BD2B-8879F0BB499C@sys.wakayama-u.ac.jp> <8941533F-E054-4817-BDA8-7265F7EE55FE@sys.wakayama-u.ac.jp> <67256C23-024B-48A0-B2CE-B305C75CC6A8@kenjikojima.com> Message-ID: <78D483F5-A18D-4688-A84F-5A9EAE61739D@sys.wakayama-u.ac.jp> Hi, Kojima! Your script is perfect! Thank you for your help! _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 On 2012/04/09, at 21:58, Kenji Kojima wrote: > Hi Takashi-san, > > >>> 2. set the unicode text >>> >>> Here is my script. >>> >>> on mouseUp >>> >>> put "A1.txt" into theFileName >>> put AbsolutePathFromStack(theFileName) into theFullPath >>> >>> open file theFullPath >>> read from file theFullPath until EOF >>> set the unicodeText of fld "A1" to it >>> close file theFullPath >>> >>> end mouseUp >>> >>> I want read some Japanese from a file. > > > If your Japanese text file is "UTF 8" > > on mouseUp > answer file "" > put url ("file:" & it) into tUrl > set the unicodeText of field 1 to uniencode(tUrl, utf8) > end mouseUp > > > best, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Apr 10 10:13:49 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 10 Apr 2012 10:13:49 -0400 Subject: Looks like runrev.com is down In-Reply-To: References: Message-ID: And now it's back. On Tue, Apr 10, 2012 at 10:09 AM, Mike Bonner wrote: > yeah just noticed myself. Its toast at the moment. > > On Tue, Apr 10, 2012 at 8:07 AM, Roger Eller >wrote: > > > http://www.isup.me/runrev.com > > > > ~Roger From meitnik at bellsouth.net Tue Apr 10 10:26:41 2012 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 10 Apr 2012 10:26:41 -0400 Subject: iOS Control Instantiation problem In-Reply-To: References: Message-ID: I agree fully with you Graham. Its what has been holding me back for doing work with ios. I admire and thank those who can wrestle with the docs and ins/outs of Apple stuff dealing with ios. Here is an idea, provide free (many year agreement) copies of LC mobile to a school/classroom that develops lots of example stacks/docs to help others master developing on mobile lc. It would be a win-win for all. On Apr 10, 2012, at 9:37 AM, Graham Samuel wrote: > > Thanks Chris, very helpful. I have not yet found out how to filter the Console output so that I only see my own 'put' lines, but give me time... > > IMNSHO the mother ship makes working with iOS unnecessarily difficult by not explaining things like this more clearly. There are a lot of not fully explained things in the iOS release notes - to take a small instance, I had to experiment to work out that iphoneControlGet is a function, not a substitute for the 'get' command. It's a tiny point, but it makes getting familiar with a new environment just that bit more difficult. > > A much worse one is the description of the use of the scroller control, where they virtually give up explaining it in words and hand you over to an example. This is tough, because the concept is a very unfamiliar one - that the scroller is not a container but a kind of mask or overlay through which you see and control an underlying LC control. I am still struggling with this, especially as it apparently involves the 'unboundedScroll' concept, which itself is very badly explained in the docs, and indeed includes another undocumented concept, the 'clamping' of a scroll. This concept applies to a group, but not to a scrolling list, which is a mystery in itself. By copying the example as closely as possible, I have got something to work, which is not the same as saying I understand it fully. > > Really none of the three available documents (Release Notes, User Guide, Dictionary) are much use here. Thank goodness for this list and the generosity of people on it. > > Graham From pete at mollysrevenge.com Tue Apr 10 11:25:07 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 08:25:07 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: Thanks guys. I was hoping for a way to automate this and a few other steps involved in getting my app ready for release by using the standaloneSaved message, that's why I was using the revZIPxxx commands. I was also hoping that they would get around the problem I came across with the built in Mac compress function when the archive is unzipped on a Windows machine - some unnecessary files are included in the archive - .dstore if I remember correctly. I found a program named CleanArchiver that gets around that problem but, once again, makes it difficult to automate things using an external program. I'll give tar a try. Pete On Mon, Apr 9, 2012 at 8:48 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > tar (from the shell) works even better. > > On 9 April 2012 19:29, Kee Nethery wrote: > > > Or just use the Mac Archive or Compress menu item in the Finder. It works > > great. > > > > Kee > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > -- Pete Molly's Revenge From jacque at hyperactivesw.com Tue Apr 10 11:28:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Apr 2012 10:28:20 -0500 Subject: iOS Control Instantiation problem In-Reply-To: References: Message-ID: <4F845194.4@hyperactivesw.com> Graham Samuel wrote: > > I have not yet found out how to filter > the Console output so that I only see my own 'put' lines, but give > me time... Put the name of your app in the "filter" field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Tue Apr 10 11:30:31 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Apr 2012 17:30:31 +0200 Subject: Script editor instability In-Reply-To: <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> Message-ID: Hi Craig, I use LC 5.0.2 and earlier and have problem with the script editor whenever an error occurs in e.g. a resizeStack handler. When this happens, I usually activate a different application and click in the red close button while LiveCode is in the background. This closes the script window and allows me to continue working. This seems very similar to your observations. I am sure that the cause is a scripting error somewhere in the script editor. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 04:37, DunbarX at aol.com wrote: > > > Since I upgraded to 5.5, now and then the script editor cannot be moved. Rather the titlebar becomes a sort of resize tab, > as if I clicked and dragged the actual resize tab. So trying to move the script editor window only results in resizing that > window.I think it only changes the width, not the actual rect, like the real resize tab would. > > > I cannot reproduce it, but it happens at least two or three times in a session. I can dismiss the window with cmd-W, but > this sometimes crashes LC. > > > Anyone else see this? I have to save often to prevent real data loss. Never heard of this before the upgrade. > > > Craig Newman From klaus at major.on-rev.com Tue Apr 10 11:39:59 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 10 Apr 2012 17:39:59 +0200 Subject: play sound from url on iOS In-Reply-To: <408775F3-B4E9-499A-AC23-EA6A66A8F1FF@major.on-rev.com> References: <408775F3-B4E9-499A-AC23-EA6A66A8F1FF@major.on-rev.com> Message-ID: <7618FDEA-0CC8-402E-9AB2-750D662E6E74@major.on-rev.com> Hi all, Am 09.04.2012 um 15:35 schrieb Klaus on-rev: > Hi friends, > > short question, is it possible to play a sound file from an URL in iOS? > If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."? > > The docs do not mention URL, only in the "Video playback" section. > > Thanks a lot in advance! noone done this before? :-) I don't have an iOS license nor an iDevice to check this in the moment! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Tue Apr 10 11:39:48 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Apr 2012 17:39:48 +0200 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: <9B1D6C60-F5CF-4EFC-9A7B-78F375C59ACF@economy-x-talk.com> Pete, This is a line from my Compression Tool software. It zips without the .DS_Store files. Item -1 of fld "File" is the name of a file or folder in the current defaultFolder. put "zip -r" && quote & myZipFile & quote && quote & item -1 of fld "File" & quote && " -x .* *.DS_Store *Icon*" into myShell Installer Maker compresses all embedded files with the compress() function. Compressing the resulting installer again hardly saves any space. The compress() function is very efficient. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 17:25, Pete wrote: > Thanks guys. I was hoping for a way to automate this and a few other steps > involved in getting my app ready for release by using the standaloneSaved > message, that's why I was using the revZIPxxx commands. > > I was also hoping that they would get around the problem I came across with > the built in Mac compress function when the archive is unzipped on a > Windows machine - some unnecessary files are included in the archive - > .dstore if I remember correctly. I found a program named CleanArchiver > that gets around that problem but, once again, makes it difficult to > automate things using an external program. > > I'll give tar a try. > > Pete > From livfoss at mac.com Tue Apr 10 12:51:55 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 Apr 2012 18:51:55 +0200 Subject: Another iOS native control instantiation question Message-ID: Just to add to my message below, I have an interesting (at least to me!) real-life example. In my iOS app, I have a card with a scrolling list on it (an instantiated native control) and an action when a user touches one of the lines in the scrolled list which includes cloning some template cards in the stack and then returning to the original card. At this point in the app, the user only sees the original card because the cloning is hidden by a 'lock screen'. I found that this meant that the preOpenCard message for the card was being invoked every time I did a set of clones and then returned to the original card - this is correct behaviour from the engine's point of view. I was able to use a switch (a custom property) checked in the preOpenCard handler to prevent the destruction and recreation of the scroller on this card during the cloning sequence. It works, which seems to show that you don't **have to** destroy native controls when you leave a card, and they will be waiting for you when you come back. This makes me even more confused about the necessity to destroy native controls. Graham I wrote: > Can someone confirm that if one moves from card to card in an iOS app, any native controls (such as text input) need to be instantiated as the card is opened, and destroyed when another card is shown? This is very unlike the behaviour of LC on other platforms, where a field remains a field whether it's shown or not, that I feel I may have missed a trick here. > > Suppose for example one of my cards is dedicated to input of several small and essentially unrelated data items, with a lot of little one-line fields which the user has to fill in. When the user decides to invoke this feature of the app, the 'input' card appears. At this point, if it's as described (a lot of little essentially identical fields), then presumably I just have to create one single-line input control which will appear each time one of my fields get the focus, and script the handling of each input text accordingly: and when the user steers away from this card I should destroy the control. > > Is this right, and what would happen if I didn't do the destroy? I ask here because I'm getting overwhelmed by the need to experiment for almost every aspect of the behaviour of my iOS device and I'm frankly keen to learn from others' experience. From pete at mollysrevenge.com Tue Apr 10 12:51:46 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 09:51:46 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <9B1D6C60-F5CF-4EFC-9A7B-78F375C59ACF@economy-x-talk.com> References: <9B1D6C60-F5CF-4EFC-9A7B-78F375C59ACF@economy-x-talk.com> Message-ID: Thanks Mark, I'll take a look. Pete On Tue, Apr 10, 2012 at 8:39 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Pete, > > This is a line from my Compression Tool software. It zips without the > .DS_Store files. Item -1 of fld "File" is the name of a file or folder in > the current defaultFolder. > > put "zip -r" && quote & myZipFile & quote && quote & item -1 of fld > "File" & quote && " -x .* *.DS_Store *Icon*" into myShell > > Installer Maker compresses all embedded files with the compress() > function. Compressing the resulting installer again hardly saves any space. > The compress() function is very efficient. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 10 apr 2012, at 17:25, Pete wrote: > > > Thanks guys. I was hoping for a way to automate this and a few other > steps > > involved in getting my app ready for release by using the standaloneSaved > > message, that's why I was using the revZIPxxx commands. > > > > I was also hoping that they would get around the problem I came across > with > > the built in Mac compress function when the archive is unzipped on a > > Windows machine - some unnecessary files are included in the archive - > > .dstore if I remember correctly. I found a program named CleanArchiver > > that gets around that problem but, once again, makes it difficult to > > automate things using an external program. > > > > I'll give tar a try. > > > > Pete > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From livfoss at mac.com Tue Apr 10 13:02:09 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 Apr 2012 19:02:09 +0200 Subject: Can I put advisory text in an 'ask' dialog? Message-ID: Sometimes one sees apps (on different platforms) where the user is invited to type something into a field, and the field is pre-filled with a text which disappears the moment the user starts typing - the initial text says stuff like 'type your name here'. This type of text is not preselected (apparently) - so it must be a special type of text, but I don't know how to make it appear. Specifically, in LC's iOS implementation, the 'ask' dialog scripting looks like this: ask [ question | password ] prompt [ with initialAnswer ] [ titled title ] so the question resolves to: how do I make the initialAnswer text a 'ghost' text such as I have described, or is it impossible? Graham From m.schonewille at economy-x-talk.com Tue Apr 10 13:19:13 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Apr 2012 19:19:13 +0200 Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: Hi Graham, You can't do exactly what you want with the ask dialog, but the default text is select disappears as soon as the user starts typing. In msot cases, that should do the job. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 19:02, Graham Samuel wrote: > Sometimes one sees apps (on different platforms) where the user is invited to type something into a field, and the field is pre-filled with a text which disappears the moment the user starts typing - the initial text says stuff like 'type your name here'. This type of text is not preselected (apparently) - so it must be a special type of text, but I don't know how to make it appear. Specifically, in LC's iOS implementation, the 'ask' dialog scripting looks like this: > > ask [ question | password ] prompt [ with initialAnswer ] [ titled title ] > > so the question resolves to: how do I make the initialAnswer text a 'ghost' text such as I have described, or is it impossible? > > Graham From dunbarx at aol.com Tue Apr 10 13:22:30 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Apr 2012 13:22:30 -0400 (EDT) Subject: Script editor instability In-Reply-To: References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com><8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> Message-ID: <8CEE555A459DB77-17E0-97F9@webmail-d093.sysops.aol.com> Mark. But have you seen the actual behavior I explained? That dragging in the titleBar to try to move the window instead changes the width of that window? I will keep in mind what you said. I have tried this, I think, or at least must have in the scramble to try to restore order. I certainly went back to the finder. Sometimes I can, sometimes I have to force quit. It is one of the few times I get an "unexpected quit" message with its concomitant messages and offers to relaunch and send error reports -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Tue, Apr 10, 2012 11:33 am Subject: Re: Script editor instability Hi Craig, I use LC 5.0.2 and earlier and have problem with the script editor whenever an error occurs in e.g. a resizeStack handler. When this happens, I usually activate a different application and click in the red close button while LiveCode is in the background. This closes the script window and allows me to continue working. This seems very similar to your observations. I am sure that the cause is a scripting error somewhere in the script editor. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 04:37, DunbarX at aol.com wrote: > > > Since I upgraded to 5.5, now and then the script editor cannot be moved. Rather the titlebar becomes a sort of resize tab, > as if I clicked and dragged the actual resize tab. So trying to move the script editor window only results in resizing that > window.I think it only changes the width, not the actual rect, like the real resize tab would. > > > I cannot reproduce it, but it happens at least two or three times in a session. I can dismiss the window with cmd-W, but > this sometimes crashes LC. > > > Anyone else see this? I have to save often to prevent real data loss. Never heard of this before the upgrade. > > > 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 giulio at cantoberon.it Tue Apr 10 13:25:04 2012 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Tue, 10 Apr 2012 19:25:04 +0200 Subject: play sound from url on iOS In-Reply-To: References: Message-ID: Hi Klaus, yes, I use the player this way: iphoneControlCreate "player", "ioscontrol" iphoneControlSet "ioscontrol", "filename", "http://www.yoursitecom/audiofolder/audiofile.mp3" iphoneControlSet "ioscontrol", "preserveAspect", true iphoneControlSet "ioscontrol", "showController", true iphoneControlSet "ioscontrol", "visible", true iphoneControlSet "ioscontrol", "rect", "0,106,320,106" iphoneControlDo "ioscontrol", "play" Hope this helps, Giulio > > Subject: Re: play sound from url on iOS > Hi all, > > Am 09.04.2012 um 15:35 schrieb Klaus on-rev: > >> Hi friends, >> >> short question, is it possible to play a sound file from an URL in iOS? >> If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."? >> >> The docs do not mention URL, only in the "Video playback" section. >> >> Thanks a lot in advance! > > noone done this before? :-) > > I don't have an iOS license nor an iDevice to check this in the moment! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > From userev at canelasoftware.com Tue Apr 10 13:26:14 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 10 Apr 2012 10:26:14 -0700 Subject: Script editor instability In-Reply-To: <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> Message-ID: <031153E2-1D9D-4105-866B-962ADC1150AB@canelasoftware.com> On Apr 9, 2012, at 7:37 PM, dunbarx at aol.com wrote: > > > Since I upgraded to 5.5, now and then the script editor cannot be moved. Rather the titlebar becomes a sort of resize tab, > as if I clicked and dragged the actual resize tab. So trying to move the script editor window only results in resizing that > window.I think it only changes the width, not the actual rect, like the real resize tab would. We are having a number of issues with stability in 5.5. The problem is that the script editor issues you are seeing are very sporadic. I think the majority of issues arise if you save with a command S often like I do. I find that the IDE becomes locked down for a period of time before it returns. Everything you do to it gets queued up and runs through very fast once the IDE returns. Once we have a better recipe, I will bugzilla it. For now, I to am looking for others that may be seeing this problem. For the moment, our studio is moving all desktop work back to 5.02 and leaving 5.5 for mobile work only. Best regards, Mark Talluto http://www.canelasoftware.com From cmsheffield at me.com Tue Apr 10 13:26:49 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 10 Apr 2012 11:26:49 -0600 Subject: iOS: using data grid on a retina display Message-ID: <02FD37EF-DF49-4506-AA37-1F2B57F08182@me.com> Is anyone using a data grid in an app that supports multiple resolutions? In particular, both iPad screens? I'm having a problem getting the data grid resized correctly to display on the iPad retina display. Is there a trick to it? Perhaps some property that can be set on the data grid that resizes everything at once? I have code that I'm running when my app starts up that resizes all my controls, and it works great, except with the data grid. Not quite sure how to handle that one. The grid is resizing correctly width-wise I believe, but not height-wise. I've customized my row template to display the data the way I want, and it looks great on the non-retina display. Do I need to resize the controls in my row template stack? I'm not currently doing that. Maybe that's my problem... Anyone? Thanks, Chris From klaus at major.on-rev.com Tue Apr 10 13:56:58 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 10 Apr 2012 19:56:58 +0200 Subject: play sound from url on iOS In-Reply-To: References: Message-ID: <5E193FBE-75C7-4171-9004-59898F95344B@major.on-rev.com> Buonasera Giulio, Am 10.04.2012 um 19:25 schrieb Giulio Mastrosanti: > Hi Klaus, > > yes, I use the player this way: > > iphoneControlCreate "player", "ioscontrol" > iphoneControlSet "ioscontrol", "filename", "http://www.yoursitecom/audiofolder/audiofile.mp3" > iphoneControlSet "ioscontrol", "preserveAspect", true > iphoneControlSet "ioscontrol", "showController", true > iphoneControlSet "ioscontrol", "visible", true > iphoneControlSet "ioscontrol", "rect", "0,106,320,106" > iphoneControlDo "ioscontrol", "play" > > Hope this helps, Ma certo! Tante grazie! :-) > Giulio Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Tue Apr 10 14:16:01 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Apr 2012 18:16:01 +0000 (UTC) Subject: Script editor instability References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> <031153E2-1D9D-4105-866B-962ADC1150AB@canelasoftware.com> Message-ID: Mark Talluto writes: > We are having a number of issues with stability in 5.5. The problem is that the script editor issues you are > seeing are very sporadic. I think the majority of issues arise if you save with a command S often like I do. I > find that the IDE becomes locked down for a period of time before it returns. Everything you do to it gets > queued up and runs through very fast once the IDE returns. Once we have a better recipe, I will bugzilla it. > For now, I to am looking for others that may be seeing this problem. For the moment, our studio is moving all > desktop work back to 5.02 and leaving 5.5 for mobile work only. I had to hack around this in the glx2 environment - the problem seems to be that something changed with respect to menubars. In glx2 I now grab the command- or control-c,v,x keys and process them myself instead of letting the IDE take care of things. The IDE's lockup period is very annoying - there seems to be a delay between mouseDown and mouseUp events, so that a command-S will insert an "s" into the text unless the key combo is held down long enough. Doesn't affect Windows, but does on OSX and linux. I've also found that compiling a script in the IDE's script editor changes the focus away from the script editor window, so that following a compile with a command-S doesn't save the stack, I have to click in the script field first. -- Mark Wieder From jacque at hyperactivesw.com Tue Apr 10 14:37:53 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Apr 2012 13:37:53 -0500 Subject: Script editor instability In-Reply-To: <031153E2-1D9D-4105-866B-962ADC1150AB@canelasoftware.com> References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com> <8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com> <031153E2-1D9D-4105-866B-962ADC1150AB@canelasoftware.com> Message-ID: <4F847E01.4030203@hyperactivesw.com> On 4/10/12 12:26 PM, Mark Talluto wrote: > On Apr 9, 2012, at 7:37 PM, dunbarx at aol.com wrote: > >> >> >> Since I upgraded to 5.5, now and then the script editor cannot be >> moved. Rather the titlebar becomes a sort of resize tab, as if I >> clicked and dragged the actual resize tab. So trying to move the >> script editor window only results in resizing that window.I think >> it only changes the width, not the actual rect, like the real >> resize tab would. > > We are having a number of issues with stability in 5.5. The problem > is that the script editor issues you are seeing are very sporadic. I > think the majority of issues arise if you save with a command S often > like I do. I find that the IDE becomes locked down for a period of > time before it returns. Everything you do to it gets queued up and > runs through very fast once the IDE returns. Once we have a better > recipe, I will bugzilla it. For now, I to am looking for others that > may be seeing this problem. For the moment, our studio is moving all > desktop work back to 5.02 and leaving 5.5 for mobile work only. I've seen some issues too, but like you I can't pinpoint them. I've had more lockups recently than ever before. There's a decided delay before menus drop down too, and menu key shortcuts don't always work reliably any more, as Mark mentioned. I rarely Cmd-S from within the script editor, I usually save after bringing the stack to the front. But the lockups I've had are almost always in the editor, usually while stepping through code in debug mode. I've wondered if the problems are related to the rewrite of the field object. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Tue Apr 10 16:17:08 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 13:17:08 -0700 Subject: [ANN] SQLiteAdmin Message-ID: I'm happy to announce the release of my first commercial Livecode application, SQLiteAdmin, a db admin tool for SQLite databases. A 30-day trial version of SQLiteAdmin is available at www.lcsql.com/products.html In recognition of the amazing amount of knowledge imparted to me by subscribers to this list, I am making SQLiteAdmin available for $4.99, a $20 discount, to any list member until midnight on Friday April 13th. Please email me off list at pete at lcsql.com if you would like to take advantage of this deal, and I will send you a link to buy it at that price. SQLiteAdmin has been tested on OS X and Windows. I do not have access to Linux (yet!) but would be happy to compile a Linux standalone for anyone who would be willing to try it and give me feedback on what changes might be needed to make it a viable Linux product. OK, now on to the sales pitch. SQLiteAdmin is a full-featured administration tool for SQLite databases that removes all of the restrictions and omissions inherent in the standard SQLite Data Definition Language. You can safely add, modify, or delete any of the properties of a table or column including name, data type, data length, primary key, foreign key, check, unique, not null, and default constraints, all while maintaining the integrity of your data. SQLiteAdmin extends the DDL even further with convenience features that provide you with the ability to add multiple columns that share the same properties with a single click, and optional automatic index creation for foreign key fields. SQLiteAdmin provides complete data export and import capability in a number of formats including csv, delimited text files with your choice of delimiter, and SQL INSERT statements. You can export all or selected rows of a table. You can also export the CREATE statements necessary to build your database, with or without the INSERT statements to populate it. With SQLiteAdmin's Utilities view, you will be able to audit your database, get recommendations for better performance, and modify any of your database's PRAGMA settings. SQLiteAdmin's Browse view gives you access to the SQLite Data Manipulation Language. You can display data from any table with filtering capability on any columns in the table, select the columns you want to view and display them in your preferred sequence, all by "filling in the blanks" instead of writing any SQL statements. The Browse Tool also provides complete insert, duplicate, update and delete capabilities, including modification or deletion of multiple rows in one operation. And you can save your filter definitions, column selections, and sort sequence for later use. If you need to write your own SQL statements, you can enter any SQLite command in SQLiteAdmin's SQL tool and execute it. SQL commands can be saved and recalled for later use. SQliteAdmin includes full support for in memory databases and also provides the ability to save an in memory database as a permanent disk file. A 30-day demo version of SQLiteAdmin is available at http://www.lcsql.com/products.html. Some functionality is disabled in the demo version. -- Peter Haworth lcSQL Software -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Tue Apr 10 18:58:54 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2012 00:58:54 +0200 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: <23E1091C-0A68-4F83-A83E-B41911D761A5@economy-x-talk.com> Kee, This doesn't get rid of the .DS_Store files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 04:29, Kee Nethery wrote: > Or just use the Mac Archive or Compress menu item in the Finder. It works great. > > Kee From m.schonewille at economy-x-talk.com Tue Apr 10 19:02:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2012 01:02:45 +0200 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> Hi, Tar is a bad idea because it glues files together and doesn't compress. Tar was invented to allow gzip to compress multiple files. It is easier and faster to use the zip command line tool rather than to use both tar and gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 05:48, stephen barncard wrote: > tar (from the shell) works even better. From tolistim at me.com Tue Apr 10 19:14:30 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 10 Apr 2012 16:14:30 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> Message-ID: <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> On Apr 10, 2012, at 4:02 PM, Mark Schonewille wrote: > Hi, > > Tar is a bad idea because it glues files together and doesn't compress. Tar was invented to allow gzip to compress multiple files. It is easier and faster to use the zip command line tool rather than to use both tar and gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. Wha??? "tar" (Tape ARchiver) has been around since before we even considered compression schemes. It wasn't until the Linux / FreeBSD movement that compression options were added. On most systems still using AT&T tar sources, you have to compress an archive after tar creates it and decompress an archive before tar can extract its contents. We prefer tar and a compressor because it allows up to properly bundle up bits of code, regardless of the file types, and share them with others while reduing the overall footprint required on disk and for transfer. The tar app is available in one form or another on every platform out there, so you can pretty much always open another's tarball. In fact, I believe Dennis' original PDP MULTIX 9-track install tapes used a precursor to the modern tar format. Tim From m.schonewille at economy-x-talk.com Tue Apr 10 19:18:15 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2012 01:18:15 +0200 Subject: Browse tool. I give up. In-Reply-To: <8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> <8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> Message-ID: <7C187C2F-8603-4B8B-B006-501249B2121E@economy-x-talk.com> Hi Craig, My explanation won't help much, but maybe you like to know the reasons why it doesn't work as expected. I HyperCard there is an IDE layer and a stack layer. Except for the stacks themselves, the IDE is written in Pascal (later C) and handle everything. The scripts in the Home stack don't get in the way. When you open a stack, HyperCard chooses the browse tool and if you want to change tools in your openStack script then you can just do that. MetaCard was written like that too. The engine took care of everything and the IDE was minimalistic and didn't get in the way. You could change the tool in your openStack script if you wanted to. MetaCard opened with the browse tool as the active tool and you could change that to the pointer tool in a plugin for instance. The Revolution (LiveCode) IDE is a different beast. It comes on top of everything, including the engine and the remnants of the original MetaCard IDE. In the past, after the engine set the tool, the Revolution IDE took over and set the tool again --maybe even 2 or 3 times. I believe there are a few bugs in the Revolution IDE that prevent it from setting the tool correctly. There were some issues with this in the past. It seems that RunRev has applied a hack to make sure that the tool is alwaus the browse tool (and not a watch cursor as it used to be for many years). After all scripts have run, including your own openStack scripts, the IDE chooses the pointer tool one more time, just to be sure. You could move back to the MetaCard IDE. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 15:37, DunbarX at aol.com wrote: > Thanks all. > > > I figured this out too, though the explanation was most helpful. > > > When I say "figured it out", I meant I tried sending the command in time, well, just because. > > > In HC, the loading must be different, since one can choose, say, the field tool with a one-liner like I tried to do. > > > There are millions of legacy habits that I have, coming from a HC background, that I need to reThink. Thanks again for the help. > > > Craig Newman > From m.schonewille at economy-x-talk.com Tue Apr 10 19:24:53 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2012 01:24:53 +0200 Subject: Zipping Up an LC standalone program In-Reply-To: <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> Message-ID: <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> Hi Tim, Yes, you're right, tar is older. Nonetheless, can you think of any other reason why one would want to use tar, except for glueing files together in preparation of compression? I'm not sure what you mean by "property bundle up bits of code". I don't think that tar is available on Windows by default, but that's another story. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 11 apr 2012, at 01:14, Tim Jones wrote: > On Apr 10, 2012, at 4:02 PM, Mark Schonewille wrote: > >> Hi, >> >> Tar is a bad idea because it glues files together and doesn't compress. Tar was invented to allow gzip to compress multiple files. It is easier and faster to use the zip command line tool rather than to use both tar and gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. > > Wha??? > > "tar" (Tape ARchiver) has been around since before we even considered compression schemes. It wasn't until the Linux / FreeBSD movement that compression options were added. On most systems still using AT&T tar sources, you have to compress an archive after tar creates it and decompress an archive before tar can extract its contents. > > We prefer tar and a compressor because it allows up to properly bundle up bits of code, regardless of the file types, and share them with others while reduing the overall footprint required on disk and for transfer. The tar app is available in one form or another on every platform out there, so you can pretty much always open another's tarball. > > In fact, I believe Dennis' original PDP MULTIX 9-track install tapes used a precursor to the modern tar format. > > Tim From dunbarx at aol.com Tue Apr 10 19:25:27 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Apr 2012 19:25:27 -0400 (EDT) Subject: Script editor instability In-Reply-To: <4F847E01.4030203@hyperactivesw.com> References: <404A91D1-94A5-435C-AFD5-11E573939287@gmail.com><8CEE4DA0F18FACD-2794-38D6@webmail-d156.sysops.aol.com><031153E2-1D9D-4105-866B-962ADC1150AB@canelasoftware.com> <4F847E01.4030203@hyperactivesw.com> Message-ID: <8CEE588585B249D-17E0-BDCF@webmail-d093.sysops.aol.com> Interesting stuff from all. Am I to understand that events queued in the IDE are taking sizable fractions of minutes to process, or flush? And that if I wait a while normalcy returns? Minutes?? I will try this tonight. I usually cmd-S to save in either the script editor or in the stack, wherever I am when it seems prudent to do so Often, lately. But I never noticed an issue with focus from either place. I will watch for that as well. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Tue, Apr 10, 2012 2:40 pm Subject: Re: Script editor instability On 4/10/12 12:26 PM, Mark Talluto wrote: > On Apr 9, 2012, at 7:37 PM, dunbarx at aol.com wrote: > >> >> >> Since I upgraded to 5.5, now and then the script editor cannot be >> moved. Rather the titlebar becomes a sort of resize tab, as if I >> clicked and dragged the actual resize tab. So trying to move the >> script editor window only results in resizing that window.I think >> it only changes the width, not the actual rect, like the real >> resize tab would. > > We are having a number of issues with stability in 5.5. The problem > is that the script editor issues you are seeing are very sporadic. I > think the majority of issues arise if you save with a command S often > like I do. I find that the IDE becomes locked down for a period of > time before it returns. Everything you do to it gets queued up and > runs through very fast once the IDE returns. Once we have a better > recipe, I will bugzilla it. For now, I to am looking for others that > may be seeing this problem. For the moment, our studio is moving all > desktop work back to 5.02 and leaving 5.5 for mobile work only. I've seen some issues too, but like you I can't pinpoint them. I've had more lockups recently than ever before. There's a decided delay before menus drop down too, and menu key shortcuts don't always work reliably any more, as Mark mentioned. I rarely Cmd-S from within the script editor, I usually save after bringing the stack to the front. But the lockups I've had are almost always in the editor, usually while stepping through code in debug mode. I've wondered if the problems are related to the rewrite of the field object. -- 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 dunbarx at aol.com Tue Apr 10 19:30:29 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Apr 2012 19:30:29 -0400 (EDT) Subject: Browse tool. I give up. In-Reply-To: <7C187C2F-8603-4B8B-B006-501249B2121E@economy-x-talk.com> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com><5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net><8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> <7C187C2F-8603-4B8B-B006-501249B2121E@economy-x-talk.com> Message-ID: <8CEE5890C68F1C1-17E0-BE30@webmail-d093.sysops.aol.com> Mark. Good reading. Thanks. I think a preference ought to be available to set the startup tool. Most times, I would think, the browse tool is the one users (or even developers) want. But I do not mind a stable workaround, as long as I don't forget it. Craig -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Tue, Apr 10, 2012 7:20 pm Subject: Re: Browse tool. I give up. Hi Craig, My explanation won't help much, but maybe you like to know the reasons why it doesn't work as expected. I HyperCard there is an IDE layer and a stack layer. Except for the stacks themselves, the IDE is written in Pascal (later C) and handle everything. The scripts in the Home stack don't get in the way. When you open a stack, HyperCard chooses the browse tool and if you want to change tools in your openStack script then you can just do that. MetaCard was written like that too. The engine took care of everything and the IDE was minimalistic and didn't get in the way. You could change the tool in your openStack script if you wanted to. MetaCard opened with the browse tool as the active tool and you could change that to the pointer tool in a plugin for instance. The Revolution (LiveCode) IDE is a different beast. It comes on top of everything, including the engine and the remnants of the original MetaCard IDE. In the past, after the engine set the tool, the Revolution IDE took over and set the tool again --maybe even 2 or 3 times. I believe there are a few bugs in the Revolution IDE that prevent it from setting the tool correctly. There were some issues with this in the past. It seems that RunRev has applied a hack to make sure that the tool is alwaus the browse tool (and not a watch cursor as it used to be for many years). After all scripts have run, including your own openStack scripts, the IDE chooses the pointer tool one more time, just to be sure. You could move back to the MetaCard IDE. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 10 apr 2012, at 15:37, DunbarX at aol.com wrote: > Thanks all. > > > I figured this out too, though the explanation was most helpful. > > > When I say "figured it out", I meant I tried sending the command in time, well, just because. > > > In HC, the loading must be different, since one can choose, say, the field tool with a one-liner like I tried to do. > > > There are millions of legacy habits that I have, coming from a HC background, that I need to reThink. Thanks again for the help. > > > 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 rjb at robelko.com Tue Apr 10 19:42:23 2012 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 11 Apr 2012 01:42:23 +0200 Subject: how to do this type of search In-Reply-To: References: Message-ID: On 10.04.2012 at 10:06 Uhr +0900 Nicolas Cueto apparently wrote: > > The 'lineOffset' function will be your friend here... > >If only it truly were that simple... > >In my example, lineOffset would return "3" for "is". But "5" is what >I'm after. > >-- >Nicolas Cueto > untested but something along this should work: function lineContainsExactMatch pWord,pText set the wholematches to true replace slash with tab in pText -- so we can search for was or were in was/were return the number of lines of (item 1 to itemOffset(pWord, pText) of pText) end lineContainsExactMatch Robert From pete at mollysrevenge.com Tue Apr 10 20:04:35 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 17:04:35 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> Message-ID: I guess my primary concern is that a user can simply download the compressed file and either have his browser autoatically un-compress it or just be able to double-click on it to un-compress it, then have the program be ready to use. I may be misunderstanding but sounds like it might not be that straightforward with tar? Pete On Tue, Apr 10, 2012 at 4:24 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Tim, > > Yes, you're right, tar is older. Nonetheless, can you think of any other > reason why one would want to use tar, except for glueing files together in > preparation of compression? I'm not sure what you mean by "property bundle > up bits of code". > > I don't think that tar is available on Windows by default, but that's > another story. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 11 apr 2012, at 01:14, Tim Jones wrote: > > > On Apr 10, 2012, at 4:02 PM, Mark Schonewille wrote: > > > >> Hi, > >> > >> Tar is a bad idea because it glues files together and doesn't compress. > Tar was invented to allow gzip to compress multiple files. It is easier and > faster to use the zip command line tool rather than to use both tar and > gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. > > > > Wha??? > > > > "tar" (Tape ARchiver) has been around since before we even considered > compression schemes. It wasn't until the Linux / FreeBSD movement that > compression options were added. On most systems still using AT&T tar > sources, you have to compress an archive after tar creates it and > decompress an archive before tar can extract its contents. > > > > We prefer tar and a compressor because it allows up to properly bundle > up bits of code, regardless of the file types, and share them with others > while reduing the overall footprint required on disk and for transfer. The > tar app is available in one form or another on every platform out there, so > you can pretty much always open another's tarball. > > > > In fact, I believe Dennis' original PDP MULTIX 9-track install tapes > used a precursor to the modern tar format. > > > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From tolistim at me.com Tue Apr 10 20:09:53 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 10 Apr 2012 17:09:53 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> Message-ID: Pete - Both OS X and Linux will auto-extract tar, tar.gz, tgz, and tar.bz files if that setting is enabled in the browser (safe files) or by double clicking the file. If the user adds WinTAR or a later version of PkZIP or 7zip to their Windows systems, they'll get the same thing there. Tim On Apr 10, 2012, at 5:04 PM, Pete wrote: > I guess my primary concern is that a user can simply download the > compressed file and either have his browser autoatically un-compress it or > just be able to double-click on it to un-compress it, then have the program > be ready to use. I may be misunderstanding but sounds like it might not be > that straightforward with tar? From m.schonewille at economy-x-talk.com Tue Apr 10 20:11:14 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2012 02:11:14 +0200 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> Message-ID: <81D4BCFB-BD12-43CD-9841-E0A45ACB2BFF@economy-x-talk.com> Hi Pete, On Mac, the BOM Archiver can also decompress tar files. On Windows, additional software is needed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 11 apr 2012, at 02:04, Pete wrote: > I guess my primary concern is that a user can simply download the > compressed file and either have his browser autoatically un-compress it or > just be able to double-click on it to un-compress it, then have the program > be ready to use. I may be misunderstanding but sounds like it might not be > that straightforward with tar? > Pete > From warren at warrensweb.us Tue Apr 10 20:25:00 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 10 Apr 2012 19:25:00 -0500 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> Message-ID: <4F84CF5C.6020007@warrensweb.us> On 04/10/2012 07:04 PM, Pete wrote: > I guess my primary concern is that a user can simply download the > compressed file and either have his browser autoatically un-compress it or > just be able to double-click on it to un-compress it, then have the program > be ready to use. I may be misunderstanding but sounds like it might not be > that straightforward with tar? > Pete I wouldn't say there's anything difficult about compressing using tar+bzip2, which gives much higher compression than ZIP. In a terminal: cd to directory containing the directory you want to archive and compress issue the command: tar cfj name-of-archive-to-create.tbz2 name-of-directory-to-archive Done It seems simple enough. Warren From pete at mollysrevenge.com Tue Apr 10 20:27:31 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 17:27:31 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <81D4BCFB-BD12-43CD-9841-E0A45ACB2BFF@economy-x-talk.com> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <81D4BCFB-BD12-43CD-9841-E0A45ACB2BFF@economy-x-talk.com> Message-ID: Yeah, it was the earlier comment about WIndows that scared me. Now, if only the revZIPxxxx commands worked OK, we wouldn't be excahnging these emails! Pete On Tue, Apr 10, 2012 at 5:11 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > On Mac, the BOM Archiver can also decompress tar files. On Windows, > additional software is needed. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 11 apr 2012, at 02:04, Pete wrote: > > > I guess my primary concern is that a user can simply download the > > compressed file and either have his browser autoatically un-compress it > or > > just be able to double-click on it to un-compress it, then have the > program > > be ready to use. I may be misunderstanding but sounds like it might not > be > > that straightforward with tar? > > Pete > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From lfredricks at proactive-intl.com Tue Apr 10 20:31:05 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 10 Apr 2012 17:31:05 -0700 Subject: End Coming for Omegabundle for LiveCode 2012 - Don't Miss Out on the Best Deal on LiveCode Add-ons Message-ID: <3B2EF293535B41E791808AE7D6C62DFA@GATEWAY> The clock is ticking on this offer @ http://www.omegabundle.com/ - coming to an end in 14 days. It won't be back in 2012. Omega Bundle 2012 for LiveCode brings together 13 essential plugins, add-ons and more for only $399. If you purchased in 2011 or 2010, note that upgrading the software you got previously on a case by case basis runs much more than the $399 price point. This includes: -tm tools Pro Pack 2012. Seven Tactile Media professional interface building tools for LiveCode, including tmControl, tmColor, tmGradient, tmAudio, tmGuage, tmNumeric, tmAlign. Sold separately for $226. -PowerDebug. Ah Software's powerful debugging tool suite for building better applications. Sold separately for $40.00. -Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for games, simulations and 3D apps for desktop games. The only true 3D game engine for LiveCode! Sold Separately for $299. -SQL Yoga. Makes developing data-driven solutions easy by tranforming database complexities into common LiveCode processes. Sold separately for $199. -Flexible Learning ChartMaker. A fully featured cross-platform library solution designed to create professional charts in your own work. Sold separately for $79.00. -ASG DataGrid Helper. A complete set of tools for rapidly creating professional business layouts and data grids for the desktop and for iPhone. Sold separately for $49. -.com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to LiveCode. Sold separately for $600. -Turner Icon Set Professional. 80 professionally designed, cross platform compatible icons for your applications. Sold separately for $179.00. -Valentina Office Server Unlimited. Advanced database and reports server based on the ultra fast columnar database engine Valentina. Sold separately for $1499. -Flexible Learning Scripter's Scrapbook. A knowledge rich resource for collecting code resources and accessing years of shared resources of LiveCode professional developers. Sold separately for $79.00. -Valentina ADK+ for LiveCode. Embedded local ultra fast analytical database for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00. From pete at mollysrevenge.com Tue Apr 10 20:54:57 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 17:54:57 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <4F84CF5C.6020007@warrensweb.us> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> Message-ID: Hi Warren, It's the un-zipping at the other end that concerns me, not the zip on my machine. Sounds like the ability to handle tar files might require a Windows user to install some software. Pete On Tue, Apr 10, 2012 at 5:25 PM, Warren Samples wrote: > On 04/10/2012 07:04 PM, Pete wrote: > >> I guess my primary concern is that a user can simply download the >> compressed file and either have his browser autoatically un-compress it or >> just be able to double-click on it to un-compress it, then have the >> program >> be ready to use. I may be misunderstanding but sounds like it might not >> be >> that straightforward with tar? >> Pete >> > > I wouldn't say there's anything difficult about compressing using > tar+bzip2, which gives much higher compression than ZIP. > > In a terminal: > > cd to directory containing the directory you want to archive and compress > > issue the command: tar cfj name-of-archive-to-create.tbz2 > name-of-directory-to-archive > > Done > > It seems simple enough. > > 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 > > -- Pete Molly's Revenge From tolistim at me.com Tue Apr 10 21:19:05 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 10 Apr 2012 18:19:05 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> Message-ID: <6459B38D-28F6-4F45-BD03-BA15ABE4535A@me.com> On Apr 10, 2012, at 5:54 PM, Pete wrote: > Hi Warren, > It's the un-zipping at the other end that concerns me, not the zip on my > machine. Sounds like the ability to handle tar files might require a > Windows user to install some software. You might be surprised at just how many Windows users actually already have one of these installed. Far too many developers shortcut the installer process and go this route. That means that a lot of apps floating around in Windows space are already in tar, zip, rar, or other "non-standard" Windows file format. To access these, the Windows users have already had to install an appropriate tool. Don't be afraid of something just because you're not an expert. We've (app creators) been using these formats to deliver files and data to users for as long as I've been doing this (over 30 years at this point?). If you're not going to be using an installer, then a zip file or tarball are very valid and accepted formats for delivery. Tim From warren at warrensweb.us Tue Apr 10 21:22:47 2012 From: warren at warrensweb.us (Warren Samples) Date: Tue, 10 Apr 2012 20:22:47 -0500 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> Message-ID: <4F84DCE7.6090206@warrensweb.us> On 04/10/2012 07:54 PM, Pete wrote: > Hi Warren, > It's the un-zipping at the other end that concerns me, not the zip on my > machine. Sounds like the ability to handle tar files might require a > Windows user to install some software. > Pete Yes, that is something completely different :D You could offer the more efficient tbz2 format for your Mac users (and your Linux users when you get to that) and the ZIP format for your Windows users. You could also offer your Windows users a tbz2 version alongside the ZIP version and some info on software they could use to open it. If your users have managed to find your software and are capable of installing it, they should also have no trouble installing the software to decompress the archive. You just don't want to make it a requirement! Will you need to recreate these archives so frequently that this will be a terrible burden on you? It was Mark who commented that tar+compression seems like too much work without any benefit, and my original comment was mostly a response to that thought. Warren From mcgrath3 at mac.com Tue Apr 10 21:31:49 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 10 Apr 2012 21:31:49 -0400 Subject: play sound from url on iOS In-Reply-To: <7618FDEA-0CC8-402E-9AB2-750D662E6E74@major.on-rev.com> References: <408775F3-B4E9-499A-AC23-EA6A66A8F1FF@major.on-rev.com> <7618FDEA-0CC8-402E-9AB2-750D662E6E74@major.on-rev.com> Message-ID: Klaus, I have downloaded files and I have played downloaded sounds but I have not played downloading sounds while downloading i.e. streaming. I also can not get the play command with mediaPicker to play iCloud music, but these do play and stream in the apple music app just not in LC?? sorry I can't be more helpful on this one -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 10, 2012, at 11:39 AM, Klaus on-rev wrote: > Hi all, > > Am 09.04.2012 um 15:35 schrieb Klaus on-rev: > >> Hi friends, >> >> short question, is it possible to play a sound file from an URL in iOS? >> If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."? >> >> The docs do not mention URL, only in the "Video playback" section. >> >> Thanks a lot in advance! > > noone done this before? :-) > > I don't have an iOS license nor an iDevice to check this in the moment! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Apr 10 21:59:56 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 18:59:56 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <6459B38D-28F6-4F45-BD03-BA15ABE4535A@me.com> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> <6459B38D-28F6-4F45-BD03-BA15ABE4535A@me.com> Message-ID: Hi Tim, The origin of this thread was me trying to automate the packaging of the app at my end by writing a script to handle the standaloneSaved message. It used the revZIPxxx commands which, unfortunately, don't seem to work very well, so other scripted solutions were offered, including tar and zip. I can definitely continue to create the compressed files manually in a format that will work just fine for Mac and WIndows (and hopefully Linux). I'm thinking about a proper installer but, other than moving the application to it's appropriate folder for the platform, there's nothing else to do so it just seems like overkill. Pete On Tue, Apr 10, 2012 at 6:19 PM, Tim Jones wrote: > On Apr 10, 2012, at 5:54 PM, Pete wrote: > > > Hi Warren, > > It's the un-zipping at the other end that concerns me, not the zip on my > > machine. Sounds like the ability to handle tar files might require a > > Windows user to install some software. > > You might be surprised at just how many Windows users actually already > have one of these installed. Far too many developers shortcut the > installer process and go this route. That means that a lot of apps > floating around in Windows space are already in tar, zip, rar, or other > "non-standard" Windows file format. To access these, the Windows users > have already had to install an appropriate tool. > > Don't be afraid of something just because you're not an expert. We've > (app creators) been using these formats to deliver files and data to users > for as long as I've been doing this (over 30 years at this point?). If > you're not going to be using an installer, then a zip file or tarball are > very valid and accepted formats for delivery. > > Tim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From pete at mollysrevenge.com Tue Apr 10 22:00:48 2012 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 Apr 2012 19:00:48 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: <4F84DCE7.6090206@warrensweb.us> References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> <4F84DCE7.6090206@warrensweb.us> Message-ID: Got it, thanks Warren. Pete On Tue, Apr 10, 2012 at 6:22 PM, Warren Samples wrote: > It was Mark who commented that tar+compression seems like too much work > without any benefit, and my original comment was mostly a response to that > thought. -- Pete Molly's Revenge From revdev at pdslabs.net Tue Apr 10 22:23:30 2012 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 10 Apr 2012 19:23:30 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: Message-ID: <4F84EB22.5090908@pdslabs.net> Pete, I wonder if your revZip issue comes from the fact that a .app file is really a folder in disguise. To pick an app via dialog on OS X, you must say "answer file" but then immediately you must treat the .app "file" you picked as a folder containing subfolders and files. Consider this button code: on mouseUp answer file "Pick an app to zip" if it = empty then exit to top set the defaultFolder to it put the defaultFolder & cr & the folders end mouseUp When you run this, the defaultFolder is now indeed the selected .app "file" and it contains a "Contents" folder which contains all the app parts. So you'll need to drill down into the .app folder and add each file to your zip file. Then when it's restored at installation time, you may have to turn on the .app folder's bundle bit, I'm not really sure. I think someone on the list told how to do this some time ago but I couldn't tell you who or how. There's probably a line command for it. Food for thought. Phil Davis On 4/9/12 5:19 PM, Pete wrote: > Been putting together a litte script to get all my files ready for a > release and used the revZIPxxx commands to make a zip file of the LC > standalone program - this all on a Mac. The resulting zip file is only 4kb > in size, obvioulsy not correct. > > The code is pretty straightfroward: > > revZipOpenArchive myZipFile,"write" > > *if* the result is not empty *then* *answer* the result > > *answer* file "Zip file" > > revZipAddItemWithFile myZipFile,"myApp.app",it > > *if* the result is not empty *then* *answer* the result > > revZipCloseArchive myZipFile > > Zipping the same file with the built-in OS X compress function works fine > and so does the CleanARchiver utitlity. > > ANy ideas? > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From tolistim at me.com Wed Apr 11 00:41:26 2012 From: tolistim at me.com (Tim Jones) Date: Tue, 10 Apr 2012 21:41:26 -0700 Subject: Zipping Up an LC standalone program In-Reply-To: References: <7855C219-CFB4-4A6D-AAD0-0E86D3B34F02@economy-x-talk.com> <5353F4DE-9C86-4602-BBEB-DCC6030B9DE3@me.com> <5F2CEAC7-7E14-4DED-B080-4A5DF21813D9@economy-x-talk.com> <4F84CF5C.6020007@warrensweb.us> <6459B38D-28F6-4F45-BD03-BA15ABE4535A@me.com> Message-ID: <96F0A267-027F-420B-8B34-D76B0D561528@me.com> Hi Pete, Understood - what I saw in the thread was others offering up tar options that can easily be executed in a shell in much the same manner as the revZip stuff. But, as Phil mentions concerning folders with the revZip functions, tar will automatically pickup the folder structures and compress the resulting output as a single file. My responses were simply aimed at reassuring you that a tar file (gzipped or otherwise) was a valid and successful way to achieve what you were looking for and that recipients wouldn't have an issue receiving such a package. Tim On Apr 10, 2012, at 6:59 PM, Pete wrote: > Hi Tim, > The origin of this thread was me trying to automate the packaging of the > app at my end by writing a script to handle the standaloneSaved message. > It used the revZIPxxx commands which, unfortunately, don't seem to work > very well, so other scripted solutions were offered, including tar and zip. > I can definitely continue to create the compressed files manually in a > format that will work just fine for Mac and WIndows (and hopefully Linux). > > I'm thinking about a proper installer but, other than moving the > application to it's appropriate folder for the platform, there's nothing > else to do so it just seems like overkill. > > Pete > > On Tue, Apr 10, 2012 at 6:19 PM, Tim Jones wrote: > >> On Apr 10, 2012, at 5:54 PM, Pete wrote: >> >>> Hi Warren, >>> It's the un-zipping at the other end that concerns me, not the zip on my >>> machine. Sounds like the ability to handle tar files might require a >>> Windows user to install some software. >> >> You might be surprised at just how many Windows users actually already >> have one of these installed. Far too many developers shortcut the >> installer process and go this route. That means that a lot of apps >> floating around in Windows space are already in tar, zip, rar, or other >> "non-standard" Windows file format. To access these, the Windows users >> have already had to install an appropriate tool. >> >> Don't be afraid of something just because you're not an expert. We've >> (app creators) been using these formats to deliver files and data to users >> for as long as I've been doing this (over 30 years at this point?). If >> you're not going to be using an installer, then a zip file or tarball are >> very valid and accepted formats for delivery. >> >> Tim >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > -- > 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 admin at FlexibleLearning.com Wed Apr 11 01:33:28 2012 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 11 Apr 2012 06:33:28 +0100 Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: Message-ID: Achievable by rolling your own dialog and trapping keystrokes. If the field is empty, then set the text of the field to the advisory text. If the field is the advisory text and the selectedText is not empty, then set the text of the field to empty. Hugh Senior FLCo ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Apr 2012 19:02:09 +0200 From: Graham Samuel To: use-livecode at lists.runrev.com Subject: Can I put advisory text in an 'ask' dialog? Message-ID: Content-Type: text/plain; CHARSET=US-ASCII Sometimes one sees apps (on different platforms) where the user is invited to type something into a field, and the field is pre-filled with a text which disappears the moment the user starts typing - the initial text says stuff like 'type your name here'. This type of text is not preselected (apparently) - so it must be a special type of text, but I don't know how to make it appear. Specifically, in LC's iOS implementation, the 'ask' dialog scripting looks like this: ask [ question | password ] prompt [ with initialAnswer ] [ titled title ] so the question resolves to: how do I make the initialAnswer text a 'ghost' text such as I have described, or is it impossible? Graham From ruslan_zasukhin at valentina-db.com Wed Apr 11 03:18:29 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 11 Apr 2012 10:18:29 +0300 Subject: [ANN] SQLiteAdmin In-Reply-To: Message-ID: On 4/10/12 11:17 PM, "Pete" wrote: > I'm happy to announce the release of my first commercial Livecode > application, SQLiteAdmin, a db admin tool for SQLite databases. A 30-day > trial version of SQLiteAdmin is available at www.lcsql.com/products.html Well, Taking into account that Valentina Studio which manage * SQL Lite (local db files) * Valentina (local db files) * Valentina DB Server * Postgre SQL servers Starting with 5.0 version becomes totally FREE ... And everybody can take this right now if join to our beta testing group... Just 1-2 weeks left to release ... And yes, we have: Windows, MacOS, Linux-32 and Linux-64 versions. -- 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 klaus at major.on-rev.com Wed Apr 11 07:32:58 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 11 Apr 2012 13:32:58 +0200 Subject: play sound from url on iOS In-Reply-To: References: <408775F3-B4E9-499A-AC23-EA6A66A8F1FF@major.on-rev.com> <7618FDEA-0CC8-402E-9AB2-750D662E6E74@major.on-rev.com> Message-ID: Hi Tom, Am 11.04.2012 um 03:31 schrieb Thomas McGrath III: > Klaus, > > I have downloaded files and I have played downloaded sounds but I have not played downloading sounds while downloading i.e. streaming. > I also can not get the play command with mediaPicker to play iCloud music, but these do play and stream in the apple music app just not in LC?? > sorry I can't be more helpful on this one thanks, Tom, I already got some very cool hints from the list :-) > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From MikeKerner at roadrunner.com Wed Apr 11 13:30:04 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 11 Apr 2012 13:30:04 -0400 Subject: Browse tool. I give up. In-Reply-To: <8CEE5890C68F1C1-17E0-BE30@webmail-d093.sysops.aol.com> References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> <8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> <7C187C2F-8603-4B8B-B006-501249B2121E@economy-x-talk.com> <8CEE5890C68F1C1-17E0-BE30@webmail-d093.sysops.aol.com> Message-ID: It's funny how many of us are left over from a bygone black-and-white era. As long as fellow old-school HC'ers are reading this thread, does anybody still have a copy of Connections? I'm actually being serious. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wow at together.net Wed Apr 11 13:49:48 2012 From: wow at together.net (Richard Miller) Date: Wed, 11 Apr 2012 13:49:48 -0400 Subject: in-app purchase problem In-Reply-To: References: <8CEE4E82697790F-2794-402A@webmail-d156.sysops.aol.com> <5893DBE4-40E5-4150-BEA1-6C7B8F8792E1@verizon.net> <8CEE5363214D71E-17E0-7A55@webmail-d093.sysops.aol.com> <7C187C2F-8603-4B8B-B006-501249B2121E@economy-x-talk.com> <8CEE5890C68F1C1-17E0-BE30@webmail-d093.sysops.aol.com> Message-ID: <4F85C43C.7090504@together.net> I'm not having any luck getting in-app purchasing to work in my ios app. The first call I make is: mobilepurchasecreate "itemID" This always returns "1", regardless of which itemID I use. This doesn't seem like a valid result. I've double-checked that the itemID is exactly the same as the one(s) submitted in iTunesConnect. I am making sure the iphone on which I am doing the testing has been logged out (in Settings-->Store) I am also logged out of iTunesConnect. I've created a Test User account. Any ideas? Thanks. Richard Miller From andre at andregarzia.com Wed Apr 11 18:02:50 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Apr 2012 19:02:50 -0300 Subject: How to detect Android or iOS Message-ID: Hey Folks, As someone who is about to finish some cross-platform libraries to be released soon, I must ask. Is there any clear way to detect if I am running on iOS or Android? What I have right now is checking the environment to see if it is "mobile" and then I check for all the possible combinations of iPad, iPhone, iPad Simulator and iPhone Simulator, if it is not them then I assume it is Android. I think we need some clearer thing that returns "iOS" or "Android". Also, is there anyway for the library to get the bundle id for Android? There is a way on iOS but not on Android. Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bonnmike at gmail.com Wed Apr 11 18:12:02 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Apr 2012 16:12:02 -0600 Subject: How to detect Android or iOS In-Reply-To: References: Message-ID: Might look at the machine() function. Still have to check whats returned and figure it out, but can skip the check for 'mobile' and go directly to looking for ios devices. On Wed, Apr 11, 2012 at 4:02 PM, Andre Garzia wrote: > Hey Folks, > > As someone who is about to finish some cross-platform libraries to be > released soon, I must ask. Is there any clear way to detect if I am running > on iOS or Android? What I have right now is checking the environment to see > if it is "mobile" and then I check for all the possible combinations of > iPad, iPhone, iPad Simulator and iPhone Simulator, if it is not them then I > assume it is Android. > > I think we need some clearer thing that returns "iOS" or "Android". > > Also, is there anyway for the library to get the bundle id for Android? > There is a way on iOS but not on Android. > > Cheers > andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 11 18:14:44 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Apr 2012 16:14:44 -0600 Subject: How to detect Android or iOS In-Reply-To: References: Message-ID: Oh. Nevermind. Look at 'the platform' instead. On Wed, Apr 11, 2012 at 4:12 PM, Mike Bonner wrote: > Might look at the machine() function. Still have to check whats returned > and figure it out, but can skip the check for 'mobile' and go directly to > looking for ios devices. > > > On Wed, Apr 11, 2012 at 4:02 PM, Andre Garzia wrote: > >> Hey Folks, >> >> As someone who is about to finish some cross-platform libraries to be >> released soon, I must ask. Is there any clear way to detect if I am >> running >> on iOS or Android? What I have right now is checking the environment to >> see >> if it is "mobile" and then I check for all the possible combinations of >> iPad, iPhone, iPad Simulator and iPhone Simulator, if it is not them then >> I >> assume it is Android. >> >> I think we need some clearer thing that returns "iOS" or "Android". >> >> Also, is there anyway for the library to get the bundle id for Android? >> There is a way on iOS but not on Android. >> >> Cheers >> andre >> >> -- >> http://www.andregarzia.com -- All We Do Is Code. >> http://fon.nu -- minimalist url shortening service. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Wed Apr 11 18:45:33 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Apr 2012 19:45:33 -0300 Subject: How to detect Android or iOS In-Reply-To: References: Message-ID: Oh thank you!!! They updated the function!!! Thanks for spotting it! On Wed, Apr 11, 2012 at 7:14 PM, Mike Bonner wrote: > Oh. Nevermind. Look at 'the platform' instead. > > On Wed, Apr 11, 2012 at 4:12 PM, Mike Bonner wrote: > > > Might look at the machine() function. Still have to check whats returned > > and figure it out, but can skip the check for 'mobile' and go directly to > > looking for ios devices. > > > > > > On Wed, Apr 11, 2012 at 4:02 PM, Andre Garzia >wrote: > > > >> Hey Folks, > >> > >> As someone who is about to finish some cross-platform libraries to be > >> released soon, I must ask. Is there any clear way to detect if I am > >> running > >> on iOS or Android? What I have right now is checking the environment to > >> see > >> if it is "mobile" and then I check for all the possible combinations of > >> iPad, iPhone, iPad Simulator and iPhone Simulator, if it is not them > then > >> I > >> assume it is Android. > >> > >> I think we need some clearer thing that returns "iOS" or "Android". > >> > >> Also, is there anyway for the library to get the bundle id for Android? > >> There is a way on iOS but not on Android. > >> > >> Cheers > >> andre > >> > >> -- > >> http://www.andregarzia.com -- All We Do Is Code. > >> http://fon.nu -- minimalist url shortening service. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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://fon.nu -- minimalist url shortening service. From kray at sonsothunder.com Wed Apr 11 20:26:11 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Apr 2012 19:26:11 -0500 Subject: [ANN] SQLiteAdmin In-Reply-To: References: Message-ID: On Apr 10, 2012, at 3:17 PM, Pete wrote: > I'm happy to announce the release of my first commercial Livecode > application, SQLiteAdmin, a db admin tool for SQLite databases. A 30-day > trial version of SQLiteAdmin is available at www.lcsql.com/products.html Congratulations, Pete! Nicely done? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Apr 11 20:29:49 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Apr 2012 19:29:49 -0500 Subject: [ANN] SQLiteAdmin In-Reply-To: References: Message-ID: <60C42D83-A114-46A4-BDAA-C2BCA88F7781@sonsothunder.com> > Taking into account that Valentina Studio which manage > * SQL Lite (local db files) > * Valentina (local db files) > * Valentina DB Server > * Postgre SQL servers > > Starting with 5.0 version becomes totally FREE ... > > And everybody can take this right now if join to our beta testing group... Sounds good, but I'll wait? I don't have any time to do testing. :D Oh, btw, don't forget to change all the references to "Revolution" to "LiveCode" on your site - it might be confusing for new LC users (or use "Revolution/LiveCode" if you want to cover both bases). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Apr 11 20:35:48 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Apr 2012 19:35:48 -0500 Subject: How to detect Android or iOS In-Reply-To: References: Message-ID: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> On Apr 11, 2012, at 5:45 PM, Andre Garzia wrote: > Oh thank you!!! They updated the function!!! Thanks for spotting it! For more info, check this out: http://livecodejournal.com/forum/viewtopic.php?f=20&t=41 Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Apr 11 20:40:39 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Apr 2012 19:40:39 -0500 Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: <411C6370-4D8A-4165-BE82-EF7B15AF2664@sonsothunder.com> On Apr 11, 2012, at 12:33 AM, FlexibleLearning wrote: > Achievable by rolling your own dialog and trapping keystrokes. If the field > is empty, then set the text of the field to the advisory text. If the field > is the advisory text and the selectedText is not empty, then set the text of > the field to empty. You can also use the PromptField DropTool - drag and drop, set a property and you're done! It's part of the basic DropTools download (droptools.sonsothunder.com). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From Mark_Smith at cpe.umanitoba.ca Wed Apr 11 21:53:26 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 11 Apr 2012 18:53:26 -0700 (PDT) Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: <1334195606789-4550733.post@n4.nabble.com> Hi Graham, when I need advisory text I often put it into a custom property and use a set of routines I've written for a behavior to handle the display (which can be used on any platform). Here's the routine that displays the advisory text: command ShowPrompt if the cprompt of me is not empty then set the forecolor of me to "lightgray" set the text of me to the cPrompt of me end if end ShowPrompt Now to manage it: on openfield if the text of me = the cprompt of me and the forecolor of me is "lightgray" then set the forecolor of me to black put empty into me else select the text of me end if end open field and on exitField if the text of me is empty then ShowPrompt pass exitField end exitField I also do the same for closefield.... on closeField if the text of me is empty then ShowPrompt pass closeField end closeField or sometimes I'll initialize the advisory text from an opencard or preopencard handler: repeat with x = 1 to the number of fields of this card if fld x is empty then if the cprompt of fld x is not empty then set the forecolor of fld x to "lightgray" put the cprompt of fld x into fld x -- cprompt is a custom property of the field end if end if end repeat I think this is pretty much what Hugh Senior was saying as well. Hope it helps..... -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-I-put-advisory-text-in-an-ask-dialog-tp4546291p4550733.html Sent from the Revolution - User mailing list archive at Nabble.com. From littlejamesw at mac.com Wed Apr 11 22:43:07 2012 From: littlejamesw at mac.com (Jim Little) Date: Wed, 11 Apr 2012 19:43:07 -0700 Subject: [ANN] SQLiteAdmin In-Reply-To: References: Message-ID: Hello List, Heads Up. This is a real bargain ... $4.99 for members of this list through Friday, a $20 discount. I've had the SQLiteAdmim program for one day and had only limited time for testing but it looks powerful and has worked flawlessly, so far. Congratulations to Pete. Regards, Jim Little On Apr 10, 2012, at 1:17 PM, Pete wrote: > I'm happy to announce the release of my first commercial Livecode > application, SQLiteAdmin, a db admin tool for SQLite databases. A 30-day > trial version of SQLiteAdmin is available at www.lcsql.com/products.html > > In recognition of the amazing amount of knowledge imparted to me by > subscribers to this list, I am making SQLiteAdmin available for $4.99, a > $20 discount, to any list member until midnight on Friday April 13th. > Please email me off list at pete at lcsql.com if you would like to take > advantage of this deal, and I will send you a link to buy it at that price. > > SQLiteAdmin has been tested on OS X and Windows. I do not have access to > Linux (yet!) but would be happy to compile a Linux standalone for anyone > who would be willing to try it and give me feedback on what changes might > be needed to make it a viable Linux product. > > OK, now on to the sales pitch. > > SQLiteAdmin is a full-featured administration tool for SQLite databases > that removes all of the restrictions and omissions inherent in the standard > SQLite Data Definition Language. You can safely add, modify, or delete > any of the properties of a table or column including name, data type, data > length, primary key, foreign key, check, unique, not null, and default > constraints, all while maintaining the integrity of your data. > > SQLiteAdmin extends the DDL even further with convenience features that > provide you with the ability to add multiple columns that share the same > properties with a single click, and optional automatic index creation for > foreign key fields. > > SQLiteAdmin provides complete data export and import capability in a number > of formats including csv, delimited text files with your choice of > delimiter, and SQL INSERT statements. You can export all or selected rows > of a table. You can also export the CREATE statements necessary to build > your database, with or without the INSERT statements to populate it. > > With SQLiteAdmin's Utilities view, you will be able to audit your database, > get recommendations for better performance, and modify any of your > database's PRAGMA settings. > > SQLiteAdmin's Browse view gives you access to the SQLite Data Manipulation > Language. You can display data from any table with filtering capability on > any columns in the table, select the columns you want to view and display > them in your preferred sequence, all by "filling in the blanks" instead of > writing any SQL statements. The Browse Tool also provides complete insert, > duplicate, update and delete capabilities, including modification or > deletion of multiple rows in one operation. And you can save your filter > definitions, column selections, and sort sequence for later use. > > If you need to write your own SQL statements, you can enter any SQLite > command in SQLiteAdmin's SQL tool and execute it. SQL commands can be > saved and recalled for later use. > > SQliteAdmin includes full support for in memory databases and also provides > the ability to save an in memory database as a permanent disk file. > > A 30-day demo version of SQLiteAdmin is available at > http://www.lcsql.com/products.html. Some functionality is disabled in the > demo version. > > -- > Peter Haworth > lcSQL Software > > > > -- > 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 jacque at hyperactivesw.com Thu Apr 12 00:03:00 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Apr 2012 23:03:00 -0500 Subject: How to detect Android or iOS In-Reply-To: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> Message-ID: <4F8653F4.5060909@hyperactivesw.com> On 4/11/12 7:35 PM, Ken Ray wrote: > > On Apr 11, 2012, at 5:45 PM, Andre Garzia wrote: > >> Oh thank you!!! They updated the function!!! Thanks for spotting it! > > For more info, check this out: > > http://livecodejournal.com/forum/viewtopic.php?f=20&t=41 Cool. I keep missing the LC Journal stuff because I forget to go look. Is there an RSS feed for it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Apr 12 00:21:43 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Apr 2012 21:21:43 -0700 Subject: How to detect Android or iOS In-Reply-To: <4F8653F4.5060909@hyperactivesw.com> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> Message-ID: <1561180532000.20120411212143@ahsoftware.net> Jacque- Wednesday, April 11, 2012, 9:03:00 PM, you wrote: > On 4/11/12 7:35 PM, Ken Ray wrote: >> >> On Apr 11, 2012, at 5:45 PM, Andre Garzia wrote: >> >>> Oh thank you!!! They updated the function!!! Thanks for spotting it! >> >> For more info, check this out: >> >> http://livecodejournal.com/forum/viewtopic.php?f=20&t=41 > Cool. I keep missing the LC Journal stuff because I forget to go look. > Is there an RSS feed for it? Maybe more to the point: ???since when has LC Journal had a forum??? It's not listed anywhere on the web site. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Thu Apr 12 00:28:08 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 12 Apr 2012 14:28:08 +1000 Subject: How to detect Android or iOS In-Reply-To: <1561180532000.20120411212143@ahsoftware.net> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <1561180532000.20120411212143@ahsoftware.net> Message-ID: <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> > > Maybe more to the point: > > ???since when has LC Journal had a forum??? > > It's not listed anywhere on the web site. Even more to the point why is my ip banned from it? Cheers Monte From th.douez at gmail.com Thu Apr 12 04:38:30 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 12 Apr 2012 10:38:30 +0200 Subject: How to detect Android or iOS In-Reply-To: <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <1561180532000.20120411212143@ahsoftware.net> <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> Message-ID: Le 12 avril 2012 06:28, Monte Goulding a ?crit : > > > > Maybe more to the point: > > > > ???since when has LC Journal had a forum??? > > Even more to the point why is my ip banned from it? > > Cheers > > Monte Same for me ? Regards, Thierry From bonnmike at gmail.com Thu Apr 12 06:12:56 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 Apr 2012 04:12:56 -0600 Subject: How to detect Android or iOS In-Reply-To: References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <1561180532000.20120411212143@ahsoftware.net> <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> Message-ID: Shows banned for me too. Yet I don't remember ever going there before. On Thu, Apr 12, 2012 at 2:38 AM, Thierry Douez wrote: > Le 12 avril 2012 06:28, Monte Goulding a > ?crit : > > > > > > > Maybe more to the point: > > > > > > ???since when has LC Journal had a forum??? > > > > Even more to the point why is my ip banned from it? > > > > Cheers > > > > Monte > > > Same for me ? > > Regards, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu Apr 12 06:13:30 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 Apr 2012 04:13:30 -0600 Subject: How to detect Android or iOS In-Reply-To: References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <1561180532000.20120411212143@ahsoftware.net> <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> Message-ID: Nevermind not showing banned anymore. On Thu, Apr 12, 2012 at 4:12 AM, Mike Bonner wrote: > Shows banned for me too. Yet I don't remember ever going there before. > > > On Thu, Apr 12, 2012 at 2:38 AM, Thierry Douez wrote: > >> Le 12 avril 2012 06:28, Monte Goulding a >> ?crit : >> >> > > >> > > Maybe more to the point: >> > > >> > > ???since when has LC Journal had a forum??? >> > >> > Even more to the point why is my ip banned from it? >> > >> > Cheers >> > >> > Monte >> >> >> Same for me ? >> >> Regards, >> >> Thierry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From livfoss at mac.com Thu Apr 12 08:49:45 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 Apr 2012 14:49:45 +0200 Subject: Script editor instability Message-ID: <534A0886-1130-45D2-B4A7-BB97272247D8@mac.com> I just want to add my name to the chorus of issues not only with the script editor but with the 5.5 IDE in general. I have had situations where I change a line of script but the 'Apply' button stays dimmed. Editing is still allowed, i.e. the editor isn't stuck, and after a certain amount of messing around, 'Apply' lights up. I can't get a repeatable formula; nor can I with several other issues I've had with the IDE, including having lost 'it' as a predefined local for quite a large part of a day, despite restarting, and a rash of 'name shadows another' problems where the name in question seemed unique and the usual tests didn't contradict this. I have also had a script run when I was supposed to be editing? that happened just now when all I did was to create a new label field from the toolbar. But nothing repeatable so far. Very frustrating. Graham -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Tue, Apr 10, 2012 2:40 pm Subject: Re: Script editor instability On 4/10/12 12:26 PM, Mark Talluto wrote: > On Apr 9, 2012, at 7:37 PM, dunbarx at aol.com wrote: > >> >> >> Since I upgraded to 5.5, now and then the script editor cannot be >> moved. Rather the titlebar becomes a sort of resize tab, as if I >> clicked and dragged the actual resize tab. So trying to move the >> script editor window only results in resizing that window.I think >> it only changes the width, not the actual rect, like the real >> resize tab would. > > We are having a number of issues with stability in 5.5. The problem > is that the script editor issues you are seeing are very sporadic. I > think the majority of issues arise if you save with a command S often > like I do. I find that the IDE becomes locked down for a period of > time before it returns. Everything you do to it gets queued up and > runs through very fast once the IDE returns. Once we have a better > recipe, I will bugzilla it. For now, I to am looking for others that > may be seeing this problem. For the moment, our studio is moving all > desktop work back to 5.02 and leaving 5.5 for mobile work only. I've seen some issues too, but like you I can't pinpoint them. I've had more lockups recently than ever before. There's a decided delay before menus drop down too, and menu key shortcuts don't always work reliably any more, as Mark mentioned. I rarely Cmd-S from within the script editor, I usually save after bringing the stack to the front. But the lockups I've had are almost always in the editor, usually while stepping through code in debug mode. I've wondered if the problems are related to the rewrite of the field object. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbojsza at gmail.com Thu Apr 12 09:02:42 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 12 Apr 2012 07:02:42 -0600 Subject: Linux - Datagrid scrolling stops; column label missing Message-ID: Hello, I have an app that was built on OS X Livecdoe 4.6.4. When standalones were generated we found that the Linux (CentOS 6.2) version had some strange problems: 1. the vertical scroll for a datagrid sometimes fails. there are several rows by when the user drags the vertical scroll bar the datagrid does NOT scroll.. the bar moves but not the rows? 2. the vertical scroll up and down arrows also do nothing? By refreshing the dgtext of the datagrid group things start to work normally again until when it just stops working again (hard to reproduce but it does fail regularly) 3. one of the three column labels disappeared except for the very first letter. - tried editing the clumn label using rev's ide but it would not do anything to the letter .. not allow you to delete it or add to it - tried Data Grid Helper and same problem. Next step was to open the original file on CentoS Livecode 4.6.4 . Not able to have problems 1 or 2 above fail in ide only in the standalone. Fixed 3 above by pasting the full column name when the first letter was selected. Also, found in standalone (not the ide) that clicking a check box in a datagrid sometimes does not register the associated message. So, I am wondering if anyone else has come across these problems and if so have any suggestions? Also, wondering if the datagrid was built in the ide on CentOS and not OS X if it will make a difference? We found that sometimes moving a livecode stack from OS X to Linux some of the script text has extraneous characters which need to be removed for the script to work properly. I am hoping these issues can / are resolved if not then Livecode is not really supportable for Linux applications unless you don't use datagrids IMHO. thanks, Glen From wow at together.net Thu Apr 12 09:54:52 2012 From: wow at together.net (Richard Miller) Date: Thu, 12 Apr 2012 09:54:52 -0400 Subject: Need advice before submitting iPhone app In-Reply-To: References: Message-ID: <4F86DEAC.90708@together.net> I'm on the verge of submitting an iPhone/iPad app. All features are working, including in-app purchasing. This app has 3 versions: free, standard version, and a premium version. I want to take advantage of promoting the app by offering free promo codes to reviewers. But I believe those codes can only be used to obtain a given app (whatever version it might be), but cannot be used to unlock features through in-app processes. Seems to me the only way around this is to submit to Apple 3 separate versions of my app: - Free version, containing in-app purchase options to upgrade - Standard version, containing an in-app purchase option to upgrade to the Premium version - Premium version With this approach, I can give reviewers promo codes for the Premium version. Is this the best way to go? Thanks. Richard Miller From ambassador at fourthworld.com Thu Apr 12 10:28:16 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2012 07:28:16 -0700 Subject: LiveCode Journal Forum login (was Re: How to detect Android or iOS) In-Reply-To: <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> References: <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> Message-ID: <4F86E680.9000002@fourthworld.com> Monte Goulding wrote: >> Maybe more to the point: >> >> ???since when has LC Journal had a forum??? >> >> It's not listed anywhere on the web site. > > Even more to the point why is my ip banned from it? Because there is evil in the world. ;) When Ken and I were setting up that forum, I was getting dozens of new account requests every day - even before it had been linked to anywhere publicly. The account names were obviously junk as well, and many if the IPs traced to the Ukraine, China, Russia and other known hotbeds of criminal online activity (I look forward to any of those countries proving me wrong by enforcing their own laws). I've been through this mill as a moderator for the LiveCode forums, but here I have more privileges, so I exercised them brutally: I blocked entire IP ranges by geographic assignment. Yep, like the many small software devs who get slammed with tens of thousands of downloads when a crack is posted on a Chinese blog, I looked up the IP address and the geographic assignment for it, and blocked some parts of the world from accessing the site at all. It was the only way I could get back to real work, and it worked like a charm: spambot attempts have dropped dramatically. However - The original geographic assignments for IP blocks have evolved over time, so that some addresses in ranges originally assigned to a given region have been returned to the pool and reassigned elsewhere. And thus our good friend from Australia was blocked as though he were in the Ukraine. While the LCJ forums were still being set up, the regional IP blocks were fine and did wonders for my productivity on client projects. But now that Ken's provided links for it, obviously we need to refine those blocks. So I'd like to ask you to do me a favor: If you get a ban notice, please drop me an email at ambassador at fourthworld.com and note the IP address you're using. I'll then remove that from the blocked range and you can try again. Unfortunately this is the only productive way I can admin that site given the prevalence of spambots. I'll also review the blocks and narrow them as time permits, but your help in identifying IP ranges that have been reassigned will make that job much simpler. If it were a major forum in which we expected to draw a million users I'd simply hire someone to stay on top of the bots full time. But as it is it's just a volunteer effort for a small number of specialized topics specific to the RevInterop project, a relatively tiny subset of things that aren't better suited for the more general audience at RunRev's LiveCode forums where all the major stuff happens. I apologize for the inconvenience, but removing all those blocks en masse would result in a flood of new account requests that I simply don't have the time to address. And when you create an account, please try to choose a meaningful name, something like "RichardG" or something else that sounds like a real person, as opposed to, say, "FreeViagra" or "UggBoots", so I can more easily distinguish your requests from the bots. Note that disposable email address domains like "excite.com", "hotmail.com", "aol.com", and anything ending in ".ru" or ".ch", will remain blocked because such a block affects very few professionals but will stop a great many bots. Draconian? Absolutely. As long as this is a highly specialized forum run as a volunteer effort, I need to remain very mindful of the time I devote to it, given that I'm also writing code libraries for the community and working on products for my clients and Fourth World. The blocks I've put into place have transformed a serious millstone around my neck of colossal time wastage into something that can be useful without draining my time, so for the moment that's how it works. If any of you want to volunteer for the time-consuming and mind-numbingly boring job of admining new account requests, I'll happily add you to the admin list and it's all yours. -- 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 Thu Apr 12 10:38:36 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2012 07:38:36 -0700 Subject: Non-OS ads allowed? Message-ID: <4F86E8EC.1000404@fourthworld.com> I'm building my own ad server for a specialized desktop app, and it occurs to me that it would be useful to use those ads in mobile apps as well. So the question is: am I allowed to show my own ads in apps for iOS and Android? I'm guessing the Apple answer is "no", but does anyone know if Google or Amazon prohibit the use of ads from outside of Google's system? -- 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 john at splash21.com Thu Apr 12 10:49:26 2012 From: john at splash21.com (John Craig) Date: Thu, 12 Apr 2012 15:49:26 +0100 Subject: Need advice before submitting iPhone app In-Reply-To: <4F86DEAC.90708@together.net> References: <4F86DEAC.90708@together.net> Message-ID: <4F86EB76.5050605@splash21.com> Hi, Richard. From stackoverflow; ----- You could submit a version of your application that has all features unlocked by default. Submitted apps have a publish date that you can set when you submit (and I believe you can change this on the fly as well) you could simply prevent the app from being published in the App store but still be able to give promotional codes for it. ----- Would that be workable for your app? What version of LC are you using? I've not managed to get in-app purchasing working yet - I've tried with 5.5, but always get an error "Cannot connect to iTunes Store" John. On 12/04/2012 14:54, Richard Miller wrote: > I'm on the verge of submitting an iPhone/iPad app. All features are > working, including in-app purchasing. This app has 3 versions: free, > standard version, and a premium version. > > I want to take advantage of promoting the app by offering free promo > codes to reviewers. But I believe those codes can only be used to > obtain a given app (whatever version it might be), but cannot be used > to unlock features through in-app processes. Seems to me the only way > around this is to submit to Apple 3 separate versions of my app: > > - Free version, containing in-app purchase options to upgrade > - Standard version, containing an in-app purchase option to upgrade to > the Premium version > - Premium version > > With this approach, I can give reviewers promo codes for the Premium > version. > > Is this the best way to go? > > Thanks. > Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 10:58:46 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 12 Apr 2012 16:58:46 +0200 Subject: LiveCode Journal Forum login (was Re: How to detect Android or iOS) In-Reply-To: <4F86E680.9000002@fourthworld.com> References: <135A8702-0E59-4308-8F5E-7D5FDC9A57E4@sweattechnologies.com> <4F86E680.9000002@fourthworld.com> Message-ID: <3E0BE858-8A74-4EF7-B941-C14A722F7164@mac.com> On 12.04.2012, at 16:28, Richard Gaskin wrote: > Note that disposable email address domains like "excite.com", "hotmail.com", "aol.com", and anything ending in ".ru" or ".ch", will remain blocked because such a block affects very few professionals but will stop a great many bots. Indeed a much smaller effect then you imagined, as ch is switzerland, and cn is china :) (i'm not blocked from http://livecodejournal.com/forum/ ) From mcgrath3 at mac.com Thu Apr 12 11:56:40 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 12 Apr 2012 11:56:40 -0400 Subject: Non-OS ads allowed? In-Reply-To: <4F86E8EC.1000404@fourthworld.com> References: <4F86E8EC.1000404@fourthworld.com> Message-ID: Richard, LC is doing just that with their in app ads for iOS and Android. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 12, 2012, at 10:38 AM, Richard Gaskin wrote: > I'm building my own ad server for a specialized desktop app, and it occurs to me that it would be useful to use those ads in mobile apps as well. > > So the question is: am I allowed to show my own ads in apps for iOS and Android? > > I'm guessing the Apple answer is "no", but does anyone know if Google or Amazon prohibit the use of ads from outside of Google's system? > > -- > 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 kray at sonsothunder.com Thu Apr 12 12:26:52 2012 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 Apr 2012 11:26:52 -0500 Subject: LiveCode Mobile Info at LiveCode Journal (was Re: How to detect Android or iOS) In-Reply-To: <4F8653F4.5060909@hyperactivesw.com> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> Message-ID: >> For more info, check this out: >> >> http://livecodejournal.com/forum/viewtopic.php?f=20&t=41 > > Cool. I keep missing the LC Journal stuff because I forget to go look. Is there an RSS feed for it? Now that there's more awareness of LiveCode Journal forums, I thought that I should provide some info on the LiveCode Mobile section of the forums - it came about because I had been starting on a mobile development path and ran into a bunch of "gotchas" and tidbits of info that I was starting to keep in my own computer (in Scripter's Scrapbook, of course ), but realized after a short time that it would be beneficial if that info was made available to more people and also be a "go-to" resource for myself as I'm doing mobile development. So I started posting info I discovered as well relevant chunks of other developers' posts to the LC lists, and was planning on announcing it when it was farther along that it currently is. :D I also wanted it to be a more curated set of data so that threads didn't spin off into irrelevant directions, or new topics getting created that are actually covered elsewhere, so at least *for now*, if you want to add anything to what's already there, it needs to go through the moderator approval process and may take a day or so to appear. That said, feel free to browse around (http://livecodejournal.com/forum/viewforum.php?f=19) and if you find something wrong or something you want to talk to me about, just shoot me an email. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Thu Apr 12 12:38:19 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2012 09:38:19 -0700 Subject: LiveCode Journal Forum login (was Re: How to detect Android or iOS) In-Reply-To: <3E0BE858-8A74-4EF7-B941-C14A722F7164@mac.com> References: <3E0BE858-8A74-4EF7-B941-C14A722F7164@mac.com> Message-ID: <4F8704FB.9040206@fourthworld.com> Bj?rnke wrote: > On 12.04.2012, at 16:28, Richard Gaskin wrote: > >> Note that disposable email address domains like "excite.com", "hotmail.com", "aol.com", and anything ending in ".ru" or ".ch", will remain blocked because such a block affects very few professionals but will stop a great many bots. > > > Indeed a much smaller effect then you imagined, as ch is switzerland, and cn is china :) Ah, pardon the typo. Yes, .cn (apologies to anyone in the PRC who would like to access the LCJ forum, but your country's government is odd: they're among the few nations who can put a man into space but among the most ineffectual at enforcing cybercrime laws). > (i'm not blocked from http://livecodejournal.com/forum/ ) Glad to hear. Thanks for the confirmation. -- 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 Thu Apr 12 12:40:14 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2012 09:40:14 -0700 Subject: Non-OS ads allowed? In-Reply-To: References: Message-ID: <4F87056E.7000104@fourthworld.com> Thomas McGrath III wrote: > On Apr 12, 2012, at 10:38 AM, Richard Gaskin wrote: ... >> So the question is: am I allowed to show my own ads in apps for >> iOS and Android? >> >> I'm guessing the Apple answer is "no", but does anyone know if >> Google or Amazon prohibit the use of ads from outside of Google's >> system? > > Richard, LC is doing just that with their in app ads for iOS and > Android. I didn't realize that. RunRev runs an add server? What network do they use? And does Apple know? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Thu Apr 12 12:43:29 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2012 11:43:29 -0500 Subject: LiveCode Mobile Info at LiveCode Journal (was Re: How to detect Android or iOS) In-Reply-To: References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> Message-ID: <4F870631.3040406@hyperactivesw.com> On 4/12/12 11:26 AM, Ken Ray wrote: > I also wanted it to be a more curated set of data I don't mind curated. It would be great if you could add an RSS feed though. I read the RR forum feed and it's handy because I don't always have time to visit the site but I always read the feeds. I'd love to have LC Journal in there too. Our resources are scattered over so many sites, having an aggregator collect the info is very useful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Thu Apr 12 13:24:19 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 12 Apr 2012 13:24:19 -0400 Subject: Non-OS ads allowed? In-Reply-To: <4F87056E.7000104@fourthworld.com> References: <4F87056E.7000104@fourthworld.com> Message-ID: Richard, When you log into LC and go to your store account there should be a button for mobile advertising. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 12, 2012, at 12:40 PM, Richard Gaskin wrote: > Thomas McGrath III wrote: > > > On Apr 12, 2012, at 10:38 AM, Richard Gaskin wrote: > ... > >> So the question is: am I allowed to show my own ads in apps for > >> iOS and Android? > >> > >> I'm guessing the Apple answer is "no", but does anyone know if > >> Google or Amazon prohibit the use of ads from outside of Google's > >> system? > > > > Richard, LC is doing just that with their in app ads for iOS and > > Android. > > I didn't realize that. RunRev runs an add server? What network do they use? And does Apple know? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Apr 12 13:33:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2012 10:33:00 -0700 Subject: Non-OS ads allowed? In-Reply-To: References: Message-ID: <4F8711CC.1000703@fourthworld.com> Thomas McGrath III wrote: > Richard, When you log into LC and go to your store account > there should be a button for mobile advertising. Thanks, Tom. I'm delightfully surprised to hear that Apple will allow devs to cut them out of their app revenue with the freedom to choose their own ad networks. -- 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 wow at together.net Thu Apr 12 14:18:15 2012 From: wow at together.net (Richard Miller) Date: Thu, 12 Apr 2012 14:18:15 -0400 Subject: Need advice before submitting iPhone app In-Reply-To: <4F86EB76.5050605@splash21.com> References: <4F86DEAC.90708@together.net> <4F86EB76.5050605@splash21.com> Message-ID: <4F871C67.9040206@together.net> Hi John, I am using 5.0.2. Did you do these two things (from an earlier email I posted): I made sure the iphone on which I am doing the testing has been logged out (in Settings-->Store) I logged out of iTunesConnect. Richard On 4/12/2012 10:49 AM, John Craig wrote: > Hi, Richard. From stackoverflow; > > ----- > You could submit a version of your application that has all features > unlocked by default. > Submitted apps have a publish date that you can set when you submit > (and I believe you can change this on the fly as well) you could > simply prevent the app from being published in the App store but still > be able to give promotional codes for it. > ----- > > Would that be workable for your app? > > What version of LC are you using? I've not managed to get in-app > purchasing working yet - I've tried with 5.5, but always get an error > "Cannot connect to iTunes Store" > > John. > > > On 12/04/2012 14:54, Richard Miller wrote: >> I'm on the verge of submitting an iPhone/iPad app. All features are >> working, including in-app purchasing. This app has 3 versions: free, >> standard version, and a premium version. >> >> I want to take advantage of promoting the app by offering free promo >> codes to reviewers. But I believe those codes can only be used to >> obtain a given app (whatever version it might be), but cannot be used >> to unlock features through in-app processes. Seems to me the only way >> around this is to submit to Apple 3 separate versions of my app: >> >> - Free version, containing in-app purchase options to upgrade >> - Standard version, containing an in-app purchase option to upgrade >> to the Premium version >> - Premium version >> >> With this approach, I can give reviewers promo codes for the Premium >> version. >> >> Is this the best way to go? >> >> Thanks. >> Richard Miller >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 15:27:29 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Apr 2012 12:27:29 -0700 Subject: Script editor instability In-Reply-To: <534A0886-1130-45D2-B4A7-BB97272247D8@mac.com> References: <534A0886-1130-45D2-B4A7-BB97272247D8@mac.com> Message-ID: And sadly, I have not heard further from Jerry Daniels about any progress in regard to Remo working with 5.x ... http://www.remoeditor.com/ seems to have been taken over with spam... anyone here use the latest revision of the *open source GLX editor* with Livecode 5.5? On 12 April 2012 05:49, Graham Samuel wrote: > I just want to add my name to the chorus of issues not only with the > script editor but with the 5.5 IDE in general. I have had situations where > I change a line of script but the 'Apply' button stays dimmed. Editing is > still allowed, i.e. the editor isn't stuck, and after a certain amount of > messing around, 'Apply' lights up. I can't get a repeatable formula; nor > can I with several other issues I've had with the IDE, including having > lost 'it' as a predefined local for quite a large part of a day, despite > restarting, and a rash of 'name shadows another' problems where the name in > question seemed unique and the usual tests didn't contradict this. I have > also had a script run when I was supposed to be editing? that happened just > now when all I did was to create a new label field from the toolbar. But > nothing repeatable so far. Very frustrating. > > Graham > > -----Original Message----- > From: J. Landman Gay > To: How to use LiveCode > Sent: Tue, Apr 10, 2012 2:40 pm > Subject: Re: Script editor instability > > > On 4/10/12 12:26 PM, Mark Talluto wrote: > > On Apr 9, 2012, at 7:37 PM, dunbarx at aol.com wrote: > > > >> > >> > >> Since I upgraded to 5.5, now and then the script editor cannot be > >> moved. Rather the titlebar becomes a sort of resize tab, as if I > >> clicked and dragged the actual resize tab. So trying to move the > >> script editor window only results in resizing that window.I think > >> it only changes the width, not the actual rect, like the real > >> resize tab would. > > > > We are having a number of issues with stability in 5.5. The problem > > is that the script editor issues you are seeing are very sporadic. I > > think the majority of issues arise if you save with a command S often > > like I do. I find that the IDE becomes locked down for a period of > > time before it returns. Everything you do to it gets queued up and > > runs through very fast once the IDE returns. Once we have a better > > recipe, I will bugzilla it. For now, I to am looking for others that > > may be seeing this problem. For the moment, our studio is moving all > > desktop work back to 5.02 and leaving 5.5 for mobile work only. > > > I've seen some issues too, but like you I can't pinpoint them. I've had > more lockups recently than ever before. There's a decided delay before > menus drop down too, and menu key shortcuts don't always work reliably > any more, as Mark mentioned. > > I rarely Cmd-S from within the script editor, I usually save after > bringing the stack to the front. But the lockups I've had are almost > always in the editor, usually while stepping through code in debug mode. > > I've wondered if the problems are related to the rewrite of the field > object. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From ruslan_zasukhin at valentina-db.com Thu Apr 12 15:47:35 2012 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 12 Apr 2012 22:47:35 +0300 Subject: VStudio 5 -- SQLite plugin In-Reply-To: Message-ID: >> On 4/12/12 5:15 PM, "william humphrey" wrote: >> It opens SQLite files wonderfully. There is not a menu command to save a >> SQLite file as a Valentina database. Click SQLite database -- in contextual menu must be command to convert into Valentina DB. ====================== FYI: SQLite plugin in Valentina Studio was developed more of year ... Vstudio constains code by size may be comparable to engine itself :) related to Lite ======= One of nasty "feature" of Lite was weak support of ALTERs Igor and other guys did huge job to support ALTER oeprations in Lite like for Valentina and Postgre ... Even if table have records, Vstudio must be able e.g. ADD / DROP column of table, change types, flags, and other things. In background this can cause COPY of all records from one table to another. Using DIAGRAMS SQLite developers can even get into hands that SQL scripts and use them in own RB / LiveCode apps DataEditor, which you are used in Valentina Studio also works for Lite and Postgre. Works even Related Browser, if Foreign Key -- links are defined for that dbs .. And so on ... Reports, SQL Diff, ... -- 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 dsc at swcp.com Thu Apr 12 15:55:20 2012 From: dsc at swcp.com (Dar Scott) Date: Thu, 12 Apr 2012 13:55:20 -0600 Subject: you know, that text that pops up when the pointer is over an object Message-ID: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> I'm not remembering the name of the property for the text that comes up when you hold the mouse pointer over an object. I browsed through the dictionary and nothing rings a bell. Dar From mwieder at ahsoftware.net Thu Apr 12 15:57:45 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Apr 2012 12:57:45 -0700 Subject: Script editor instability In-Reply-To: References: <534A0886-1130-45D2-B4A7-BB97272247D8@mac.com> Message-ID: <111236701187.20120412125745@ahsoftware.net> stephen- Thursday, April 12, 2012, 12:27:29 PM, you wrote: > anyone here use the latest revision of the *open source GLX editor* with > Livecode 5.5? Glx2 was just updated a couple of days ago to version 1.0.19 to handle some LC 5.5 bug^H^H^Hanomalies that I had to hack around. http://bitbucket.org/mwieder/glx2 -- -Mark Wieder mwieder at ahsoftware.net From dixonja at hotmail.co.uk Thu Apr 12 16:01:32 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 12 Apr 2012 21:01:32 +0100 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> Message-ID: err... tooltip ... :-) > I'm not remembering the name of the property for the text that comes up when you hold the mouse pointer over an object. I browsed through the dictionary and nothing rings a bell. > > Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 16:03:13 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 12 Apr 2012 13:03:13 -0700 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> Message-ID: That's the tooltip. On Thu, Apr 12, 2012 at 12:55 PM, Dar Scott wrote: > I'm not remembering the name of the property for the text that comes up > when you hold the mouse pointer over an object. I browsed through the > dictionary and nothing rings a bell. > > Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Pete Molly's Revenge From m.schonewille at economy-x-talk.com Thu Apr 12 16:03:40 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 12 Apr 2012 22:03:40 +0200 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> Message-ID: Dar, Do you mean the tooltip? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 12 apr 2012, at 21:55, Dar Scott wrote: > I'm not remembering the name of the property for the text that comes up when you hold the mouse pointer over an object. I browsed through the dictionary and nothing rings a bell. > > Dar From livfoss at mac.com Thu Apr 12 16:48:10 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 Apr 2012 22:48:10 +0200 Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: Thanks very much Hugh Senior, Ken Ray and Mark Smith for their solutions, which are going in my scrapbook and then of course into the relevant projects. Graham From cmsheffield at me.com Thu Apr 12 17:07:23 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 12 Apr 2012 15:07:23 -0600 Subject: iOS: ask dialog and keyboard return key Message-ID: When using the ask command in an iOS app, is there any way to make the keyboard return key activate the OK button in the dialog? This seems to be pretty standard behavior in most other iOS apps I've seen (just take a look at Apple's authentication dialog when purchasing anything from the app store). Is there some way to make it work this way in a LiveCode app? Maybe I'm just missing something. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From pete at mollysrevenge.com Thu Apr 12 17:34:03 2012 From: pete at mollysrevenge.com (Pete) Date: Thu, 12 Apr 2012 14:34:03 -0700 Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: I use a similar technique for option menus. Set the text property to the initial advisory (suitably colored). On mouseDown' set the text to the real options. On Apr 12, 2012 1:48 PM, "Graham Samuel" wrote: > Thanks very much Hugh Senior, Ken Ray and Mark Smith for their solutions, > which are going in my scrapbook and then of course into the relevant > projects. > > 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 dunbarx at aol.com Thu Apr 12 17:46:57 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 Apr 2012 17:46:57 -0400 (EDT) Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> Message-ID: <8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com> All. I am sure he means the "mouseText" Bets? Craig -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Thu, Apr 12, 2012 4:05 pm Subject: Re: you know, that text that pops up when the pointer is over an object Dar, Do you mean the tooltip? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 12 apr 2012, at 21:55, Dar Scott wrote: > I'm not remembering the name of the property for the text that comes up when you hold the mouse pointer over an object. I browsed through the dictionary and nothing rings a bell. > > Dar _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at me.com Thu Apr 12 17:47:08 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 12 Apr 2012 15:47:08 -0600 Subject: iOS: using data grid on a retina display In-Reply-To: <02FD37EF-DF49-4506-AA37-1F2B57F08182@me.com> References: <02FD37EF-DF49-4506-AA37-1F2B57F08182@me.com> Message-ID: <53702457-5370-4158-AB68-DE4138197B08@me.com> I've never gotten a response on this. Is there no one using a data grid in an iPad retina app? Thanks, Chris On Apr 10, 2012, at 11:26 AM, Chris Sheffield wrote: > Is anyone using a data grid in an app that supports multiple resolutions? In particular, both iPad screens? I'm having a problem getting the data grid resized correctly to display on the iPad retina display. Is there a trick to it? Perhaps some property that can be set on the data grid that resizes everything at once? I have code that I'm running when my app starts up that resizes all my controls, and it works great, except with the data grid. Not quite sure how to handle that one. The grid is resizing correctly width-wise I believe, but not height-wise. I've customized my row template to display the data the way I want, and it looks great on the non-retina display. Do I need to resize the controls in my row template stack? I'm not currently doing that. Maybe that's my problem... > > Anyone? > > Thanks, > Chris > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Apr 12 18:17:38 2012 From: dsc at swcp.com (Dar Scott) Date: Thu, 12 Apr 2012 16:17:38 -0600 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> <8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com> Message-ID: <242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> Actually, it was tooltip that I could not remember. However, I am inspired to think up a good reason to use the mouseText in something! Thanks, everybody! -- Dar On Apr 12, 2012, at 3:46 PM, dunbarx at aol.com wrote: > All. > > > I am sure he means the "mouseText" > > > Bets? > > > Craig > > > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Thu, Apr 12, 2012 4:05 pm > Subject: Re: you know, that text that pops up when the pointer is over an object > > > Dar, > > Do you mean the tooltip? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 12 apr 2012, at 21:55, Dar Scott wrote: > >> I'm not remembering the name of the property for the text that comes up when > you hold the mouse pointer over an object. I browsed through the dictionary and > nothing rings a bell. >> >> Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 18:49:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2012 17:49:16 -0500 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com> <8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com> <242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> Message-ID: <4F875BEC.9050700@hyperactivesw.com> On 4/12/12 5:17 PM, Dar Scott wrote: > Actually, it was tooltip that I could not remember. However, I am > inspired to think up a good reason to use the mouseText in something! Point and shoot: set the tooltip of btn 1 to the mousetext -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Thu Apr 12 19:15:14 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 Apr 2012 19:15:14 -0400 (EDT) Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <4F875BEC.9050700@hyperactivesw.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com><8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com><242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> <4F875BEC.9050700@hyperactivesw.com> Message-ID: <8CEE719405339C6-2A58-2009@webmail-d148.sysops.aol.com> Jacque, That sort of elegance brings tears of joy. It should be in either a tutorial, or a press release to C++ programmers on what they are missing. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Thu, Apr 12, 2012 6:51 pm Subject: Re: you know, that text that pops up when the pointer is over an object On 4/12/12 5:17 PM, Dar Scott wrote: > Actually, it was tooltip that I could not remember. However, I am > inspired to think up a good reason to use the mouseText in something! Point and shoot: set the tooltip of btn 1 to the mousetext -- 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 john at splash21.com Thu Apr 12 19:17:21 2012 From: john at splash21.com (John Craig) Date: Fri, 13 Apr 2012 00:17:21 +0100 Subject: Need advice before submitting iPhone app In-Reply-To: <4F871C67.9040206@together.net> References: <4F86DEAC.90708@together.net> <4F86EB76.5050605@splash21.com> <4F871C67.9040206@together.net> Message-ID: <4F876281.9060908@splash21.com> Thanks, Richard - I gave it a try, but I'm still getting the same message :( On 12/04/2012 19:18, Richard Miller wrote: > Hi John, > > I am using 5.0.2. Did you do these two things (from an earlier email I > posted): > > I made sure the iphone on which I am doing the testing has been logged > out (in Settings-->Store) > > I logged out of iTunesConnect. > > Richard > > > On 4/12/2012 10:49 AM, John Craig wrote: >> Hi, Richard. From stackoverflow; >> >> ----- >> You could submit a version of your application that has all features >> unlocked by default. >> Submitted apps have a publish date that you can set when you submit >> (and I believe you can change this on the fly as well) you could >> simply prevent the app from being published in the App store but >> still be able to give promotional codes for it. >> ----- >> >> Would that be workable for your app? >> >> What version of LC are you using? I've not managed to get in-app >> purchasing working yet - I've tried with 5.5, but always get an error >> "Cannot connect to iTunes Store" >> >> John. >> >> >> On 12/04/2012 14:54, Richard Miller wrote: >>> I'm on the verge of submitting an iPhone/iPad app. All features are >>> working, including in-app purchasing. This app has 3 versions: free, >>> standard version, and a premium version. >>> >>> I want to take advantage of promoting the app by offering free promo >>> codes to reviewers. But I believe those codes can only be used to >>> obtain a given app (whatever version it might be), but cannot be >>> used to unlock features through in-app processes. Seems to me the >>> only way around this is to submit to Apple 3 separate versions of my >>> app: >>> >>> - Free version, containing in-app purchase options to upgrade >>> - Standard version, containing an in-app purchase option to upgrade >>> to the Premium version >>> - Premium version >>> >>> With this approach, I can give reviewers promo codes for the Premium >>> version. >>> >>> Is this the best way to go? >>> >>> Thanks. >>> Richard Miller >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 12 19:19:06 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Apr 2012 20:19:06 -0300 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... Message-ID: Folks, I am now installing lion. If you don't see me on this list in a week, send in a rescue team. I will be the sobbing person in the corner of my office hugging a broken mac. =) -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From stephenREVOLUTION2 at barncard.com Thu Apr 12 19:22:42 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Apr 2012 16:22:42 -0700 Subject: Script editor instability In-Reply-To: <111236701187.20120412125745@ahsoftware.net> References: <534A0886-1130-45D2-B4A7-BB97272247D8@mac.com> <111236701187.20120412125745@ahsoftware.net> Message-ID: Thanks, Mark. sqb On 12 April 2012 12:57, Mark Wieder wrote: > stephen- > > Thursday, April 12, 2012, 12:27:29 PM, you wrote: > > > anyone here use the latest revision of the *open source GLX editor* with > > Livecode 5.5? > > Glx2 was just updated a couple of days ago to version 1.0.19 to handle > some LC 5.5 bug^H^H^Hanomalies that I had to hack around. > > http://bitbucket.org/mwieder/glx2 > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From matthias_livecode_150811 at m-r-d.de Thu Apr 12 19:24:39 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 13 Apr 2012 01:24:39 +0200 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... In-Reply-To: References: Message-ID: <86301771-F9F2-4B2A-A4E4-473C473D2DEE@m-r-d.de> Good luck. ;) I?ve waged this about 10 days ago. Until know i did not experienced any problem. Matthias Am 13.04.2012 um 01:19 schrieb Andre Garzia: > Folks, > > I am now installing lion. If you don't see me on this list in a week, send > in a rescue team. I will be the sobbing person in the corner of my office > hugging a broken mac. > > =) > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 19:28:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2012 18:28:59 -0500 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... In-Reply-To: References: Message-ID: <4F87653B.90901@hyperactivesw.com> On 4/12/12 6:19 PM, Andre Garzia wrote: > Folks, > > I am now installing lion. If you don't see me on this list in a week, send > in a rescue team. I will be the sobbing person in the corner of my office > hugging a broken mac. > > =) > If I had to do it, so do you. It's the cost of being an Apple developer now. I got a rescue dog in case I needed one, and I would send him to you, but I already drank the whiskey from the flask on his collar. I don't suppose he'd be any use to you without that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 12 19:31:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2012 18:31:26 -0500 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <8CEE719405339C6-2A58-2009@webmail-d148.sysops.aol.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com><8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com><242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> <4F875BEC.9050700@hyperactivesw.com> <8CEE719405339C6-2A58-2009@webmail-d148.sysops.aol.com> Message-ID: <4F8765CE.50407@hyperactivesw.com> On 4/12/12 6:15 PM, dunbarx at aol.com wrote: > Jacque, > > > That sort of elegance brings tears of joy. My code often makes people cry... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Thu Apr 12 19:44:10 2012 From: wow at together.net (Richard Miller) Date: Thu, 12 Apr 2012 19:44:10 -0400 Subject: Need advice before submitting iPhone app In-Reply-To: <4F876281.9060908@splash21.com> References: <4F86DEAC.90708@together.net> <4F86EB76.5050605@splash21.com> <4F871C67.9040206@together.net> <4F876281.9060908@splash21.com> Message-ID: <4F8768CA.6070203@together.net> Have you completed the three forms in iTunesConnect, under Contracts, Tax and Banking? Mine wouldn't work until I worked through an issue in the tax form. On 4/12/2012 7:17 PM, John Craig wrote: > Thanks, Richard - I gave it a try, but I'm still getting the same > message :( > > > On 12/04/2012 19:18, Richard Miller wrote: >> Hi John, >> >> I am using 5.0.2. Did you do these two things (from an earlier email >> I posted): >> >> I made sure the iphone on which I am doing the testing has been >> logged out (in Settings-->Store) >> >> I logged out of iTunesConnect. >> >> Richard >> >> >> On 4/12/2012 10:49 AM, John Craig wrote: >>> Hi, Richard. From stackoverflow; >>> >>> ----- >>> You could submit a version of your application that has all features >>> unlocked by default. >>> Submitted apps have a publish date that you can set when you submit >>> (and I believe you can change this on the fly as well) you could >>> simply prevent the app from being published in the App store but >>> still be able to give promotional codes for it. >>> ----- >>> >>> Would that be workable for your app? >>> >>> What version of LC are you using? I've not managed to get in-app >>> purchasing working yet - I've tried with 5.5, but always get an >>> error "Cannot connect to iTunes Store" >>> >>> John. >>> >>> >>> On 12/04/2012 14:54, Richard Miller wrote: >>>> I'm on the verge of submitting an iPhone/iPad app. All features are >>>> working, including in-app purchasing. This app has 3 versions: >>>> free, standard version, and a premium version. >>>> >>>> I want to take advantage of promoting the app by offering free >>>> promo codes to reviewers. But I believe those codes can only be >>>> used to obtain a given app (whatever version it might be), but >>>> cannot be used to unlock features through in-app processes. Seems >>>> to me the only way around this is to submit to Apple 3 separate >>>> versions of my app: >>>> >>>> - Free version, containing in-app purchase options to upgrade >>>> - Standard version, containing an in-app purchase option to upgrade >>>> to the Premium version >>>> - Premium version >>>> >>>> With this approach, I can give reviewers promo codes for the >>>> Premium version. >>>> >>>> Is this the best way to go? >>>> >>>> Thanks. >>>> Richard Miller >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Apr 12 20:06:39 2012 From: dsc at swcp.com (Dar Scott) Date: Thu, 12 Apr 2012 18:06:39 -0600 Subject: you know, that text that pops up when the pointer is over an object In-Reply-To: <4F8765CE.50407@hyperactivesw.com> References: <15E7ED21-C4C5-47BD-8321-641FB88C4EEC@swcp.com><8CEE70CEB0928D5-2A58-967@webmail-d148.sysops.aol.com><242635C5-1388-4D12-86E0-236CAF2E2171@swcp.com> <4F875BEC.9050700@hyperactivesw.com> <8CEE719405339C6-2A58-2009@webmail-d148.sysops.aol.com> <4F8765CE.50407@hyperactivesw.com> Message-ID: <4666B9E3-32FD-4EF2-85F1-090BDAF0AF49@swcp.com> Thank you for cheering me up, you two! I use the object inspector as an aid in remembering property names. I thought I would just click on an object and look at the property inspector and immediately see what I was trying to remember. Unfortunately, that doesn't work if I click on a group and don't notice. Dar On Apr 12, 2012, at 5:31 PM, J. Landman Gay wrote: > On 4/12/12 6:15 PM, dunbarx at aol.com wrote: >> Jacque, >> >> >> That sort of elegance brings tears of joy. > > My code often makes people cry... > > -- > 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 niconiko at gmail.com Thu Apr 12 20:39:27 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 13 Apr 2012 09:39:27 +0900 Subject: scroll field to a searched-for word Message-ID: Hello All, Most very likely, somewhere on the list can come up much faster than I can with a method for this. My stack has a vertically-scrollable text-field with a long text, and a listbehavior field with a word on each cr-line. The effect I'm after is, when a user searches for a word by clicking on the listbehavior field, the text-field will get vertically scrolled to the line where that word is. Plus, if that word could get hilited, that would be a nice bonus too. Thank you in advance. -- Nicolas Cueto From gbojsza at gmail.com Thu Apr 12 21:23:33 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 12 Apr 2012 19:23:33 -0600 Subject: Linux application crashes Message-ID: Hello, I have discovered a potential problem with my Livecode app running on CentOS 6.2 Basic summary is that the application queries databases and generates graphs. The application does snapshots of these graphs and allows the user to position them or re-order them. After stress testing the app (which is due to be released this week) we discover that after generating a volume of snapshots of the graphs (low 100s) that the application crashes hard ... ie just shuts down. Even if, before generating more snapshots, you delete all existing snapshots the application shuts down... deleting doesn't seem to do anything in helping the application to continue to run?? Are there any suggestions that can be tried to solve this? >From above it is easy for anyone to reproduce if they have a Linux system (we are locked to CentOS). regards, Glen From andre at andregarzia.com Thu Apr 12 21:32:14 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Apr 2012 22:32:14 -0300 Subject: Linux application crashes In-Reply-To: References: Message-ID: Glen, My linux system is down (fried psu) so I can't test it right now, sorry. I advise you to check with support at support at runrev.com this sounds like a blocker. Best andre On Thu, Apr 12, 2012 at 10:23 PM, Glen Bojsza wrote: > Hello, > > I have discovered a potential problem with my Livecode app running on > CentOS 6.2 > > Basic summary is that the application queries databases and generates > graphs. The application does snapshots of these graphs and allows the user > to position them or re-order them. > > After stress testing the app (which is due to be released this week) we > discover that after generating a volume of snapshots of the graphs (low > 100s) that the application crashes hard ... ie just shuts down. > > Even if, before generating more snapshots, you delete all existing > snapshots the application shuts down... deleting doesn't seem to do > anything in helping the application to continue to run?? > > Are there any suggestions that can be tried to solve this? > > From above it is easy for anyone to reproduce if they have a Linux system > (we are locked to CentOS). > > regards, > > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Thu Apr 12 21:51:31 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Apr 2012 22:51:31 -0300 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... In-Reply-To: <4F87653B.90901@hyperactivesw.com> References: <4F87653B.90901@hyperactivesw.com> Message-ID: On Thu, Apr 12, 2012 at 8:28 PM, J. Landman Gay wrote: > On 4/12/12 6:19 PM, Andre Garzia wrote: > >> Folks, >> >> I am now installing lion. If you don't see me on this list in a week, send >> in a rescue team. I will be the sobbing person in the corner of my office >> hugging a broken mac. >> >> =) >> >> > If I had to do it, so do you. It's the cost of being an Apple developer > now. > > I got a rescue dog in case I needed one, and I would send him to you, but > I already drank the whiskey from the flask on his collar. I don't suppose > he'd be any use to you without that. > > Thanks for the offer. I tried strapping a flask of whiskey to my cats but it didn't work. Well, the big cat is working. The finder feels strange... > -- > 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://fon.nu -- minimalist url shortening service. From gbojsza at gmail.com Thu Apr 12 22:07:11 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 12 Apr 2012 20:07:11 -0600 Subject: Linux application crashes In-Reply-To: References: Message-ID: <609625DA-00BE-4FDE-B192-3F88A3FD0F75@gmail.com> Hi Andre, I have sent in to support at runrev.com as well. This is a blocker since any Linux application done in Livecode could easily experience this and give the end user a bad taste. I just tried the same tests on OS X and did not have any issues. Hopefully it can be fixed. ... sorry to hear about your Linux system. thanks, Glen On Apr 12, 2012, at 7:32 PM, Andre Garzia wrote: > Glen, > > My linux system is down (fried psu) so I can't test it right now, sorry. > > I advise you to check with support at support at runrev.com this sounds like a > blocker. > > Best > andre > > On Thu, Apr 12, 2012 at 10:23 PM, Glen Bojsza wrote: > >> Hello, >> >> I have discovered a potential problem with my Livecode app running on >> CentOS 6.2 >> >> Basic summary is that the application queries databases and generates >> graphs. The application does snapshots of these graphs and allows the user >> to position them or re-order them. >> >> After stress testing the app (which is due to be released this week) we >> discover that after generating a volume of snapshots of the graphs (low >> 100s) that the application crashes hard ... ie just shuts down. >> >> Even if, before generating more snapshots, you delete all existing >> snapshots the application shuts down... deleting doesn't seem to do >> anything in helping the application to continue to run?? >> >> Are there any suggestions that can be tried to solve this? >> >> From above it is easy for anyone to reproduce if they have a Linux system >> (we are locked to CentOS). >> >> regards, >> >> 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 >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 12 22:32:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Apr 2012 19:32:53 -0700 Subject: Linux application crashes In-Reply-To: References: Message-ID: <481260409328.20120412193253@ahsoftware.net> Glen- Thursday, April 12, 2012, 6:23:33 PM, you wrote: > Even if, before generating more snapshots, you delete all existing > snapshots the application shuts down... deleting doesn't seem to do > anything in helping the application to continue to run?? > Are there any suggestions that can be tried to solve this? Have you monitored available memory and other system resources while doing this? Any clues from that? -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Apr 12 22:49:02 2012 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 Apr 2012 21:49:02 -0500 Subject: LiveCode Mobile Info at LiveCode Journal (was Re: How to detect Android or iOS) In-Reply-To: <4F870631.3040406@hyperactivesw.com> References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <4F870631.3040406@hyperactivesw.com> Message-ID: On Apr 12, 2012, at 11:43 AM, J. Landman Gay wrote: > On 4/12/12 11:26 AM, Ken Ray wrote: >> I also wanted it to be a more curated set of data > > I don't mind curated. It would be great if you could add an RSS feed though. I read the RR forum feed and it's handy because I don't always have time to visit the site but I always read the feeds. I'd love to have LC Journal in there too. Our resources are scattered over so many sites, having an aggregator collect the info is very useful. Your wish is my command - the RSS feed has been enabled (same way as in the LC forums)... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Thu Apr 12 23:31:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2012 22:31:37 -0500 Subject: LiveCode Mobile Info at LiveCode Journal (was Re: How to detect Android or iOS) In-Reply-To: References: <194BE633-4044-47B6-8E1D-49F6144D2951@sonsothunder.com> <4F8653F4.5060909@hyperactivesw.com> <4F870631.3040406@hyperactivesw.com> Message-ID: <4F879E19.6090809@hyperactivesw.com> On 4/12/12 9:49 PM, Ken Ray wrote: > Your wish is my command - the RSS feed has been enabled (same > way as in the LC forums)... Thank you! I'm on it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu Apr 12 23:53:36 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Apr 2012 00:53:36 -0300 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... In-Reply-To: References: <4F87653B.90901@hyperactivesw.com> Message-ID: eheheh, Silly Lion, just installed the damn thing and it already kernel panic'd twice!!! Any trick I should know to work with the new XCode thing? Cheers andre From tolistim at me.com Thu Apr 12 23:56:37 2012 From: tolistim at me.com (Tim Jones) Date: Thu, 12 Apr 2012 20:56:37 -0700 Subject: Linux application crashes In-Reply-To: References: Message-ID: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Glen, I sincerely doubt that this is related to the version of Linux you are using. This sounds like a potential memory leak in your graphing functionality. Are you using native LiveCode or someone's plugin / stack? Tim On Apr 12, 2012, at 6:23 PM, Glen Bojsza wrote: > Hello, > > I have discovered a potential problem with my Livecode app running on > CentOS 6.2 > > Basic summary is that the application queries databases and generates > graphs. The application does snapshots of these graphs and allows the user > to position them or re-order them. > > After stress testing the app (which is due to be released this week) we > discover that after generating a volume of snapshots of the graphs (low > 100s) that the application crashes hard ... ie just shuts down. > > Even if, before generating more snapshots, you delete all existing > snapshots the application shuts down... deleting doesn't seem to do > anything in helping the application to continue to run?? > > Are there any suggestions that can be tried to solve this? > > From above it is easy for anyone to reproduce if they have a Linux system > (we are locked to CentOS). > > regards, > > Glen From jhj at jhj.com Fri Apr 13 00:03:05 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 12 Apr 2012 21:03:05 -0700 Subject: [OT] Installing lion, if I am not back in a week, send the rescue team... In-Reply-To: References: <4F87653B.90901@hyperactivesw.com> Message-ID: <1A541892-3E64-46B7-9C24-6BABC6025345@jhj.com> On Apr 12, 2012, at 8:53 PM, Andre Garzia wrote: > eheheh, > > Silly Lion, just installed the damn thing and it already kernel panic'd > twice!!! Any trick I should know to work with the new XCode thing? > > Cheers > andre Don't let it eat meat. From andre at andregarzia.com Fri Apr 13 00:20:57 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Apr 2012 01:20:57 -0300 Subject: [OT] nice views from my city Message-ID: Folks, Just installed Mac OS X Lion and was trying to build a little mobile app when I discovered that I needed a new XCode for that. While I was downloading the new version, I went to browse my TV news. Here in Brazil, in our main broadcast channel, we have a series called "The Brazilians Girls" which is a comedy. Each episode they pick a Brazilian city and tell a story about some girl from there, all fiction, the titles are like "the dreamer from that city" or "the singer from this city", my city was just featured and the episode was called (bad translation) "the passionate from Niter?i". The actual word is not passionate but a Portuguese word that means a girl who is in love. They change the opening credits for each episode to show the views from the given city. This is my city: http://www.youtube.com/watch?feature=player_embedded&v=0aEzIEIODHc At about 0:24 you can see the beach where I live, actually I don't live at the beach front, I live three city blocks down but my building is high enough (18th floor) so I have a good view of the Guanabara Bay (prettiest bay ever). I just sent this video because some people asked during the last conference what my city looked like, well, these are the good parts. Pay attention on our Spaceship Enterprise look-a-like modern art museum and on the pretty geography. Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From john at splash21.com Fri Apr 13 03:47:55 2012 From: john at splash21.com (John Craig) Date: Fri, 13 Apr 2012 08:47:55 +0100 Subject: In app purchase error fix (was Re: Need advice before submitting iPhone app) In-Reply-To: <4F8768CA.6070203@together.net> References: <4F86DEAC.90708@together.net> <4F86EB76.5050605@splash21.com> <4F871C67.9040206@together.net> <4F876281.9060908@splash21.com> <4F8768CA.6070203@together.net> Message-ID: <4F87DA2B.4000703@splash21.com> Googling this problem brings up a lot of possible solutions. For me, the following steps solved the problem; Remove the app from the device, Remove any ad-hoc or team provisioning profiles, Re-install the app :) On 13/04/2012 00:44, Richard Miller wrote: > Have you completed the three forms in iTunesConnect, under Contracts, > Tax and Banking? Mine wouldn't work until I worked through an issue in > the tax form. > > > > On 4/12/2012 7:17 PM, John Craig wrote: >> Thanks, Richard - I gave it a try, but I'm still getting the same >> message :( >> >> >> On 12/04/2012 19:18, Richard Miller wrote: >>> Hi John, >>> >>> I am using 5.0.2. Did you do these two things (from an earlier email >>> I posted): >>> >>> I made sure the iphone on which I am doing the testing has been >>> logged out (in Settings-->Store) >>> >>> I logged out of iTunesConnect. >>> >>> Richard >>> >>> >>> On 4/12/2012 10:49 AM, John Craig wrote: >>>> Hi, Richard. From stackoverflow; >>>> >>>> ----- >>>> You could submit a version of your application that has all >>>> features unlocked by default. >>>> Submitted apps have a publish date that you can set when you submit >>>> (and I believe you can change this on the fly as well) you could >>>> simply prevent the app from being published in the App store but >>>> still be able to give promotional codes for it. >>>> ----- >>>> >>>> Would that be workable for your app? >>>> >>>> What version of LC are you using? I've not managed to get in-app >>>> purchasing working yet - I've tried with 5.5, but always get an >>>> error "Cannot connect to iTunes Store" >>>> >>>> John. >>>> >>>> >>>> On 12/04/2012 14:54, Richard Miller wrote: >>>>> I'm on the verge of submitting an iPhone/iPad app. All features >>>>> are working, including in-app purchasing. This app has 3 versions: >>>>> free, standard version, and a premium version. >>>>> >>>>> I want to take advantage of promoting the app by offering free >>>>> promo codes to reviewers. But I believe those codes can only be >>>>> used to obtain a given app (whatever version it might be), but >>>>> cannot be used to unlock features through in-app processes. Seems >>>>> to me the only way around this is to submit to Apple 3 separate >>>>> versions of my app: >>>>> >>>>> - Free version, containing in-app purchase options to upgrade >>>>> - Standard version, containing an in-app purchase option to >>>>> upgrade to the Premium version >>>>> - Premium version >>>>> >>>>> With this approach, I can give reviewers promo codes for the >>>>> Premium version. >>>>> >>>>> Is this the best way to go? >>>>> >>>>> Thanks. >>>>> Richard Miller >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 13 07:31:58 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 13 Apr 2012 07:31:58 -0400 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: On Fri, Apr 13, 2012 at 12:20 AM, Andre Garzia wrote: > Folks, > > This is my city: > http://www.youtube.com/watch?feature=player_embedded&v=0aEzIEIODHc > > At about 0:24 you can see the beach where I live, actually I don't live at > the beach front, I live three city blocks down but my building is high > enough (18th floor) so I have a good view of the Guanabara Bay (prettiest > bay ever). > > Cheers > andre > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. Very nice! I like those white domes and wavy structures. They look very futuristic. ~Roger From gbojsza at gmail.com Fri Apr 13 07:53:05 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 13 Apr 2012 05:53:05 -0600 Subject: Linux application crashes In-Reply-To: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: My latest update / feedback on the issue... I tried monitoring the memory on the Centos 6.2 system with top -p $(pgrep Xorg) and watching the %MEM. It was really interesting and informative... when I launched the application I was down at 1.5% MEM and as I did database queries and plots I saw it increase between 0.3 and 0.5 % each time (This had several queries with large numbers of data). To address Tim's concern I stopped doing any graphing and solely did a series of import snapshots. Background here: I am trying to produce a "poor man's" powerpoint where each card is a slide and I have a text field that acts as a background. A import snaphot of the image on each card --> reduce the new image and then place the image in the text field by replacing the first letter in a line in the text field. Each image is associated to the card's name which is then associated with the line of text in the field. Anytime the user wants to re-arrange the sequence of cards/slides they can click and drag the associated image in the text field to the position they want and this then triggers a "refresh" where all the card images are then again having their image being done as an import snapshot and placed back in the text field. So essentially, going through this cycle several times showed the memory to start increasing approximately .7% each cycle. (this is where there are 20 cards so 20 images) I increased the number of cards / images to 40 and the memory started to increase 1.2% each cycle! Never has the memory decreased. I removed ALL images and cards except for the intro card and the memory never decreased?! All I had to do is move the images in the text field as a user would when wanting to re-arrange things and when I hit approx 80% MEM the application stops and shuts down. MAC OS X experience: using the activity monitor and watching the application I saw the memory increase a little and then remain fairly constant while I cycle through the re-arranging of images in the text field. The difference is that it did NOT just continually grow in size similar to what I saw on CentOS. Also, when I deleted all the images except for the intro card the memory on the OS X dropped to almost where I started. My conclusion is that the memory and application on OS X are acting as what it probably should be. The CentOS is just a straight climb up ... which means, if true, then any Livecode Linux apps will crash and it only depends on when. Obviously some applications may only increase the memory in decimal % so it would take a while and may never happen if the user closes the app between uses. I think this is serious to the point that someone has to fix quickly because Livecode sells this as a supported platform and if it fails this easily then the overall credibility of Livecode and it's user community suffers. With our app due shortly we can't take a chance that the user doesn't experience this so we are not certain what to do. Glen On Thu, Apr 12, 2012 at 9:56 PM, Tim Jones wrote: > Glen, > > I sincerely doubt that this is related to the version of Linux you are > using. This sounds like a potential memory leak in your graphing > functionality. Are you using native LiveCode or someone's plugin / stack? > > Tim > > On Apr 12, 2012, at 6:23 PM, Glen Bojsza wrote: > > > Hello, > > > > I have discovered a potential problem with my Livecode app running on > > CentOS 6.2 > > > > Basic summary is that the application queries databases and generates > > graphs. The application does snapshots of these graphs and allows the > user > > to position them or re-order them. > > > > After stress testing the app (which is due to be released this week) we > > discover that after generating a volume of snapshots of the graphs (low > > 100s) that the application crashes hard ... ie just shuts down. > > > > Even if, before generating more snapshots, you delete all existing > > snapshots the application shuts down... deleting doesn't seem to do > > anything in helping the application to continue to run?? > > > > Are there any suggestions that can be tried to solve this? > > > > From above it is easy for anyone to reproduce if they have a Linux system > > (we are locked to CentOS). > > > > regards, > > > > 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 andre at andregarzia.com Fri Apr 13 07:58:21 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Apr 2012 08:58:21 -0300 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: > > > Very nice! I like those white domes and wavy structures. They look very > futuristic. > > Roger, Glad you liked. They are designed by Oscar Niemeyer ( http://en.wikipedia.org/wiki/Oscar_Niemeyer) he is 104 years old as of now, he still alive and still working. He created lots of futuristic looking structures in Brazil. Our capital Brasilia looks like a star trek set or something. Still, I like his style. My city is the second city that has more buildings made by him in the country, the first is Brasilia. We have a path that goes all the shoreline called "The Niemeyer Path" and it has theaters, movie museum, modern art museum and other structures made by him. It may not be a safe city but it sure looks good. =) Our engineers, architects and designers are really good. All we're missing now is a honest government. My mayor lives in Miami (true)... > ~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. http://fon.nu -- minimalist url shortening service. From livfoss at mac.com Fri Apr 13 08:59:31 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 13 Apr 2012 14:59:31 +0200 Subject: iOS Simulator gotcha Message-ID: The app I'm developing suddenly stopped working in the Simulator - previously it was starting up with no problems, and I was debugging various data entry handlers quite far into the code - I have not changed the setup code for a long time. I got an error code (255) from the Simulator but couldn't find any reference to it in the XCode/Simulator docs so I was despairing, particularly since for some time I had been debugging a behavior that is not invoked in the app's startup sequence. This code doubtless contains errors, but not ones detected by the LC compiler. I then had the rather illogical idea of commenting out the button (behavior) script and trying again, and Bingo! the simulation was working again. I then, even more illogically, restored the script of the button and the simulator went on working. I think at this point Americans say "go figure", don't they? Graham From dunbarx at aol.com Fri Apr 13 10:03:07 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 13 Apr 2012 10:03:07 -0400 (EDT) Subject: scroll field to a searched-for word In-Reply-To: References: Message-ID: <8CEE79547515B9D-2420-F8D@webmail-d148.sysops.aol.com> Hi. You can do this by using the "formattedText" to hard wrap the lines in your text field, so that the "lineOffset" function can find your text string. As an example, I made three fields. One (fld "fieldA") contains some original text with certain words that you might want to find in it, wrapped. The second (fld "fieldB") is a target field, and a third (fld "wordList") contains the actual words that you want to find. This is a locked list field. In the list field, place: on mouseup put the clickText into tText answer lineoffset(tText, fld "fielda") put fld "fielda" into fld "fieldb" set the text of fld "fieldb" to the formattedText of fld "fieldb" answer lineoffset(tText, the formattedtext of fld "fieldb") end mouseup You should see that the first answer returns a smaller number than the second, since wrapping makes the number of visible lines larger than the actual number of lines in the field. With this you can get the lineOffset of the found word in the formatted fld "fieldB" and use textHeight properties to scroll to the correct line. You will want to restore the unwrapped text back into the original after you are done. I bet there are Craig Newman -----Original Message----- From: Nicolas Cueto To: LiveCode - general LiveCode Sent: Thu, Apr 12, 2012 8:41 pm Subject: scroll field to a searched-for word Hello All, Most very likely, somewhere on the list can come up much faster than I can with a method for this. My stack has a vertically-scrollable text-field with a long text, and a listbehavior field with a word on each cr-line. The effect I'm after is, when a user searches for a word by clicking on the listbehavior field, the text-field will get vertically scrolled to the line where that word is. Plus, if that word could get hilited, that would be a nice bonus too. Thank you in advance. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Apr 13 10:16:36 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 13 Apr 2012 10:16:36 -0400 (EDT) Subject: scroll field to a searched-for word In-Reply-To: <8CEE79547515B9D-2420-F8D@webmail-d148.sysops.aol.com> References: <8CEE79547515B9D-2420-F8D@webmail-d148.sysops.aol.com> Message-ID: <8CEE7972BA1C050-2420-11A7@webmail-d148.sysops.aol.com> As I said, "I bet there are". And I was right. This came from somebody in a past discussion. Make another field with lots of text in it. Make this mostly wrapped text. Lock the field, and put this in it: on mouseUp put word 2 of the clickCharChunk into myPos put the formattedText of fld 2 into myText put number of lines of (char 1 to myPos of myText) into myLineNr answer myLineNr end mouseUp This smacks of Jacque, but not sure. Anyway, this should give you another insight into how to make your gadget work. Again, it uses the formattedText to hard wrap those pesky lines that hide the actual number of lines in the field. Craig Newman -----Original Message----- From: dunbarx To: use-livecode Sent: Fri, Apr 13, 2012 10:05 am Subject: Re: scroll field to a searched-for word Hi. You can do this by using the "formattedText" to hard wrap the lines in your text field, so that the "lineOffset" function can find your text string. As an example, I made three fields. One (fld "fieldA") contains some original text with certain words that you might want to find in it, wrapped. The second (fld "fieldB") is a target field, and a third (fld "wordList") contains the actual words that you want to find. This is a locked list field. In the list field, place: on mouseup put the clickText into tText answer lineoffset(tText, fld "fielda") put fld "fielda" into fld "fieldb" set the text of fld "fieldb" to the formattedText of fld "fieldb" answer lineoffset(tText, the formattedtext of fld "fieldb") end mouseup You should see that the first answer returns a smaller number than the second, since wrapping makes the number of visible lines larger than the actual number of lines in the field. With this you can get the lineOffset of the found word in the formatted fld "fieldB" and use textHeight properties to scroll to the correct line. You will want to restore the unwrapped text back into the original after you are done. I bet there are Craig Newman -----Original Message----- From: Nicolas Cueto To: LiveCode - general LiveCode Sent: Thu, Apr 12, 2012 8:41 pm Subject: scroll field to a searched-for word Hello All, Most very likely, somewhere on the list can come up much faster than I can with a method for this. My stack has a vertically-scrollable text-field with a long text, and a listbehavior field with a word on each cr-line. The effect I'm after is, when a user searches for a word by clicking on the listbehavior field, the text-field will get vertically scrolled to the line where that word is. Plus, if that word could get hilited, that would be a nice bonus too. Thank you in advance. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Fri Apr 13 10:40:22 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 13 Apr 2012 07:40:22 -0700 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: <8DE212E5-5594-4B66-BC80-03C21FF997FB@me.com> On Apr 13, 2012, at 4:53 AM, Glen Bojsza wrote: > So essentially, going through this cycle several times showed the memory to > start increasing approximately .7% each cycle. (this is where there are 20 > cards so 20 images) > > I increased the number of cards / images to 40 and the memory started to > increase 1.2% each cycle! > > Never has the memory decreased. That is definitely something to report to the LC bug system. Memory leaks in the LiveCode framework are not something that we mere mortals can work around. One additional question - which version of LC are you using? Tim From chris at altuit.com Fri Apr 13 10:44:53 2012 From: chris at altuit.com (Chris Bohnert) Date: Fri, 13 Apr 2012 09:44:53 -0500 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: Hey Glenn, My suggestion, while you're waiting to hear from support, would be to run your app with a tool like Valgrind. It could be you've found a leak in the engine, but you might just have a buggy dependency in your Centos distro. Valgrind output may give you some hints as to where. -- cb On Fri, Apr 13, 2012 at 6:53 AM, Glen Bojsza wrote: > My latest update / feedback on the issue... > > I tried monitoring the memory on the Centos 6.2 system with top -p $(pgrep > Xorg) and watching the %MEM. It was really interesting and informative... > when I launched the application I was down at 1.5% MEM and as I did > database queries and plots I saw it increase between 0.3 and 0.5 % each > time (This had several queries with large numbers of data). > > To address Tim's concern I stopped doing any graphing and solely did a > series of import snapshots. > > Background here: I am trying to produce a "poor man's" powerpoint where > each card is a slide and I have a text field that acts as a background. > > A import snaphot of the image on each card --> reduce the new image and > then place the image in the text field by replacing the first letter in a > line in the text field. > > Each image is associated to the card's name which is then associated with > the line of text in the field. > > Anytime the user wants to re-arrange the sequence of cards/slides they can > click and drag the associated image in the text field to the position they > want and this then triggers a "refresh" where all the card images are then > again having their image being done as an import snapshot and placed back > in the text field. > > So essentially, going through this cycle several times showed the memory to > start increasing approximately .7% each cycle. (this is where there are 20 > cards so 20 images) > > I increased the number of cards / images to 40 and the memory started to > increase 1.2% each cycle! > > Never has the memory decreased. > > I removed ALL images and cards except for the intro card and the memory > never decreased?! > > All I had to do is move the images in the text field as a user would when > wanting to re-arrange things and when I hit approx 80% MEM the application > stops and shuts down. > > MAC OS X experience: using the activity monitor and watching the > application I saw the memory increase a little and then remain fairly > constant while I cycle through the re-arranging of images in the text > field. > > The difference is that it did NOT just continually grow in size similar to > what I saw on CentOS. > > Also, when I deleted all the images except for the intro card the memory on > the OS X dropped to almost where I started. > > My conclusion is that the memory and application on OS X are acting as what > it probably should be. The CentOS is just a straight climb up ... which > means, if true, then any Livecode Linux apps will crash and it only depends > on when. Obviously some applications may only increase the memory in > decimal % so it would take a while and may never happen if the user closes > the app between uses. > > I think this is serious to the point that someone has to fix quickly > because Livecode sells this as a supported platform and if it fails this > easily then the overall credibility of Livecode and it's user community > suffers. > > With our app due shortly we can't take a chance that the user doesn't > experience this so we are not certain what to do. > > Glen > > On Thu, Apr 12, 2012 at 9:56 PM, Tim Jones wrote: > > > Glen, > > > > I sincerely doubt that this is related to the version of Linux you are > > using. This sounds like a potential memory leak in your graphing > > functionality. Are you using native LiveCode or someone's plugin / > stack? > > > > Tim > > > > On Apr 12, 2012, at 6:23 PM, Glen Bojsza wrote: > > > > > Hello, > > > > > > I have discovered a potential problem with my Livecode app running on > > > CentOS 6.2 > > > > > > Basic summary is that the application queries databases and generates > > > graphs. The application does snapshots of these graphs and allows the > > user > > > to position them or re-order them. > > > > > > After stress testing the app (which is due to be released this week) we > > > discover that after generating a volume of snapshots of the graphs (low > > > 100s) that the application crashes hard ... ie just shuts down. > > > > > > Even if, before generating more snapshots, you delete all existing > > > snapshots the application shuts down... deleting doesn't seem to do > > > anything in helping the application to continue to run?? > > > > > > Are there any suggestions that can be tried to solve this? > > > > > > From above it is easy for anyone to reproduce if they have a Linux > system > > > (we are locked to CentOS). > > > > > > regards, > > > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Fri Apr 13 11:06:08 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 13 Apr 2012 16:06:08 +0100 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: This sounds similar. http://quality.runrev.com/show_bug.cgi?id=7257 Not saying it is the same bug. Just your description triggered a familiar odour. Bernard On Fri, Apr 13, 2012 at 12:53 PM, Glen Bojsza wrote: > My latest update / feedback on the issue... > > I tried monitoring the memory on the Centos 6.2 system with top -p $(pgrep > Xorg) and watching the %MEM. It was really interesting and informative... > when I launched the application I was down at 1.5% MEM and as I did > database queries and plots I saw it increase between 0.3 and 0.5 % each > time (This had several queries with large numbers of data). > > To address Tim's concern I stopped doing any graphing and solely did a > series of import snapshots. > snip > So essentially, going through this cycle several times showed the memory to > start increasing approximately .7% each cycle. (this is where there are 20 > cards so 20 images) > > I increased the number of cards / images to 40 and the memory started to > increase 1.2% each cycle! > > Never has the memory decreased. > > I removed ALL images and cards except for the intro card and the memory > never decreased?! From gbojsza at gmail.com Fri Apr 13 11:13:48 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 13 Apr 2012 09:13:48 -0600 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: I build a scaled version of a test stack and application and sent it to support. On my system this shows an increase of 1.2% to 1.4% in memory usage with each click... so from a stress test perspective 70 clicks or less and the application crashes. the memory continues to climb unless the application is closed. There is also a button that removes all the images (ie start clean) and the memory does not decrease or change. So we will wait to hear from the support team. I have tarred the folder and if anyone wants to try it (24.6 MB) then let me know since I need to use an email address when sharing from google docs. On Fri, Apr 13, 2012 at 9:06 AM, Bernard Devlin wrote: > This sounds similar. > http://quality.runrev.com/show_bug.cgi?id=7257 > > Not saying it is the same bug. Just your description triggered a > familiar odour. > > Bernard > > On Fri, Apr 13, 2012 at 12:53 PM, Glen Bojsza wrote: > > My latest update / feedback on the issue... > > > > I tried monitoring the memory on the Centos 6.2 system with top -p > $(pgrep > > Xorg) and watching the %MEM. It was really interesting and informative... > > when I launched the application I was down at 1.5% MEM and as I did > > database queries and plots I saw it increase between 0.3 and 0.5 % each > > time (This had several queries with large numbers of data). > > > > To address Tim's concern I stopped doing any graphing and solely did a > > series of import snapshots. > > > > snip > > > So essentially, going through this cycle several times showed the memory > to > > start increasing approximately .7% each cycle. (this is where there are > 20 > > cards so 20 images) > > > > I increased the number of cards / images to 40 and the memory started to > > increase 1.2% each cycle! > > > > Never has the memory decreased. > > > > I removed ALL images and cards except for the intro card and the memory > > never decreased?! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Fri Apr 13 11:22:02 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 13 Apr 2012 09:22:02 -0600 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: The tarball can be gotten here... http://www.box.com/s/07d396287def00f59b8e If you launch the application then all you need to do is click any of the images in the scrolling field and watch the memory. On Fri, Apr 13, 2012 at 9:13 AM, Glen Bojsza wrote: > I build a scaled version of a test stack and application and sent it to > support. > > On my system this shows an increase of 1.2% to 1.4% in memory usage with > each click... so from a stress test perspective 70 clicks or less and the > application crashes. the memory continues to climb unless the application > is closed. There is also a button that removes all the images (ie start > clean) and the memory does not decrease or change. > > So we will wait to hear from the support team. > > I have tarred the folder and if anyone wants to try it (24.6 MB) then let > me know since I need to use an email address when sharing from google docs. > > > > > On Fri, Apr 13, 2012 at 9:06 AM, Bernard Devlin wrote: > >> This sounds similar. >> http://quality.runrev.com/show_bug.cgi?id=7257 >> >> Not saying it is the same bug. Just your description triggered a >> familiar odour. >> >> Bernard >> >> On Fri, Apr 13, 2012 at 12:53 PM, Glen Bojsza wrote: >> > My latest update / feedback on the issue... >> > >> > I tried monitoring the memory on the Centos 6.2 system with top -p >> $(pgrep >> > Xorg) and watching the %MEM. It was really interesting and >> informative... >> > when I launched the application I was down at 1.5% MEM and as I did >> > database queries and plots I saw it increase between 0.3 and 0.5 % each >> > time (This had several queries with large numbers of data). >> > >> > To address Tim's concern I stopped doing any graphing and solely did a >> > series of import snapshots. >> > >> >> snip >> >> > So essentially, going through this cycle several times showed the >> memory to >> > start increasing approximately .7% each cycle. (this is where there are >> 20 >> > cards so 20 images) >> > >> > I increased the number of cards / images to 40 and the memory started to >> > increase 1.2% each cycle! >> > >> > Never has the memory decreased. >> > >> > I removed ALL images and cards except for the intro card and the memory >> > never decreased?! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bdrunrev at gmail.com Fri Apr 13 11:59:50 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 13 Apr 2012 16:59:50 +0100 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: I saw this man on TV discussing the Brazilian olympic project a couple of weeks ago. He looked very pleased with himself. Of course, the programme that was talking up Rio de Janeiro didn't mention that the mayor not only lived in another city, but in another country! That really would have undercut the entire programme. Or perhaps Niteroi has its own mayor, and the chap I saw lives in Rio. I saw a survey a while back of travel agents, who were asked to rate their favourite holiday destinations. They chose Rio. I hope it is suitable compensation for the corruption. And I have a photo of some Niemeyer architecture on my fridge. I'm the kind of nerd who chooses my holiday destinations based on the architecture rather than the beach sports. Bernard On Fri, Apr 13, 2012 at 12:58 PM, Andre Garzia wrote: > Our engineers, architects and designers are really good. All we're missing > now is a honest government. My mayor lives in Miami (true)... From ambassador at fourthworld.com Fri Apr 13 12:08:38 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Apr 2012 09:08:38 -0700 Subject: Linux application crashes In-Reply-To: References: Message-ID: <4F884F86.9070408@fourthworld.com> Glen Bojsza wrote: ... > I increased the number of cards / images to 40 and the memory started to > increase 1.2% each cycle! > > Never has the memory decreased. > > I removed ALL images and cards except for the intro card and the memory > never decreased?! ... Good info, Glen. Please consider adding your notes to this report opened three days ago: I've corresponded with Ben Beaumont on that issue, and the team is looking into it. Your info will be very helpful for their efforts. Thanks - -- 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 warren at warrensweb.us Fri Apr 13 12:36:58 2012 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Apr 2012 11:36:58 -0500 Subject: Linux application crashes In-Reply-To: References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: <4F88562A.30404@warrensweb.us> On 04/13/2012 10:22 AM, Glen Bojsza wrote: > The tarball can be gotten here... > > http://www.box.com/s/07d396287def00f59b8e > > If you launch the application then all you need to do is click any of the > images in the scrolling field and watch the memory. This problem is very evident here, certainly a much more obvious and rapid drain than the memory leak discussed earlier in the week. Besides the accumulating memory usage, I also get a severe example of windows being rendered with artifacts and noise from elements from previous windows and elements in other, current, windows. I get this in (most) other applications, primarily when an app opens its initial window and sometimes in menu dropdowns and such. It almost always only occurs once per window and it's never as problematic as I find it in this particular app (Stress PDF Reporter). Here it occurs with each graph selected and the display is virtually unreadable. Toggling window effects has no effect (not a pun) at all. Warren From mwieder at ahsoftware.net Fri Apr 13 12:53:16 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Apr 2012 16:53:16 +0000 (UTC) Subject: Linux application crashes References: <1B1163AD-0E2F-440D-B2F1-10391436C7F5@me.com> Message-ID: Glen Bojsza writes: > If you launch the application then all you need to do is click any of the > images in the scrolling field and watch the memory. Confirmed here on 32-bit Fedora Core 16 xcfe spin. I get a very noticeable memory leak for each image generated and a significant use of cpu time as well. I had to shut down other running apps because the cpu utilization caused Firefox to issue continual "script stopped running" messages and my VirtualBox vm kept trying to swap memory space as things started getting cramped. I don't see the visual splattering Warren described but otherwise it's seriously tanking. -- Mark Wieder From jacque at hyperactivesw.com Fri Apr 13 13:02:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Apr 2012 12:02:01 -0500 Subject: scroll field to a searched-for word In-Reply-To: <8CEE7972BA1C050-2420-11A7@webmail-d148.sysops.aol.com> References: <8CEE79547515B9D-2420-F8D@webmail-d148.sysops.aol.com> <8CEE7972BA1C050-2420-11A7@webmail-d148.sysops.aol.com> Message-ID: <4F885C09.4010502@hyperactivesw.com> On 4/13/12 9:16 AM, dunbarx at aol.com wrote: > on mouseUp > put word 2 of the clickCharChunk into myPos > put the formattedText of fld 2 into myText > put number of lines of (char 1 to myPos of myText) into myLineNr > answer myLineNr > end mouseUp > > > This smacks of Jacque, I can't take credit. I always include "the" with built-in functions, and I try to avoid "my" in variable names because it makes me cringe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Apr 13 14:11:41 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Apr 2012 11:11:41 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today Message-ID: Folks, A reminder that the offer of a copy of SQLiteAdmin for $4.99 expires at midnight tonight, Friday 13th (!), California time. SQLiteAdmin completely removes all the restrictions inherent in the standard SQLite Data Definition Language, allowing you to add, change, or delete any property of any existing schema object while maintaining the integrity of your data. Its data browsing functions allow you to display your data with complete control over which rows and columns to select, insert new rows (including duplicating existing rows), and update or delete of single or multiple existing rows. For convenience, your row and column filters can be saved and recalled for later use. I have started on a series of short instructional videos on how to use SQLiteAdmin. You can find them on my Youtube channel. So far, I've covered the creation of tables, indexes, and triggers and will shortly be adding videos on the creation of views, SQLiteAdmin's data maintenance functions, and various other SQLiteAdmin activities. You can stay informed of new videos by subscribing to the channel. -- Pete lcSQL Software From rjearp at hotmail.com Fri Apr 13 16:05:10 2012 From: rjearp at hotmail.com (Bob Earp) Date: Fri, 13 Apr 2012 13:05:10 -0700 Subject: Separate on-Rev list ?? Message-ID: forums.on-rev.com seems to have very little activity on it and old messages. Is there a separate on-Rev list or do users post questions here ? Thanks, Bob... Bob Earp White Rock, British Columbia. From andre at andregarzia.com Fri Apr 13 16:05:56 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Apr 2012 17:05:56 -0300 Subject: [OT] Android for the HP Touchpad (ICS 4.0) In-Reply-To: References: Message-ID: On Thu, Apr 5, 2012 at 9:29 PM, Roger Eller wrote: > I just happen to discover this when browsing YouTube, and I thought of > Andre. If you ever decide to part ways with WebOS (not likely), your > hardware is at least capable of running the latest incarnation of Android, > and very well it appears. > > http://www.youtube.com/watch?v=Lj2l55-LOTo > > I will never do it!!!! :-) webOS is the best system and soon open webOS will be here and I will be happier! (I got an android tablet too... looks good but usability is poor) thanks for the tip about android, maybe one day I will be a convert... > ~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. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Fri Apr 13 16:10:47 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Apr 2012 17:10:47 -0300 Subject: equivalent of iphoneApplicationIdentifier() for Android Message-ID: Hey Folks, Anyone knows if there is a way to get the bundle identifies for Android? something like iphoneApplicationIdentifier() but for android... Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From stephenREVOLUTION2 at barncard.com Fri Apr 13 18:30:50 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 13 Apr 2012 15:30:50 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today In-Reply-To: References: Message-ID: ok, where do I sign up/ pay/ get? On 13 April 2012 11:11, Peter Haworth wrote: > Folks, > A reminder that the offer of a copy of SQLiteAdmin for $4.99 expires at > midnight tonight, Friday 13th (!), California time. > > SQLiteAdmin completely removes all the restrictions inherent in the > standard SQLite Data Definition Language, allowing you to add, change, or > delete any property of any existing schema object while maintaining the > integrity of your data. Its data browsing functions allow you to display > your data with complete control over which rows and columns to select, > insert new rows (including duplicating existing rows), and update or delete > of single or multiple existing rows. For convenience, your row and column > filters can be saved and recalled for later use. > > I have started on a series of short instructional videos on how to use > SQLiteAdmin. You can find them on my Youtube > channel. > So far, I've covered the creation of tables, indexes, and triggers and will > shortly be adding videos on the creation of views, SQLiteAdmin's data > maintenance functions, and various other SQLiteAdmin activities. You can > stay informed of new videos by subscribing to the channel. > > -- > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Fri Apr 13 20:46:52 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Apr 2012 19:46:52 -0500 Subject: equivalent of iphoneApplicationIdentifier() for Android In-Reply-To: References: Message-ID: <4F88C8FC.4040201@hyperactivesw.com> On 4/13/12 3:10 PM, Andre Garzia wrote: > Hey Folks, > > Anyone knows if there is a way to get the bundle identifies for Android? > something like iphoneApplicationIdentifier() but for android... There's this: get specialFolderPath("engine") --> /data/app/com.yourcompany.yourapp.apk -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Apr 13 21:33:43 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Apr 2012 18:33:43 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today In-Reply-To: References: Message-ID: <1491343258812.20120413183343@ahsoftware.net> Stephen- Friday, April 13, 2012, 3:30:50 PM, you wrote: > ok, where do I sign up/ pay/ get? Send Pete an email PayPal www.lcsql.com/products.html I did. Looks great. Nicely done. Lots of CRUD. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Apr 13 21:44:17 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Apr 2012 18:44:17 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today In-Reply-To: <1491343258812.20120413183343@ahsoftware.net> References: <1491343258812.20120413183343@ahsoftware.net> Message-ID: Hi Mark, I got Stephen set up. By the way... what's CRUD? Back where I come from, that's a derogatory term!!! On Fri, Apr 13, 2012 at 6:33 PM, Mark Wieder wrote: > Stephen- > > Friday, April 13, 2012, 3:30:50 PM, you wrote: > > > ok, where do I sign up/ pay/ get? > > Send Pete an email > PayPal > www.lcsql.com/products.html > > I did. Looks great. Nicely done. Lots of CRUD. > > -- > -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 > -- Pete lcSQL Software From pete at lcsql.com Fri Apr 13 21:57:53 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Apr 2012 18:57:53 -0700 Subject: Major Datagrid Issues Message-ID: I am running into some pretty major issues using the datagrid's dgNUmberOfRecords/GetDataForLine functionality. First issue. I load data into the datagrid by setting the dgNumberOfRecords - GetDataForLine is called correctly, all looks fine. Now I go through a filtering process and set the dgNUmberOfRecords again, let's say it ends up at 2. GetDataForLine gets called twice and I see that I load the correct data into pDataA. The datagrid now correctly shows two lines but they have the data from the first two lines of the original display, not the selected lines. Bad news. Second Issue. This one seems to happen when the total number of rows in the datagrid is an exact multiple of the visible rows in the datagrid. For example, let's say there are 50 records presented to the datagrid and it has 10 visible lines. No problem with the initial display of the data. Now I want to add a row of data to the end of the datagrid. I set the dgNumberOfRecords to the new row count but the datagrid still shows the original last row at the end of the datagrid and I cannot scroll down any further. I try scroliing up and down, no joy. Bad News. Trevor or zryip, or anyone else - any ideas? -- Pete lcSQL Software From gbojsza at gmail.com Fri Apr 13 22:19:38 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 13 Apr 2012 20:19:38 -0600 Subject: Major Datagrid Issues In-Reply-To: References: Message-ID: <7F149F6D-1357-4BF7-A2B8-D9A4328F6EF1@gmail.com> On the second issue, is it that the scrolling does not work at all? I have encountered this problem several times where there are more rows than what is shown but the vertical scroll bar does not scroll past the lines shown... ie the size of the scroll bar indicates that more rows are present. In the message box you could try set the dgtext of grp "nameofdatagrid" to the dgtext of grp "nameofdatagrid" and see if this gets the scrolling working again. On Apr 13, 2012, at 7:57 PM, Peter Haworth wrote: > I am running into some pretty major issues using the datagrid's > > > Second Issue. > > This one seems to happen when the total number of rows in the datagrid is > an exact multiple of the visible rows in the datagrid. For example, let's > say there are 50 records presented to the datagrid and it has 10 visible > lines. No problem with the initial display of the data. Now I want to add > a row of data to the end of the datagrid. I set the dgNumberOfRecords to > the new row count but the datagrid still shows the original last row at the > end of the datagrid and I cannot scroll down any further. I try scroliing > up and down, no joy. Bad News. > > > Trevor or zryip, or anyone else - any ideas? > > -- > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Apr 13 23:03:16 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Apr 2012 20:03:16 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today In-Reply-To: References: <1491343258812.20120413183343@ahsoftware.net> Message-ID: <161348632234.20120413200316@ahsoftware.net> Pete- Friday, April 13, 2012, 6:44:17 PM, you wrote: > By the way... what's CRUD? Back where I come from, that's a derogatory > term!!! LOL... https://en.wikipedia.org/wiki/Create,_read,_update_and_delete -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Apr 13 23:20:59 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Apr 2012 20:20:59 -0700 Subject: [REM] SQLiteAdmin Offer Expires Today In-Reply-To: <161348632234.20120413200316@ahsoftware.net> References: <1491343258812.20120413183343@ahsoftware.net> <161348632234.20120413200316@ahsoftware.net> Message-ID: Ah, I'll never think of CRID the same way again! On Fri, Apr 13, 2012 at 8:03 PM, Mark Wieder wrote: > Pete- > > Friday, April 13, 2012, 6:44:17 PM, you wrote: > > > By the way... what's CRUD? Back where I come from, that's a derogatory > > term!!! > > LOL... > > https://en.wikipedia.org/wiki/Create,_read,_update_and_delete > > -- > -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 > -- Pete lcSQL Software From pete at lcsql.com Fri Apr 13 23:27:50 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Apr 2012 20:27:50 -0700 Subject: Major Datagrid Issues In-Reply-To: <7F149F6D-1357-4BF7-A2B8-D9A4328F6EF1@gmail.com> References: <7F149F6D-1357-4BF7-A2B8-D9A4328F6EF1@gmail.com> Message-ID: Hi Glen, Thanks for the suggestions. In this case, the thumb is firmly anchord at the bottom of the crollbar, seemingly indictaing that there are no more rows. Unfortunatly, references to the dgText have no effect in this environmentt. Using the dgNumberOfRecofrds and GetDataOfLine means that I'm taking over responsibility for the content of the datagrid, so many of the normal dg functions and properties have no effect since the dg no longer maintains it's own internal storage array. I have found a workaround and that is to call RefreshList right after I've relaoded the dg with new data. I hate doing that though because it cause the whole cycle of calls to GetDataOfLine to happen one more time when nothing changed. On Fri, Apr 13, 2012 at 7:19 PM, Glen Bojsza wrote: > On the second issue, is it that the scrolling does not work at all? > > I have encountered this problem several times where there are more rows > than what is shown but the vertical scroll bar does not scroll past the > lines shown... ie the size of the scroll bar indicates that more rows are > present. > > In the message box you could try > > set the dgtext of grp "nameofdatagrid" to the dgtext of grp > "nameofdatagrid" > > and see if this gets the scrolling working again. > > > > On Apr 13, 2012, at 7:57 PM, Peter Haworth wrote: > > > I am running into some pretty major issues using the datagrid's > > > > > > Second Issue. > > > > This one seems to happen when the total number of rows in the datagrid is > > an exact multiple of the visible rows in the datagrid. For example, > let's > > say there are 50 records presented to the datagrid and it has 10 visible > > lines. No problem with the initial display of the data. Now I want to > add > > a row of data to the end of the datagrid. I set the dgNumberOfRecords to > > the new row count but the datagrid still shows the original last row at > the > > end of the datagrid and I cannot scroll down any further. I try > scroliing > > up and down, no joy. Bad News. > > > > > > Trevor or zryip, or anyone else - any ideas? > > > > -- > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pete lcSQL Software From kray at sonsothunder.com Sat Apr 14 13:00:00 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 14 Apr 2012 12:00:00 -0500 Subject: [OT] Android for the HP Touchpad (ICS 4.0) In-Reply-To: References: Message-ID: On Apr 13, 2012, at 3:05 PM, Andre Garzia wrote: > On Thu, Apr 5, 2012 at 9:29 PM, Roger Eller wrote: > >> I just happen to discover this when browsing YouTube, and I thought of >> Andre. If you ever decide to part ways with WebOS (not likely), your >> hardware is at least capable of running the latest incarnation of Android, >> and very well it appears. >> >> http://www.youtube.com/watch?v=Lj2l55-LOTo >> >> > I will never do it!!!! :-) > > webOS is the best system and soon open webOS will be here and I will be > happier! > > (I got an android tablet too... looks good but usability is poor) > > thanks for the tip about android, maybe one day I will be a convert? Actually Andre, you don't need to actually convert - it runs as a dual-boot on the TouchPad, so you can pick either WebOS or Android and get the best of both worlds. Just FYI, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Apr 14 13:09:49 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 14 Apr 2012 12:09:49 -0500 Subject: Major Datagrid Issues In-Reply-To: References: Message-ID: <6051EA06-BEF2-456D-BC92-637246283883@sonsothunder.com> > I load data into the datagrid by setting the dgNumberOfRecords - > GetDataForLine is called correctly, all looks fine. Now I go through a > filtering process and set the dgNUmberOfRecords again, let's say it ends up > at 2. GetDataForLine gets called twice and I see that I load the correct > data into pDataA. The datagrid now correctly shows two lines but they have > the data from the first two lines of the original display, not the selected > lines. Bad news. Do you have "Persistent Data" checked on for the data grid? If so, try turning it off and see if that helps. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Sat Apr 14 13:10:21 2012 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 14 Apr 2012 14:10:21 -0300 Subject: [OT] Android for the HP Touchpad (ICS 4.0) In-Reply-To: References: Message-ID: > > Actually Andre, you don't need to actually convert - it runs as a > dual-boot on the TouchPad, so you can pick either WebOS or Android and get > the best of both worlds. > > Just FYI, > > Ken, IIRC to dual boot you need to doctor your touchpad, this means reflashing it. You need to use metadoctor which is a homebrew app to create a partition in the image file and send it to the touchpad again. It is not hard, actually is pretty easy but I don't feel like reflashing. I have an ASUS Android tablet as well. So it is the best of both worlds. The Android and iOS machines here are just for development. My personal machines are all webOS. The opening up of webOS to open source licenses is a very good thing. For example it gave us a really nice HTML toolkit to use in our sites. Checkout http://www.enyojs.com =) > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at lcsql.com Sun Apr 15 02:04:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Apr 2012 23:04:18 -0700 Subject: Major Datagrid Issues In-Reply-To: <6051EA06-BEF2-456D-BC92-637246283883@sonsothunder.com> References: <6051EA06-BEF2-456D-BC92-637246283883@sonsothunder.com> Message-ID: Hi Ken, Thanks of the suggestion but Persisent Data is already off. Have to admit, I never really did understand the Persistent Data setting, especially in standalones where there's no such thing. Pete lcSQL Software On Sat, Apr 14, 2012 at 10:09 AM, Ken Ray wrote: > > I load data into the datagrid by setting the dgNumberOfRecords - > > GetDataForLine is called correctly, all looks fine. Now I go through a > > filtering process and set the dgNUmberOfRecords again, let's say it ends > up > > at 2. GetDataForLine gets called twice and I see that I load the correct > > data into pDataA. The datagrid now correctly shows two lines but they > have > > the data from the first two lines of the original display, not the > selected > > lines. Bad news. > > Do you have "Persistent Data" checked on for the data grid? If so, try > turning it off and see if that helps. > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sun Apr 15 09:17:37 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Apr 2012 15:17:37 +0200 Subject: Problem with 'add'? Message-ID: <7717166B-5D8D-48F0-BD33-06867894DDAC@mac.com> Tracking down a bug, I put this into the message box put 3*4 into t1; add (2*10) to t1; put t1 I get 12, whereas I should have got 32. Same thing when I just add 20. What am I doing wrong? Graham From bonnmike at gmail.com Sun Apr 15 09:24:53 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 Apr 2012 07:24:53 -0600 Subject: Problem with 'add'? In-Reply-To: <7717166B-5D8D-48F0-BD33-06867894DDAC@mac.com> References: <7717166B-5D8D-48F0-BD33-06867894DDAC@mac.com> Message-ID: Interesting. remove the parens and it works. Do it like "add value(2*10) to t1" works. Seems like its not evaulating between the parens so effectively adds 0 to 12. Forcing the evaluation makes it work. Seems wonky to me. On Sun, Apr 15, 2012 at 7:17 AM, Graham Samuel wrote: > Tracking down a bug, I put this into the message box > > put 3*4 into t1; add (2*10) to t1; put t1 > > I get 12, whereas I should have got 32. Same thing when I just add 20. > What am I doing wrong? > > 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 klaus at major.on-rev.com Sun Apr 15 09:43:04 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 15 Apr 2012 15:43:04 +0200 Subject: Problem with 'add'? In-Reply-To: References: <7717166B-5D8D-48F0-BD33-06867894DDAC@mac.com> Message-ID: <38CC17AB-2561-4BE6-8A6F-64748D65065E@major.on-rev.com> Hi all, Am 15.04.2012 um 15:24 schrieb Mike Bonner: > Interesting. remove the parens and it works. Do it like "add value(2*10) > to t1" works. Seems like its not evaulating between the parens so > effectively adds 0 to 12. Forcing the evaluation makes it work. > > Seems wonky to me. > > On Sun, Apr 15, 2012 at 7:17 AM, Graham Samuel wrote: > >> Tracking down a bug, I put this into the message box >> >> put 3*4 into t1; add (2*10) to t1; put t1 this works correctly when putting this into a buttons script! There ARE some ugly issues with the message box for a long time, and this seems to be one of them... Here is another one: ... answer file "Yadda Yadda" with type "Images|jpg,png,pdf,bmp|";put it .. you will get "images" (on a Mac, maybe windows, too) BUT: ... answer file "Yadda Yadda" with type "Images|jpg,png,pdf,bmp|";ANSWER it ... will ANSWER the correct filepath! ??? I already bug reported this about 4 years ago: >> I get 12, whereas I should have got 32. Same thing when I just add 20. >> What am I doing wrong? >> >> Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From livfoss at mac.com Sun Apr 15 11:56:54 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Apr 2012 17:56:54 +0200 Subject: Message path, behaviors and groups Message-ID: <9AB244BB-AB9B-43E8-A39E-8309C023E3CC@mac.com> I greedily want to have two behaviors for a set of cards in something I'm developing. Basically I clone cards from templates, and there are several different templates. There is a set of common behaviors for all the cards, so there's a script for this that gets put in a button and then set as the behavior of each card as it's created from the template; then I want each type of template to have an additional behavior unique to the specific type of card being created. I achieve this by having a common group on each card, and setting the behavior of this group according to the type of template I'm using. This kind of works, in that the handlers in the second set of behaviors are accessible from controls (such as fields) on the relevant card - but if I have buttons in the group where I put the behavior, they don't see the handlers in the behavior, even if I try to access them via 'send' as in on mouseUp send "dosomething" to grp "theCommonGroup" of this cd end mouseUp Is there a way to solve this? If not, I can put the handlers I want in the main behavior, with a parameter which says who's calling them so that they can modify what they do according to the specific requirements of the caller, but that seems clunky. TIA Graham From livfoss at mac.com Sun Apr 15 12:29:09 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Apr 2012 18:29:09 +0200 Subject: Message path, behaviors and groups Message-ID: As you were, it seems to work now. Sorry, I guess I made some other mistake. Time to stop for the day, perhaps. In fact it seems a mistake to assume the handler is in the group because the behavior is there, but maybe even that works. Not worth investigating right now... Apologies again. I wrote: > I greedily want to have two behaviors for a set of cards in something I'm developing. Basically I clone cards from templates, and there are several different templates. There is a set of common behaviors for all the cards, so there's a script for this that gets put in a button and then set as the behavior of each card as it's created from the template; then I want each type of template to have an additional behavior unique to the specific type of card being created. I achieve this by having a common group on each card, and setting the behavior of this group according to the type of template I'm using. > > This kind of works, in that the handlers in the second set of behaviors are accessible from controls (such as fields) on the relevant card - but if I have buttons in the group where I put the behavior, they don't see the handlers in the behavior, even if I try to access them via 'send' as in > > on mouseUp > send "dosomething" to grp "theCommonGroup" of this cd > end mouseUp > > Is there a way to solve this? If not, I can put the handlers I want in the main behavior, with a parameter which says who's calling them so that they can modify what they do according to the specific requirements of the caller, but that seems clunky. > > TIA > > Graham From terry.judd at unimelb.edu.au Sun Apr 15 19:51:13 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 15 Apr 2012 23:51:13 +0000 Subject: loading some html into an iOS browser control Message-ID: I'm trying to display some internally generated html in an iOS browser control. According to the iOS docs I should be able to do this by using the 'load' action of the browser control... mobileControlDo browserID, baseURL, HTMLtext ...however I can't get anything to display (the browser control remains empty). I'm passing empty as the baseURL (I'm not sure what this is for anyway) and have tried passing simple and complex chunks of html without success. Has anyone got this to work (Livecode 5.5)? The browser object seems to function fine otherwise as I can load a url in it no problems. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From stephenREVOLUTION2 at barncard.com Sun Apr 15 23:04:48 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 15 Apr 2012 20:04:48 -0700 Subject: mail command in the shell -- need 'reply to' parameter Message-ID: I am using this subroutine using Livecode server to send mail from a mail form. command mail pTo, pSub, pMsg, pFrom put shellEscape(pTo) into pTo put shellEscape(pSub) into pSub put shellEscape(pMsg) into pMsg put shellEscape(pFrom) into pFrom * get shell("echo -e" && qtx(pMsg) && "| mail -s" & qtx(pSub) && qtx(pTo) && "-- -f" & qtx(pFrom))* put it & return & the result into tCommandResult end mail -- wrap quotes around text function qtx pText return quote & pText & quote end qtx This works great, however I'd like to add the 'reply-to' parameter to the shell call. I've poured over the linux man page and I don't see the parameter right away. I'd like the eventual form email recipient to reply to the email field on the form, but if I set the 'pFrom' parameter to that, the web host may reject the transmission due to spam prevention. sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From gerry.orkin at gmail.com Mon Apr 16 02:04:27 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 16 Apr 2012 16:04:27 +1000 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: Andre wrote: > (prettiest > bay ever). It is very pretty :) My bay looks like this (2mb file): http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg Gerry From dsc at swcp.com Mon Apr 16 02:07:04 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 16 Apr 2012 00:07:04 -0600 Subject: loading some html into an iOS browser control In-Reply-To: References: Message-ID: On Apr 15, 2012, at 5:51 PM, Terry Judd wrote: > I'm passing empty as the baseURL (I'm not sure what this is for anyway) and have tried passing simple and complex chunks of html without success. Has anyone got this to work (Livecode 5.5)? The browser object seems to function fine otherwise as I can load a url in it no problems. The baseURL is for handling relative URL and image references in the HTMLtext. Dar From terry.judd at unimelb.edu.au Mon Apr 16 02:23:49 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Apr 2012 06:23:49 +0000 Subject: loading some html into an iOS browser control In-Reply-To: References: Message-ID: On 16/04/2012, at 04:07 PM, Dar Scott wrote: On Apr 15, 2012, at 5:51 PM, Terry Judd wrote: I'm passing empty as the baseURL (I'm not sure what this is for anyway) and have tried passing simple and complex chunks of html without success. Has anyone got this to work (Livecode 5.5)? The browser object seems to function fine otherwise as I can load a url in it no problems. The baseURL is for handling relative URL and image references in the HTMLtext. Dar Now that you've explained it it makes perfect sense. That's one part of the puzzle solved - thanks! 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 Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From terry.judd at unimelb.edu.au Mon Apr 16 02:28:11 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Apr 2012 06:28:11 +0000 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: <0DBF7B81-5705-4369-AE9D-8799737F2DED@unimelb.edu.au> On 16/04/2012, at 04:04 PM, Gerry Orkin wrote: Andre wrote: (prettiest bay ever). It is very pretty :) My bay looks like this (2mb file): http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg Are they Norfolk pines along the sea-front? Terry... Gerry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From gerry.orkin at gmail.com Mon Apr 16 03:47:01 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 16 Apr 2012 17:47:01 +1000 Subject: [OT] nice views from my city In-Reply-To: <0DBF7B81-5705-4369-AE9D-8799737F2DED@unimelb.edu.au> References: <0DBF7B81-5705-4369-AE9D-8799737F2DED@unimelb.edu.au> Message-ID: Yep, Norfolk Island pines. I was in Melbourne this past weekend. Nice weather :) Gerry On 16/04/2012, at 4:28 PM, Terry Judd wrote: > Are they Norfolk pines along the sea-front? From terry.judd at unimelb.edu.au Mon Apr 16 04:02:24 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Apr 2012 08:02:24 +0000 Subject: [OT] nice views from my city In-Reply-To: References: <0DBF7B81-5705-4369-AE9D-8799737F2DED@unimelb.edu.au>, Message-ID: <606CBC24-1FB8-426D-A750-327BB1ECEE35@unimelb.edu.au> On 16/04/2012, at 5:49 PM, "Gerry Orkin" wrote: > Yep, Norfolk Island pines. > > I was in Melbourne this past weekend. Nice weather :) > > Gerry > Yes - a perfect wrap up to the school holidays. Terry... > On 16/04/2012, at 4:28 PM, Terry Judd wrote: > >> Are they Norfolk pines along the sea-front? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mazzapaoloitaly at gmail.com Mon Apr 16 05:52:53 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 16 Apr 2012 11:52:53 +0200 Subject: Falling at the last fence... In-Reply-To: References: Message-ID: Hi All, I am trying to upload am iPad Application to the AppStore using the Application Loader but at the end of the process I get the message "An error occurred uploading to the iTunes Store". I had a look at the activity log of th Application Loader and I found a note "Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone distribution Certificate" I am running Lion 10.7.3 and LC 5.5.0 . Am I supposed "to clear 'everything' out of the keychain that was iOS related, dumped 'everything' out from xCode and started the whole business from scratch through the Apple Developer website.." to load my app to the AppleStore ? Thanks a lot Paolo Mazza On Mon, Jan 30, 2012 at 1:49 AM, John Dixon wrote: > > Andy, Ken, Mark ... (and Bernd for taking pity on me...) > > Thanks for the replies.. Andy, I am not running Lion, I am still on 10.6.8... Ken, I had a look at AppResigner and tried it, but the errors that it threw at me confused me even more...:-) I cannot now say what went wrong or what happened, all that I can tell you is that I spent more than 6 hours trying to sort it all out... the chaos descended into problems with the keychain and with xCode... it got to the point where the binary would not even load onto the iphone... the eventual solution was to clear 'everything' out of the keychain that was iOS related, dumped 'everything' out from xCode and started the whole business from scratch through the Apple Developer website... > From andre at andregarzia.com Mon Apr 16 11:08:17 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Apr 2012 12:08:17 -0300 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: On Mon, Apr 16, 2012 at 3:04 AM, Gerry Orkin wrote: > Andre wrote: > > > (prettiest > > bay ever). > > It is very pretty :) My bay looks like this (2mb file): > > http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg > > Gerry, Wow, very pretty! I would mistake it for the sea. It is a big bay right? Mine is quite small, you can usually see the other side. Cheers andre > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bdrunrev at gmail.com Mon Apr 16 13:15:27 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 16 Apr 2012 18:15:27 +0100 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: That makes me so, so envious. At least I look out on a park (which is good for living in a city centre). But I so want to live by the sea on the west coast of somewhere (preferably somewhere warmer than Britain). If it wasn't for my other half insisting on living in the city centre, I'd sell up tomorrow. Bernard On Mon, Apr 16, 2012 at 7:04 AM, Gerry Orkin wrote: > Andre wrote: > >> (prettiest >> bay ever). > > It is very pretty :) My bay looks like this (2mb file): > > http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg From mwieder at ahsoftware.net Mon Apr 16 14:16:45 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Apr 2012 18:16:45 +0000 (UTC) Subject: mail command in the shell -- need 'reply to' parameter References: Message-ID: stephen barncard writes: Sendmail doesn't support the "Reply-to:" field by default. There are other commandline tools that do, so if you have the option to install a different mail tool you can use a commandline option for that. See http://stackoverflow.com/a/4519341 for an example using heirloom-mailx. But note that the Reply-to: field has some complications as well. For instance, it will override a listserv address, so if you have a Reply-to field configured in your email client and post a message to this email list, replying to your post will go directly to the Reply-to address instead of to the list. -- Mark Wieder From stephenREVOLUTION2 at barncard.com Mon Apr 16 14:41:21 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Apr 2012 11:41:21 -0700 Subject: mail command in the shell -- need 'reply to' parameter In-Reply-To: References: Message-ID: thanks Mark. sqb On 16 April 2012 11:16, Mark Wieder wrote: > stephen barncard writes: > > Sendmail doesn't support the "Reply-to:" field by default. There are other > commandline tools that do, so if you have the option to install a > different mail > tool you can use a commandline option for that. See > > http://stackoverflow.com/a/4519341 > > for an example using heirloom-mailx. > > Stephen Barncard San Francisco Ca. USA more about sqb From runrevron at gmail.com Mon Apr 16 15:22:55 2012 From: runrevron at gmail.com (ron barber) Date: Mon, 16 Apr 2012 15:22:55 -0400 Subject: create folder and network problem? Message-ID: Hi, I am using the following line in my code: if there is no folder tappsupport then create folder tappsupport to create a folder and files in the application support folder on a Mac. This has worked for all the users except now one is reporting an "execution error" dialog at this point in the startup process. The only unique factor about their setup that I can uncover so far is that they are on a network in an office (pc and mac) Are there issues with create folder being able to write to the local disk of a networked computer? Thanks Ron From runrevron at gmail.com Mon Apr 16 15:37:21 2012 From: runrevron at gmail.com (ron barber) Date: Mon, 16 Apr 2012 15:37:21 -0400 Subject: revcopyfolder & "create folder and network problem?" Message-ID: Sorry, I copied the wrong line of code that seems to be causing the problem. After the call to create folder I then use revcopyfolder storepath,tappsupport and it is this that is putting the result as "execution error" Sorry for the confusion. But the question is does revcopyfolder (and the underlying applescript) have problems with installing on a network? Thanks again, Ron From dsc at swcp.com Mon Apr 16 15:45:24 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 16 Apr 2012 13:45:24 -0600 Subject: loading some html into an iOS browser control In-Reply-To: References: Message-ID: Terry, I considered using this control to solve a problem for a customer but have yet to work with this. You have to consider that caveat with my comments. I think the HTMLtext has to be a full page with tag and everything. I have also heard that Apple is going with stricter standards compliance with iOS 5.0 or 5.1 (perhaps for security reasons) and what might work in some browsers might not work as HTMLtext. I would think this should work with an empty baseURL, but you might want to try putting something in there. If you have defined browserLoadRequest, you might need to pass that even for "load" (based on a comment I have seen online concerning the underlying method "loadHtmlString"). I'm not sure what the URL or type passed to browserLoadRequest would be for "load". You might get some debug info by defining handlers for the messages sent by the control and seeing which if any are called for "load". Log all parameters. At minimum define browserLoadFailed. (I don't really know if "load" will cause these to be sent, but I think so.) You might be able to learn more from UIWebView documentation and even some examples. Even if you are not familiar with Objective C, you might get a clue such as a test script that works. Like I said, this is just what I learned in preparation for using this, and then I did not. Dar On Apr 16, 2012, at 12:23 AM, Terry Judd wrote: > > On 16/04/2012, at 04:07 PM, Dar Scott wrote: > > > On Apr 15, 2012, at 5:51 PM, Terry Judd wrote: > > I'm passing empty as the baseURL (I'm not sure what this is for anyway) and have tried passing simple and complex chunks of html without success. Has anyone got this to work (Livecode 5.5)? The browser object seems to function fine otherwise as I can load a url in it no problems. > > The baseURL is for handling relative URL and image references in the HTMLtext. > > Dar > > Now that you've explained it it makes perfect sense. That's one part of the puzzle solved - thanks! > > 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 > > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 16 16:12:42 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Apr 2012 13:12:42 -0700 Subject: revcopyfolder & "create folder and network problem?" In-Reply-To: References: Message-ID: Need more info. OS version, local permissions for wherever you are creating the folder, user rights, etc. Obviously if it works in most situations, but not this one, the key is finding out what is different. Bob On Apr 16, 2012, at 12:37 PM, ron barber wrote: > Sorry, I copied the wrong line of code that seems to be causing the problem. > > After the call to create folder I then use > > revcopyfolder storepath,tappsupport > > and it is this that is putting the result as "execution error" > > Sorry for the confusion. But the question is does revcopyfolder (and > the underlying applescript) have problems with installing on a > network? > > Thanks again, > Ron > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 16 17:37:45 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Apr 2012 14:37:45 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly Message-ID: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Everyone by now has heard about the App Store. Apple even has gone so far as to deploy Lion this way, and appears poised to provide ALL Apple produced software this way... AND NO OTHER. So what's the big deal right? Seems pretty convenient! Well the Devil is in the details. First, each App Store account can only purchase Lion once. You cannot then take that App Store account to another computer and use it to purchase another copy of Lion! For most people, this is a non-issue, but for a corporation with LOTS of Macs deployed, this is a cold slap in the face! Now we have to make up an account for each computer, and then keep track of which account is used by which computer so we can use it for purchases just for that Mac in the future! That is just UGLY! Now they DO have a volume licensing deal, where you can buy 20 licenses minimum, and then make a DVD installer to deploy it, or create a custom image and go that route (not good for upgrades though). So you faithfully buy the 20 licenses. Oh but whoops! You forgot about the 5 other guys at another campus! No problem, you will just buy 5 more, right? After all, you already purchased the 20 minimum. NO SIR!!! You must buy ANOTHER 20! You would think that Apple would just say, "Oh sorry our bad! Here you can now create a corporate app store account and use it as many times as you need to! Thanks a bunch for the business!" But instead they are pushing out inadequate hacks, and then telling their business customers that this is t he way it is, and deal with it. To their credit, the price of Lion is dramatically cheaper, so maybe that is much ado about nothing. Still, Apple users have never been about the price of the product, but the ease and convenience. The Apple of the past has always had a great reputation for thinking things through pretty thoroughly. Not anymore though. We used to keep our corporate credit card on file at the Apple store, so whenever we wanted to buy something, they would just run it. Apple Corporate has put the kibosh on that, forcing businesses to apply for terms, and they want to see you financials first. Our accounting department says no way, so no net 30 account for us! The upshot is we will have to go elsewhere from now on to purchase our Apple products, and what is the position of Apple Corporate, the regional manager, the store manager and the business manager at the local store? "Oh, well." We used to be one of their top customers ever. Now we are no customer, and no one at Apple is even flinching. When I see this sort of thing happening to a company, I envision a large lake frozen over, but large cracks forming under the surface. And this from a lifelong Apple diehard! It is my impression that there are people at Apple who have wanted to implement their lame ways of doing things for a long time, and now that Steve is gone, they see the opportunity to prove what smart guys they are! Instead they are making a bunch of really bad choices. In a few years time there may not be a big distinction operationally between Apple and an unwieldy behemoth corporation like AT&T. Bob From monte at sweattechnologies.com Mon Apr 16 19:01:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Apr 2012 09:01:04 +1000 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: >> It is very pretty :) My bay looks like this (2mb file): >> >> http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg >> Unfortunately, I have neither a bay nor a city view. I'm stuck waking up to this :-) http://dl.dropbox.com/u/11969754/photo.JPG I took that happy snap at 7AM this morning. Cheers Monte From rjb at robelko.com Mon Apr 16 18:48:33 2012 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 17 Apr 2012 00:48:33 +0200 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Message-ID: On 16.04.2012 at 14:37 Uhr -0700 Bob Sneidar apparently wrote: >Everyone by now has heard about the App Store. Apple even has gone >so far as to deploy Lion this way, and appears poised to provide ALL >Apple produced software this way... AND NO OTHER. So what's the big >deal right? Seems pretty convenient! You may prefer to post your piece to Tidbits-Talk list... Robert From bobs at twft.com Mon Apr 16 19:12:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Apr 2012 16:12:17 -0700 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: <3D6A35D8-2890-4A82-ADA8-D4CC125DB7A4@twft.com> I wouldn't call that "unfortunate"! Looks nice! Bob On Apr 16, 2012, at 4:01 PM, Monte Goulding wrote: >>> It is very pretty :) My bay looks like this (2mb file): >>> >>> http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg >>> > > Unfortunately, I have neither a bay nor a city view. I'm stuck waking up to this :-) > http://dl.dropbox.com/u/11969754/photo.JPG > > I took that happy snap at 7AM this morning. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 16 19:14:27 2012 From: kee at kagi.com (Kee Nethery) Date: Mon, 16 Apr 2012 16:14:27 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Message-ID: <78B2F803-1103-4C06-9310-25AAAB7D3561@kagi.com> I would guess that your complaint is one they are hearing right now from other similar customers. Until the software is actually for sale, it probably does not make much sense to get worked up about their distribution system for large organizations. Their last OS update price was around $30. How much is a typical Windows update price and how does Microsoft handle multiple machines in an office? Kee From stephenREVOLUTION2 at barncard.com Mon Apr 16 19:21:10 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Apr 2012 16:21:10 -0700 Subject: [OT] nice views from my city In-Reply-To: <3D6A35D8-2890-4A82-ADA8-D4CC125DB7A4@twft.com> References: <3D6A35D8-2890-4A82-ADA8-D4CC125DB7A4@twft.com> Message-ID: Hey this is a fun game - here's a page I put together to advertise for new housemates that displays my house views. Golden Gate park in front, and the bridge and Marin Headlands in the back to the north. And 10 blocks to the Pacific Ocean. http://fulton.barncard.com/ On 16 April 2012 16:12, Bob Sneidar wrote: > I wouldn't call that "unfortunate"! Looks nice! > > Bob > > > On Apr 16, 2012, at 4:01 PM, Monte Goulding wrote: > > >>> It is very pretty :) My bay looks like this (2mb file): > >>> > >>> http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg > >>> > > > > Unfortunately, I have neither a bay nor a city view. I'm stuck waking up > to this :-) > > http://dl.dropbox.com/u/11969754/photo.JPG > > > > I took that happy snap at 7AM this morning. > > > > Cheers > > > > Monte > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 warren at warrensweb.us Mon Apr 16 19:24:57 2012 From: warren at warrensweb.us (Warren Samples) Date: Mon, 16 Apr 2012 18:24:57 -0500 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <78B2F803-1103-4C06-9310-25AAAB7D3561@kagi.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <78B2F803-1103-4C06-9310-25AAAB7D3561@kagi.com> Message-ID: <4F8CAA49.2080609@warrensweb.us> On 04/16/2012 06:14 PM, Kee Nethery wrote: > Until the software is actually for sale, it probably does not make much sense to get worked up about their distribution system for large organizations. If one wishes to prevent a plan from becoming a problem, it may be that "before it matters" is very much the right time to make a fuss. It's not that hard to see that this imposes all kinds of frustrating burden for someone trying to administer a lot of computers. That Bob is fuming at Apple makes me wonder if Satan is wearing a sweater today :D Warren From bobs at twft.com Mon Apr 16 19:37:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Apr 2012 16:37:40 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <4F8CAA49.2080609@warrensweb.us> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <78B2F803-1103-4C06-9310-25AAAB7D3561@kagi.com> <4F8CAA49.2080609@warrensweb.us> Message-ID: <1ADA65B0-3E95-417B-A6B8-EAADEB88E345@twft.com> The way things seem to be going, if Satan was wearing a sweater with an Apple logo and sitting in their board room in Cupertino, I could hardly be surprised. ;-) Bob On Apr 16, 2012, at 4:24 PM, Warren Samples wrote: > On 04/16/2012 06:14 PM, Kee Nethery wrote: >> Until the software is actually for sale, it probably does not make much sense to get worked up about their distribution system for large organizations. > > > > If one wishes to prevent a plan from becoming a problem, it may be that "before it matters" is very much the right time to make a fuss. It's not that hard to see that this imposes all kinds of frustrating burden for someone trying to administer a lot of computers. That Bob is fuming at Apple makes me wonder if Satan is wearing a sweater today :D > > 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 gerry.orkin at gmail.com Mon Apr 16 19:53:24 2012 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 17 Apr 2012 09:53:24 +1000 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: <08BA9573-4A5A-48D6-A3CA-6A8D6A7FB391@gmail.com> Yeah it's the sea. But it's also a wide bay that doesn't have much curvature :) Gerry On 17/04/2012, at 1:08 AM, Andre Garzia wrote: > Wow, very pretty! I would mistake it for the sea. It is a big bay right? > Mine is quite small, you can usually see the other side. From andre at andregarzia.com Mon Apr 16 20:27:57 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Apr 2012 21:27:57 -0300 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: Monte, That is beautiful! =) I love green! On Mon, Apr 16, 2012 at 8:01 PM, Monte Goulding wrote: > >> It is very pretty :) My bay looks like this (2mb file): > >> > >> http://dl.dropbox.com/u/67170/examples/skiesmatrix.jpg > >> > > Unfortunately, I have neither a bay nor a city view. I'm stuck waking up > to this :-) > http://dl.dropbox.com/u/11969754/photo.JPG > > I took that happy snap at 7AM this morning. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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://fon.nu -- minimalist url shortening service. From terry.judd at unimelb.edu.au Mon Apr 16 20:30:48 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 17 Apr 2012 00:30:48 +0000 Subject: loading some html into an iOS browser control In-Reply-To: References: Message-ID: <8B5C7349-0A34-402D-8B03-9D3DEEC63ADF@unimelb.edu.au> On 17/04/2012, at 05:45 AM, Dar Scott wrote: Terry, I considered using this control to solve a problem for a customer but have yet to work with this. You have to consider that caveat with my comments. I think the HTMLtext has to be a full page with tag and everything. That's what I was trying to load initially but when that didn't work I went with something simpler (didn't work either). I have also heard that Apple is going with stricter standards compliance with iOS 5.0 or 5.1 (perhaps for security reasons) and what might work in some browsers might not work as HTMLtext. I would think this should work with an empty baseURL, but you might want to try putting something in there. If you have defined browserLoadRequest, you might need to pass that even for "load" (based on a comment I have seen online concerning the underlying method "loadHtmlString"). I'm not sure what the URL or type passed to browserLoadRequest would be for "load". You might get some debug info by defining handlers for the messages sent by the control and seeing which if any are called for "load". Log all parameters. At minimum define browserLoadFailed. (I don't really know if "load" will cause these to be sent, but I think so.) I'll have a closer look at the messages - it seems to fail silently as no errors are thrown and the result stays empty. You might be able to learn more from UIWebView documentation and even some examples. Even if you are not familiar with Objective C, you might get a clue such as a test script that works. Not many clues there - it seems you just pass some html and a base url as you do in the Livecode implementation. Like I said, this is just what I learned in preparation for using this, and then I did not. Thanks for your thoughts anyway Dar - for the moment I've gone with writing the html out to a local file first and loading that, which works fine. Still it would be easier if I could load it directly and the docs say I should be able to. Will play with it a bit more and then lodge a bug report if I still can't get it to work. Terry... Dar On Apr 16, 2012, at 12:23 AM, Terry Judd wrote: On 16/04/2012, at 04:07 PM, Dar Scott wrote: On Apr 15, 2012, at 5:51 PM, Terry Judd wrote: I'm passing empty as the baseURL (I'm not sure what this is for anyway) and have tried passing simple and complex chunks of html without success. Has anyone got this to work (Livecode 5.5)? The browser object seems to function fine otherwise as I can load a url in it no problems. The baseURL is for handling relative URL and image references in the HTMLtext. Dar Now that you've explained it it makes perfect sense. That's one part of the puzzle solved - thanks! 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 Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode 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 Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From downs.david.j at gmail.com Mon Apr 16 21:39:58 2012 From: downs.david.j at gmail.com (J. Downs) Date: Mon, 16 Apr 2012 20:39:58 -0500 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Message-ID: <314F22D7-62B2-477E-B136-42B1CFF66108@gmail.com> I use the same Apple ID on all my Lion Macs, and download software I've purchased to as many as I like. Is there some plan to change this in Mountain Lion? J. On Apr 16, 2012, at 4:37 PM, Bob Sneidar wrote: > Everyone by now has heard about the App Store. Apple even has gone so far as to deploy Lion this way, and appears poised to provide ALL Apple produced software this way... AND NO OTHER. So what's the big deal right? Seems pretty convenient! > > Well the Devil is in the details. First, each App Store account can only purchase Lion once. You cannot then take that App Store account to another computer and use it to purchase another copy of Lion! For most people, this is a non-issue, but for a corporation with LOTS of Macs deployed, this is a cold slap in the face! Now we have to make up an account for each computer, and then keep track of which account is used by which computer so we can use it for purchases just for that Mac in the future! That is just UGLY! > > Now they DO have a volume licensing deal, where you can buy 20 licenses minimum, and then make a DVD installer to deploy it, or create a custom image and go that route (not good for upgrades though). So you faithfully buy the 20 licenses. Oh but whoops! You forgot about the 5 other guys at another campus! No problem, you will just buy 5 more, right? After all, you already purchased the 20 minimum. NO SIR!!! You must buy ANOTHER 20! > > You would think that Apple would just say, "Oh sorry our bad! Here you can now create a corporate app store account and use it as many times as you need to! Thanks a bunch for the business!" But instead they are pushing out inadequate hacks, and then telling their business customers that this is t he way it is, and deal with it. To their credit, the price of Lion is dramatically cheaper, so maybe that is much ado about nothing. Still, Apple users have never been about the price of the product, but the ease and convenience. > > The Apple of the past has always had a great reputation for thinking things through pretty thoroughly. Not anymore though. We used to keep our corporate credit card on file at the Apple store, so whenever we wanted to buy something, they would just run it. Apple Corporate has put the kibosh on that, forcing businesses to apply for terms, and they want to see you financials first. Our accounting department says no way, so no net 30 account for us! The upshot is we will have to go elsewhere from now on to purchase our Apple products, and what is the position of Apple Corporate, the regional manager, the store manager and the business manager at the local store? "Oh, well." > > We used to be one of their top customers ever. Now we are no customer, and no one at Apple is even flinching. When I see this sort of thing happening to a company, I envision a large lake frozen over, but large cracks forming under the surface. And this from a lifelong Apple diehard! It is my impression that there are people at Apple who have wanted to implement their lame ways of doing things for a long time, and now that Steve is gone, they see the opportunity to prove what smart guys they are! Instead they are making a bunch of really bad choices. In a few years time there may not be a big distinction operationally between Apple and an unwieldy behemoth corporation like AT&T. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tereza at califex.com Mon Apr 16 23:48:53 2012 From: tereza at califex.com (Tereza Snyder) Date: Mon, 16 Apr 2012 22:48:53 -0500 Subject: OK... what am I missing? Message-ID: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> I am at my wit?s end. Suddenly, my datagrid stopped working in my standalone. At first, I laughed, "Oh ho, I must have neglected to load the revdatagrid library! It?ll be fixed in a jiffy!" But no. "The lockmessages must be true!" no. "The data array must be empty!" no. ... Many, many hours later, it still fails. I have attached my debugging log stack to the standalone and added output statements in every step. I have ascertained?for sure?that IN THE STANDALONE: - the datagrid library is in memory, - the datagrid library behavior button exists, - my datagrid group?s behavior is properly set, - the template stack is in memory, - the data array to be sent to the datagrid is correct, - the lockmessages is false, but when the statement: set the dgData of grp "Modules" of me to gModinfoA is encountered, the 'setprop dgData' in the revdatgrid library IS NOT EXECUTED, and my next statement: dispatch "SortDataByKey" to grp "Modules" of me with "title", "international","ascending", false is UNHANDLED. Does anyone have any insight at all? I?ve exhausted myself over this. It used to work! It works in the IDE! I have a deadline! I need a clue. *sob* t -- Tereza Snyder Califex Software, Inc. From jacque at hyperactivesw.com Tue Apr 17 00:16:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Apr 2012 23:16:42 -0500 Subject: OK... what am I missing? In-Reply-To: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> Message-ID: <4F8CEEAA.3030101@hyperactivesw.com> On 4/16/12 10:48 PM, Tereza Snyder wrote: > but when the statement: > > set the dgData of grp "Modules" of me to gModinfoA > > is encountered, the 'setprop dgData' in the revdatgrid library IS NOT > EXECUTED, and my next statement: > > dispatch "SortDataByKey" to grp "Modules" of me with "title", > "international","ascending", false > > is UNHANDLED. > > Does anyone have any insight at all? I?ve exhausted myself over this. > It used to work! It works in the IDE! I have a deadline! > > I need a clue. *sob* It made me panic just to read your message. Maybe something is aborting the script? I had that once where it never showed up in the IDE, only in the app. If you haven't done it yet, one quick way to find out is to set the standalone settings in the Bug Reports pane to save errors to a file. If there's an execution error it will show up there. Or you can add this to your stack script: on errorDialog pErr answer pErr end errorDialog Instead of "answer" you can have it log to a text file on the desktop, or put the error into your logging stack. That might give some info. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Apr 17 01:48:26 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 17 Apr 2012 01:48:26 -0400 Subject: iOS apps not installing on device Message-ID: <005a01cd1c5d$b5c7f850$2157e8f0$@net> I am getting this error when syncing iTunes to my iPad. The app "MyApp" was not installed in the iPad "Evergreens iPad" because an unknown error occurred (0xE8000007) I just made some small changes in the code and this error started. I synced the same app built yesterday from the same stack and it installed perfect. What is this error? Any ideas? Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From richmondmathewson at gmail.com Tue Apr 17 02:10:04 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Apr 2012 09:10:04 +0300 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Message-ID: <4F8D093C.6070709@gmail.com> On 17/04/12 00:37, Bob Sneidar wrote: > Everyone by now has heard about the App Store. Apple even has gone so far as to deploy Lion this way, and appears poised to provide ALL Apple produced software this way... AND NO OTHER. So what's the big deal right? Seems pretty convenient! > > Well the Devil is in the details. First, each App Store account can only purchase Lion once. You cannot then take that App Store account to another computer and use it to purchase another copy of Lion! For most people, this is a non-issue, but for a corporation with LOTS of Macs deployed, this is a cold slap in the face! Now we have to make up an account for each computer, and then keep track of which account is used by which computer so we can use it for purchases just for that Mac in the future! That is just UGLY! > > Now they DO have a volume licensing deal, where you can buy 20 licenses minimum, and then make a DVD installer to deploy it, or create a custom image and go that route (not good for upgrades though). So you faithfully buy the 20 licenses. Oh but whoops! You forgot about the 5 other guys at another campus! No problem, you will just buy 5 more, right? After all, you already purchased the 20 minimum. NO SIR!!! You must buy ANOTHER 20! > > You would think that Apple would just say, "Oh sorry our bad! Here you can now create a corporate app store account and use it as many times as you need to! Thanks a bunch for the business!" But instead they are pushing out inadequate hacks, and then telling their business customers that this is t he way it is, and deal with it. To their credit, the price of Lion is dramatically cheaper, so maybe that is much ado about nothing. Still, Apple users have never been about the price of the product, but the ease and convenience. > > The Apple of the past has always had a great reputation for thinking things through pretty thoroughly. Not anymore though. Whatever you may think about Steve Jobs; one should always remember that when the 'guru' dies, the nature of the organisation changes; rarely for the better in my experience. > We used to keep our corporate credit card on file at the Apple store, so whenever we wanted to buy something, they would just run it. Apple Corporate has put the kibosh on that, forcing businesses to apply for terms, and they want to see you financials first. Our accounting department says no way, so no net 30 account for us! The upshot is we will have to go elsewhere from now on to purchase our Apple products, and what is the position of Apple Corporate, the regional manager, the store manager and the business manager at the local store? "Oh, well." > > We used to be one of their top customers ever. Now we are no customer, and no one at Apple is even flinching. When I see this sort of thing happening to a company, I envision a large lake frozen over, but large cracks forming under the surface. And this from a lifelong Apple diehard! It is my impression that there are people at Apple who have wanted to implement their lame ways of doing things for a long time, and now that Steve is gone, they see the opportunity to prove what smart guys they are! Instead they are making a bunch of really bad choices. In a few years time there may not be a big distinction operationally between Apple and an unwieldy behemoth corporation like AT&T. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Tue Apr 17 02:18:13 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Apr 2012 23:18:13 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <4F8D093C.6070709@gmail.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <4F8D093C.6070709@gmail.com> Message-ID: Maybe Steve should have trained and left his wife in charge.... On 16 April 2012 23:10, Richmond wrote: > > Whatever you may think about Steve Jobs; one should always remember that > when the 'guru' dies, > the nature of the organisation changes; rarely for the better in my > experience. > > > Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Tue Apr 17 02:38:18 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Apr 2012 23:38:18 -0700 Subject: OK... what am I missing? In-Reply-To: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> Message-ID: <1055948046.20120416233818@ahsoftware.net> Tereza- Monday, April 16, 2012, 8:48:53 PM, you wrote: > Does anyone have any insight at all? I?ve exhausted myself over > this. It used to work! It works in the IDE! I have a deadline! Two ideas: 1. the datagrid library is a system stack, and so if it throws errors the IDE won't catch them (or more precisely it catches them and decides not to handle them). One way around this is to set the system global gRevDevelopment to true. That way any errors thrown in the datagrid stack will hopefully come to light. I previously found that a setup error was propagating down to the datagrid library, which caught the problem and threw an error, but it bubbled up and was ignored by the IDE. 2. You already have PowerDebug, and it can debug standalone apps. Add the standalone debugger library as a substack to your standalone, and add the handler on startup start using stack "libRemoteDebug" end startup Then build the standalone, keep the IDE running, and launch the standalone. Any runtime errors in the standalone will be caught by PowerDebug running in the IDE. You can set breakpoints in your code and then step through them in the standalone using PowerDebug. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Apr 17 02:43:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Apr 2012 23:43:53 -0700 Subject: OK... what am I missing? In-Reply-To: <1055948046.20120416233818@ahsoftware.net> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> <1055948046.20120416233818@ahsoftware.net> Message-ID: <9156282984.20120416234353@ahsoftware.net> > Tereza- ... getting late here... correcting myself... on startup insert the script of stack "libRemoteDebug" into front end startup -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Tue Apr 17 07:32:31 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Apr 2012 21:32:31 +1000 Subject: [ANN] MapKit and action sheet externals added to mergExt Message-ID: <5CBA19C9-FD4D-4B3B-9E75-2B8EEF750CCB@sweattechnologies.com> Hi LiveCoders The mergExt suite of externals has grown again! The mergExt poll results continue to identify MapKit as a very high prority for the LiveCode community and now mergMK delivers beautiful maps with very easy to use commands. Action sheets are such a critical user interaction method that you will wonder what you ever did without the handy mergPop. mergPop is an iOS external that adds functions to present an action sheet (popover on iPad) and contextual menu for user interaction. mergMK is a LiveCode MapKit external that adds a map control which supports showing user location with heading, adding annotation pins (including draggable pins) and drawing polyline overlays mergAV also has a new function to extract a thumbnail image from a video. The suite now includes 10 externals and is stunning value at $199 including a year of updates. By coming up with the name mergPop forum member arkstar won 3 months of free access to mergExt. Please contact me off list arkstar. Don't forget to vote for what you want next! Regards, Monte Goulding -- M E R Goulding Software development services From ambassador at fourthworld.com Tue Apr 17 09:32:25 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2012 06:32:25 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> Message-ID: <4F8D70E9.4030702@fourthworld.com> I suspect Apple will undergo significant changes to some of these policies for their app stores. In addition to the onerous situation you described, consider the many opportunities for small and medium organizations to put their iOS devices to use solving problems specific to their business, like inventory tools, point-of-sale apps, etc. - the type of stuff we LiveCoders have been making on the desktop for such orgs for decades, now potentially even more useful with mobile counterparts. With Apple's current policies, it's so difficult to deploy custom apps specific to a business that it's prohibitive for many of them. But with Android, you just turn off the developer lock and copy the APK file. A majority of people in the US work in small businesses. This is too big a market for Apple to continue to insist that those orgs use Android whenever they need cost-effective deployment of custom apps. Given the size of this audience and the current competitive state of things, I'll go out on a limb to predict that Apple's iOS will become as easy to deploy custom apps to as Android by this time next year. If not, they'll lose out on a million opportunities coming up in the months ahead as tools like LiveCode make it possible for even small businesses to afford this sort of custom development. Bob Sneidar wrote: > Everyone by now has heard about the App Store. Apple even has gone so far as to deploy Lion this way, and appears poised to provide ALL Apple produced software this way... AND NO OTHER. So what's the big deal right? Seems pretty convenient! > > Well the Devil is in the details. First, each App Store account can only purchase Lion once. You cannot then take that App Store account to another computer and use it to purchase another copy of Lion! For most people, this is a non-issue, but for a corporation with LOTS of Macs deployed, this is a cold slap in the face! Now we have to make up an account for each computer, and then keep track of which account is used by which computer so we can use it for purchases just for that Mac in the future! That is just UGLY! > > Now they DO have a volume licensing deal, where you can buy 20 licenses minimum, and then make a DVD installer to deploy it, or create a custom image and go that route (not good for upgrades though). So you faithfully buy the 20 licenses. Oh but whoops! You forgot about the 5 other guys at another campus! No problem, you will just buy 5 more, right? After all, you already purchased the 20 minimum. NO SIR!!! You must buy ANOTHER 20! > > You would think that Apple would just say, "Oh sorry our bad! Here you can now create a corporate app store account and use it as many times as you need to! Thanks a bunch for the business!" But instead they are pushing out inadequate hacks, and then telling their business customers that this is t he way it is, and deal with it. To their credit, the price of Lion is dramatically cheaper, so maybe that is much ado about nothing. Still, Apple users have never been about the price of the product, but the ease and convenience. > > The Apple of the past has always had a great reputation for thinking things through pretty thoroughly. Not anymore though. We used to keep our corporate credit card on file at the Apple store, so whenever we wanted to buy something, they would just run it. Apple Corporate has put the kibosh on that, forcing businesses to apply for terms, and they want to see you financials first. Our accounting department says no way, so no net 30 account for us! The upshot is we will have to go elsewhere from now on to purchase our Apple products, and what is the position of Apple Corporate, the regional manager, the store manager and the business manager at the local store? "Oh, well." > > We used to be one of their top customers ever. Now we are no customer, and no one at Apple is even flinching. When I see this sort of thing happening to a company, I envision a large lake frozen over, but large cracks forming under the surface. And this from a lifelong Apple diehard! It is my impression that there are people at Apple who have wanted to implement their lame ways of doing things for a long time, and now that Steve is gone, they see the opportunity to prove what smart guys they are! Instead they are making a bunch of really bad choices. In a few years time there may not be a big distinction operationally between Apple and an unwieldy behemoth corporation like AT&T. > > Bob -- 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 artdivito at sbcglobal.net Tue Apr 17 10:05:32 2012 From: artdivito at sbcglobal.net (Art DiVito) Date: Tue, 17 Apr 2012 07:05:32 -0700 (PDT) Subject: Nice views from the city Message-ID: <1334671532.22615.YahooMailClassic@web184409.mail.bf1.yahoo.com> The truth is, ... Chicago is the most beautiful city in the world. Thanks to Louie Sullivan et al, a gorgeous blue fresh water lakes reflects one of the finest skylines on earth, with only parks are recreation in between. But, ... I can tell you this, ... there is not a LiveCode aficionado within half a country of the place. So, some of you could move here, enjoy the scenery, and instantly become heroes! ... Go Bulls! From coiin at verizon.net Tue Apr 17 10:09:39 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Apr 2012 10:09:39 -0400 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <4F8D70E9.4030702@fourthworld.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <4F8D70E9.4030702@fourthworld.com> Message-ID: For the iOS situation to be limiting you would need to be talking about an app that was needed by over 100 people in the company. Even medium sized companies rarely have 100 people who have to run a particular in-house app. If you wanted many hundreds, you only need another one or two more developer licenses. Using either BetaBuilder, or Jacque's thing, it's easier to install on iOS than Android. With iOS you have to touch the screen three times - once in the email you received, once in the web page you're taken to, and once more in the dialog that asks if you want to install the app. On Android you can touch the APK link in the email message, but then you have to wait for it to download, touch the icon that takes you to download, touch the install button, and touch the permissions button. That's assuming you've followed the instructions you were given on how to set the developer mode to be on. On Apr 17, 2012, at 9:32 AM, Richard Gaskin wrote: > >With Apple's current policies, it's so difficult to deploy custom apps specific to a business that it's prohibitive for many of them. From tereza at califex.com Tue Apr 17 10:16:02 2012 From: tereza at califex.com (Tereza Snyder) Date: Tue, 17 Apr 2012 09:16:02 -0500 Subject: OK... what am I missing? In-Reply-To: <9156282984.20120416234353@ahsoftware.net> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> <1055948046.20120416233818@ahsoftware.net> <9156282984.20120416234353@ahsoftware.net> Message-ID: <5A90198B-B185-4577-91FC-A47973ECB71F@califex.com> Jacque wrote: > If you haven't done it yet, one quick way to find out is to set the standalone settings in the Bug Reports pane to save errors to a file. If there's an execution error it will show up there. I have try-catches everywhere; I have errors written to stdout; I have my own debugging frontscript that writes to a separate stack; I have output from before and after the failed call. I put log statements in the datagrid library but they don?t 'fire'. I put my initials at the top of the datagrid behavior script and then used: log line 1 to 10 of (the behavior of grp "Modules" of me) to assure myself it was the correct script. And it was. Mark Weider wrote: > One way around this is to set the system > global gRevDevelopment to true. That way any errors thrown in the > datagrid stack will hopefully come to light. No errors. > Any runtime errors in the standalone will be caught by > PowerDebug running in the IDE. You can set breakpoints in your code > and then step through them in the standalone using PowerDebug. It must be another clue that, even though PowerDebug is running in the IDE, and opens on breakpoints when I run my code in the IDE, it isn?t invoked in the .app, probably because there is no error thrown and breakpoints are ignored. A call to MySubnet() in PowerDebug yeilds "10.0.1.", so I know it?s there. Is there a PowerDebug 'break' I can issue to invoke it in the standalone? t On Apr 17, 2012, at 1:43 AM, Mark Wieder wrote: >> Tereza- > > ... getting late here... correcting myself... > > on startup > insert the script of stack "libRemoteDebug" into front > end startup > > -- > -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 mazzapaoloitaly at gmail.com Tue Apr 17 10:19:50 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 17 Apr 2012 16:19:50 +0200 Subject: Falling at the last fence... In-Reply-To: References: Message-ID: Hello All, at the end I was able to upload my application to the app store. First I had to clear up the Key Chain, but still I was getting an error from the Application Loader. I was receiving the following message: "An error occurred uploading to the iTunes Store" Thank's Google I came up to this page: http://stackoverflow.com/questions/5783481/an-error-occurred-uploading-to-the-itunes-store/10021537#10021537 I installed the JavaOSX update and this fixed the problem. Alll the best Paolo From klaus at major.on-rev.com Tue Apr 17 10:57:22 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 16:57:22 +0200 Subject: select all rows in DG table via script? Message-ID: Hi friends, the subject says it all, how can I select all rows in a TABLE DataGrid via script? I want to implement a "Select all" menu item, but did not find a hint in the DG docs. Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Apr 17 11:14:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Apr 2012 08:14:18 -0700 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <314F22D7-62B2-477E-B136-42B1CFF66108@gmail.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <314F22D7-62B2-477E-B136-42B1CFF66108@gmail.com> Message-ID: <93AD31F5-6A2C-441D-9271-99AAC8D5E3FE@twft.com> I was misinformed. You can do more than one, but I don't think more than 5. We have 70 at least. Bob On Apr 16, 2012, at 6:39 PM, J. Downs wrote: > I use the same Apple ID on all my Lion Macs, and download software I've purchased to as many as I like. Is there some plan to change this in Mountain Lion? > > J. From bobs at twft.com Tue Apr 17 11:16:49 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Apr 2012 08:16:49 -0700 Subject: OK... what am I missing? In-Reply-To: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> Message-ID: <8201540C-05BB-4BF0-BC44-D37606E44E83@twft.com> Why group "Modules" of me? Why not just group "Modules"? Bob On Apr 16, 2012, at 8:48 PM, Tereza Snyder wrote: > I am at my wit?s end. Suddenly, my datagrid stopped working in my standalone. At first, I laughed, "Oh ho, I must have neglected to load the revdatagrid library! It?ll be fixed in a jiffy!" > > But no. > > "The lockmessages must be true!" > > no. > > "The data array must be empty!" > > no. > > ... > > Many, many hours later, it still fails. I have attached my debugging log stack to the standalone and added output statements in every step. I have ascertained?for sure?that IN THE STANDALONE: > > - the datagrid library is in memory, > - the datagrid library behavior button exists, > - my datagrid group?s behavior is properly set, > - the template stack is in memory, > - the data array to be sent to the datagrid is correct, > - the lockmessages is false, > > but when the statement: > > set the dgData of grp "Modules" of me to gModinfoA > > is encountered, the 'setprop dgData' in the revdatgrid library IS NOT EXECUTED, and my next statement: > > dispatch "SortDataByKey" to grp "Modules" of me with "title", "international","ascending", false > > is UNHANDLED. > > Does anyone have any insight at all? I?ve exhausted myself over this. It used to work! It works in the IDE! I have a deadline! > > I need a clue. *sob* > > t > > > > > -- > Tereza Snyder > Califex Software, Inc. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 17 11:34:52 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Apr 2012 10:34:52 -0500 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <4F8D70E9.4030702@fourthworld.com> Message-ID: <4F8D8D9C.4040302@hyperactivesw.com> On 4/17/12 9:09 AM, Colin Holgate wrote: > Using either BetaBuilder, or Jacque's thing, it's easier to install > on iOS than Android. With iOS you have to touch the screen three > times - once in the email you received, once in the web page you're > taken to, and once more in the dialog that asks if you want to > install the app. On Android you can touch the APK link in the email > message, but then you have to wait for it to download, touch the icon > that takes you to download, touch the install button, and touch the > permissions button. That's assuming you've followed the instructions > you were given on how to set the developer mode to be on. Well, you have to wait for the iOS app to download too. And if you use Dropbox or a server, Android has about the same number of clicks to install, but that's really an insignificant benchmark. The real difficulty is in setting up to deploy in the first place. It took me days to get through Apple's convoluted provisioning process, which is difficult, unweildy, and costs money. It took me a couple of minutes to create an Android key and deploy. Tech support on AirLaunch is heavier than any other tool I've released -- and almost none of the questions are about AirLaunch itself. Most are related to difficulties with Apple's provisioning process and the idiosyncracies of the developer portal. Apple doesn't make it easy. The tradeoff, of course, is that it's easier to distribute malware on Android. I appreciate the effort Apple has gone to in order to reduce that, though it hasn't been entirely successful. But I think they could make the deployment process easier than it is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Tue Apr 17 11:35:48 2012 From: tereza at califex.com (Tereza Snyder) Date: Tue, 17 Apr 2012 10:35:48 -0500 Subject: OK... what am I missing? In-Reply-To: <8201540C-05BB-4BF0-BC44-D37606E44E83@twft.com> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> <8201540C-05BB-4BF0-BC44-D37606E44E83@twft.com> Message-ID: <1C9E91C6-DBD6-4705-A783-C0FF53FB3A0B@califex.com> Because I never assume the default stack to be what I need it to be. I require that any scripts that address objects use "of me" or "of the target" or "of stack?" or "of card...". But I did try removing the "of me" just in case that was throwing execution off somehow. Made no difference. Still the same bug. I also tried: set the dgData of grp id 100567 to gModinfoA to no avail. t On Apr 17, 2012, at 10:16 AM, Bob Sneidar wrote: > Why group "Modules" of me? Why not just group "Modules"? > > Bob > > > On Apr 16, 2012, at 8:48 PM, Tereza Snyder wrote: > >> I am at my wit?s end. Suddenly, my datagrid stopped working in my standalone. At first, I laughed, "Oh ho, I must have neglected to load the revdatagrid library! It?ll be fixed in a jiffy!" >> >> But no. >> >> "The lockmessages must be true!" >> >> no. >> >> "The data array must be empty!" >> >> no. >> >> ... >> >> Many, many hours later, it still fails. I have attached my debugging log stack to the standalone and added output statements in every step. I have ascertained?for sure?that IN THE STANDALONE: >> >> - the datagrid library is in memory, >> - the datagrid library behavior button exists, >> - my datagrid group?s behavior is properly set, >> - the template stack is in memory, >> - the data array to be sent to the datagrid is correct, >> - the lockmessages is false, >> >> but when the statement: >> >> set the dgData of grp "Modules" of me to gModinfoA >> >> is encountered, the 'setprop dgData' in the revdatgrid library IS NOT EXECUTED, and my next statement: >> >> dispatch "SortDataByKey" to grp "Modules" of me with "title", "international","ascending", false >> >> is UNHANDLED. >> >> Does anyone have any insight at all? I?ve exhausted myself over this. It used to work! It works in the IDE! I have a deadline! >> >> I need a clue. *sob* >> >> t >> >> >> >> >> -- >> Tereza Snyder >> Califex Software, 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 coiin at verizon.net Tue Apr 17 11:47:03 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Apr 2012 11:47:03 -0400 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <4F8D8D9C.4040302@hyperactivesw.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <4F8D70E9.4030702@fourthworld.com> <4F8D8D9C.4040302@hyperactivesw.com> Message-ID: <90EDB949-323B-4BA1-92FD-BF87603406F1@verizon.net> You have to wait for it to download before you can use it, but you don't have to wait for it to download if you're just installing it. With Android the download stage is ahead of the installing stage. The Android download, accept permissions, install stages, are the equivalent of the single touch you do with BetaBuilder. I'm not sure how it is with AirLaunch. I just went through a support ticket case where the Android APK would refuse to be made, so there can be difficulties with Android too. In any case, it was mainly the distribution side of things that I was arguing about, I'm assuming you wouldn't distribute an app that you hadn't been able to test yourself. AirLaunch does have the advantage of coping with .app files, with BetaBuilder I send the .app through iTunes in order to make an .ipa. On Apr 17, 2012, at 11:34 AM, J. Landman Gay wrote: > > >Well, you have to wait for the iOS app to download too. From pete at lcsql.com Tue Apr 17 12:40:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 17 Apr 2012 09:40:25 -0700 Subject: Fwd: Re: select all rows in DG table via script? In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: "Peter Haworth" Date: Apr 17, 2012 9:34 AM Subject: Re: select all rows in DG table via script? To: "How to use LiveCode" There has to be a better way but you could set the dghilitedlines to a comma separated list of every line number from 1 to the dgnumberofrecords. From klaus at major.on-rev.com Tue Apr 17 13:00:40 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 19:00:40 +0200 Subject: select all rows in DG table via script? In-Reply-To: References: Message-ID: <661F8BC5-D189-42CB-856E-1E6277CB4FE8@major.on-rev.com> Hi Peter, Am 17.04.2012 um 18:40 schrieb Peter Haworth: > There has to be a better way but you could set the dghilitedlines to a > comma separated list of every line number from 1 to the dgnumberofrecords. yeah, works great, thanks a lot! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Tue Apr 17 13:08:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Apr 2012 20:08:16 +0300 Subject: [OT] Missed a chance. Message-ID: <4F8DA380.1030203@gmail.com> Why do I feel that RunRev's "odd" behaviour with RevMedia has meant that they may have missed an important chance? http://www.bbc.com/news/technology-17740143 From bobs at twft.com Tue Apr 17 13:12:25 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Apr 2012 10:12:25 -0700 Subject: select all rows in DG table via script? In-Reply-To: References: Message-ID: <5736793C-E599-4302-8F54-0A61ADA7AF5C@twft.com> It's about this time I begin to ask myself, "Am I going about this the right way?" For my part, just having a user click on a record and hilite it doesn't seem like it's enough. I have an edit mode and a browse mode, and in browse mode a user can still select a row in a datagrid, even though it doesn't mean anything in that mode. I could disable the datagrid in browse mode, but that seems visually wrong too. What I did to solve this is I made a group of checkboxes the exact number of rows of my datagrid, and then wrote scripts to check and uncheck them based on a hidden column in the datagrid data. The checkboxes are not a part of the datagrid, although interacting with them does set the value of the hidden checked column in the associated row of the datagrid data. I hide this in browse mode and show it in edit mode. I can send you the scripts I use to control them if you like. Bob On Apr 17, 2012, at 9:40 AM, Peter Haworth wrote: > ---------- Forwarded message ---------- > From: "Peter Haworth" > Date: Apr 17, 2012 9:34 AM > Subject: Re: select all rows in DG table via script? > To: "How to use LiveCode" > > There has to be a better way but you could set the dghilitedlines to a > comma separated list of every line number from 1 to the dgnumberofrecords. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Tue Apr 17 13:23:13 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 17 Apr 2012 19:23:13 +0200 Subject: iOS apps not installing on device In-Reply-To: <005a01cd1c5d$b5c7f850$2157e8f0$@net> References: <005a01cd1c5d$b5c7f850$2157e8f0$@net> Message-ID: Ralph, What works for me when the problem occurs (: - Go to the iPad preference pane - Select the General Tab - Select Profile - Remove the Provisioning profiles available there - Connect your iPad to your mac via usb - Launch XCode - Go to the Organizer window - From the iPad device main tab (followed by a green bullet), click on the arrow witch follows the "Provisioning" item to enroll your iPad again with the provisioning profile you dedicated to your iPad Best, Pierre Le 17 avr. 2012 ? 07:48, Ralph DiMola a ?crit : > I am getting this error when syncing iTunes to my iPad. > > > > > > The app "MyApp" was not installed in the iPad > > "Evergreens iPad" because an unknown error occurred > > (0xE8000007) > > > > I just made some small changes in the code and this error started. > > I synced the same app built yesterday from the same stack and it installed > perfect. > > What is this error? > > > > Any ideas? > > > > Thanks > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From coiin at verizon.net Tue Apr 17 13:28:59 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Apr 2012 13:28:59 -0400 Subject: iOS apps not installing on device In-Reply-To: References: <005a01cd1c5d$b5c7f850$2157e8f0$@net> Message-ID: Incidentally, if you can get through those steps, including seeing the iPad in the Organizer window, then there's no need to involve iTunes at all. Just drag the .app file on to your device in the Organizer window's device list, it will install without requiring a sync. From klaus at major.on-rev.com Tue Apr 17 13:33:04 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 19:33:04 +0200 Subject: select all rows in DG table via script? In-Reply-To: <5736793C-E599-4302-8F54-0A61ADA7AF5C@twft.com> References: <5736793C-E599-4302-8F54-0A61ADA7AF5C@twft.com> Message-ID: Hi Bob, Am 17.04.2012 um 19:12 schrieb Bob Sneidar: > It's about this time I begin to ask myself, "Am I going about this the right way?" For my part, just having a user click on a record and hilite it doesn't seem like it's enough. I have an edit mode and a browse mode, and in browse mode a user can still select a row in a datagrid, even though it doesn't mean anything in that mode. I could disable the datagrid in browse mode, but that seems visually wrong too. > > What I did to solve this is I made a group of checkboxes the exact number of rows of my datagrid, and then wrote scripts to check and uncheck them based on a hidden column in the datagrid data. The checkboxes are not a part of the datagrid, although interacting with them does set the value of the hidden checked column in the associated row of the datagrid data. I hide this in browse mode and show it in edit mode. > > I can send you the scripts I use to control them if you like. thanks, but Peters solutions works just great :-) > Bob > > > On Apr 17, 2012, at 9:40 AM, Peter Haworth wrote: > >> ---------- Forwarded message ---------- >> From: "Peter Haworth" >> Date: Apr 17, 2012 9:34 AM >> Subject: Re: select all rows in DG table via script? >> To: "How to use LiveCode" >> >> There has to be a better way but you could set the dghilitedlines to a >> comma separated list of every line number from 1 to the dgnumberofrecords. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From zryip.theslug at gmail.com Tue Apr 17 13:41:08 2012 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 17 Apr 2012 19:41:08 +0200 Subject: select all rows in DG table via script? In-Reply-To: References: Message-ID: Hi Klaus, Another solution is to send a SelectAll command to the datagrid group: dispatch "SelectAll" to grp "myDatagrid" Have also a look in your copy of DGH. The script installer has a button named "Select All" with an example using this command. On Tue, Apr 17, 2012 at 4:57 PM, Klaus on-rev wrote: > Hi friends, > > the subject says it all, how can I select all rows in a TABLE DataGrid via script? > I want to implement a "Select all" menu item, but did not find a hint in the DG docs. > > Thanks in advance! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From revdev at pdslabs.net Tue Apr 17 13:46:42 2012 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 17 Apr 2012 10:46:42 -0700 Subject: OK... what am I missing? In-Reply-To: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> References: <7A7A8FF7-6605-4C7B-909F-EC8D8E6D2DD2@califex.com> Message-ID: <4F8DAC82.2050400@pdslabs.net> I had a similar problem a few weeks ago. The problem: my standalone app is a 'splash' style app and didn't have a DG substack of its own. I added a DG to the standalone app stack, made it small, hid it and never use it. Now when I make it into a standalone, the Standalone Builder finds the unused DG and includes the needed support for DGs. Result: The DGs in all parts of my app now work fine. Phil On 4/16/12 8:48 PM, Tereza Snyder wrote: > I am at my wit?s end. Suddenly, my datagrid stopped working in my standalone. At first, I laughed, "Oh ho, I must have neglected to load the revdatagrid library! It?ll be fixed in a jiffy!" > > But no. > > "The lockmessages must be true!" > > no. > > "The data array must be empty!" > > no. > > ... > > Many, many hours later, it still fails. I have attached my debugging log stack to the standalone and added output statements in every step. I have ascertained?for sure?that IN THE STANDALONE: > > - the datagrid library is in memory, > - the datagrid library behavior button exists, > - my datagrid group?s behavior is properly set, > - the template stack is in memory, > - the data array to be sent to the datagrid is correct, > - the lockmessages is false, > > but when the statement: > > set the dgData of grp "Modules" of me to gModinfoA > > is encountered, the 'setprop dgData' in the revdatgrid library IS NOT EXECUTED, and my next statement: > > dispatch "SortDataByKey" to grp "Modules" of me with "title", "international","ascending", false > > is UNHANDLED. > > Does anyone have any insight at all? I?ve exhausted myself over this. It used to work! It works in the IDE! I have a deadline! > > I need a clue. *sob* > > t > > > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From klaus at major.on-rev.com Tue Apr 17 13:52:39 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 19:52:39 +0200 Subject: select all rows in DG table via script? In-Reply-To: References: Message-ID: <199BD514-B605-4811-B122-2799672095EB@major.on-rev.com> Hi Zryip, Am 17.04.2012 um 19:41 schrieb zryip theSlug: > Hi Klaus, > > Another solution is to send a SelectAll command to the datagrid group: > dispatch "SelectAll" to grp "myDatagrid" well, this sounds like a good idea :-D Thanks! > Have also a look in your copy of DGH. The script installer has a > button named "Select All" with an example using this command. Ah, sorry, did not find the time to dig a bit deeper into that great utility... :-/ > On Tue, Apr 17, 2012 at 4:57 PM, Klaus on-rev wrote: >> Hi friends, >> >> the subject says it all, how can I select all rows in a TABLE DataGrid via script? >> I want to implement a "Select all" menu item, but did not find a hint in the DG docs. >> >> Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From livfoss at mac.com Tue Apr 17 14:17:07 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 17 Apr 2012 20:17:07 +0200 Subject: Help understanding iOS deployment Message-ID: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> I haven't put 'OT' on the subject because I think this should be on topic for any LC developer planning to deploy on iOS. I have been confused by the current discussion started by Bob Sneidar {"How to take a fairly good concept and jack it up badly"). I don't want to comment on Apple's policies (I'm too ignorant) but I do want to understand clearly how to deal with the following scenario. At the moment I am drowning in Apple documentation and Apple terminology - provisioning, certificates, profiles, requests, Team Agents (am I one?), etc. I have come to a grinding halt because what the Apple documentation says I should be seeing, I'm not seeing. Anyway, suppose: 1. I develop an iOS app for a friend who had the business idea. I'm OK with this bit. 2. I reach the beta test stage and I want my friend to see the app. He is literally on the other side of the world. Can I send him a copy at this stage for him to load into his iPhone? I think I can if I have something called an iOS Distribution Certificate. My research with Apple shows that this is non-trivial as it means a request and presumably a response - and the docs I've see lead to references to Leopard, but I'm on Lion, and indeed although I can generate a request, I don't seem to be able to generate a recognisable Certificate, nor do any of my keys look as if they belong with any certificate. Does anyone know what to do, and if there are any gotchas? 3. Suppose we iterate to the point where we believe the app is useful: the next thing is to distribute it to a few people in the profession my friend is in, so that the rough edges can be knocked off. Presumably this is just an extension of (2) but I have to register (do I?) the serial numbers or whatever of the new devices. 4. Suppose we all think the thing is great but that it will never be the killer app, and indeed not more than 100 people will want to buy it (I use the number 100 because I think this is the ad hoc limit). Is it possible to get it out to up to 100 people without registering each and every device - and if not, do I have to maintain the list of devices? I realise that I will probably have to slog through the Apple Provisioning Portal and the Apple Developer Forums to understand all this, but I could sure use a short cut - that is, if anyone has time to explain. Hopefully Graham From zryip.theslug at gmail.com Tue Apr 17 14:22:45 2012 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 17 Apr 2012 20:22:45 +0200 Subject: Major Datagrid Issues In-Reply-To: References: Message-ID: Hi Pete, Sorry for the delay in the answer, I've just read your post. Have you tried to send a ResetControl command to the datagrid, before to change the dgNumberOfRecords property? Example: command PopulateMyDataGrid doMySQLStuff send "ResetControl" to grp "myDataGrid" set the dgNumberOfRecords of grp "myDataGrid" to tNumberOfRecords end PopulateMyDataGrid On Sat, Apr 14, 2012 at 3:57 AM, Peter Haworth wrote: > I am running into some pretty major issues using the datagrid's > dgNUmberOfRecords/GetDataForLine functionality. > > First issue. > > I load data into the datagrid by setting the dgNumberOfRecords - > GetDataForLine is called correctly, all looks fine. ?Now I go through a > filtering process and set the dgNUmberOfRecords again, let's say it ends up > at 2. ?GetDataForLine gets called twice and I see that I load the correct > data into pDataA. ?The datagrid now correctly shows two lines but they have > the data from the first two lines of the original display, not the selected > lines. ?Bad news. > > Second Issue. > > This one seems to happen when the total number of rows in the datagrid is > an exact multiple of the visible rows in the datagrid. ?For example, let's > say there are 50 records presented to the datagrid and it has 10 visible > lines. ?No problem with the initial display of the data. ?Now I want to add > a row of data to the end of the datagrid. ?I set the dgNumberOfRecords to > the new row count but the datagrid still shows the original last row at the > end of the datagrid and I cannot scroll down any further. ?I try scroliing > up and down, no joy. ?Bad News. > > > Trevor or zryip, or anyone else - any ideas? Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From jacque at hyperactivesw.com Tue Apr 17 14:26:59 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Apr 2012 13:26:59 -0500 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <90EDB949-323B-4BA1-92FD-BF87603406F1@verizon.net> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <4F8D70E9.4030702@fourthworld.com> <4F8D8D9C.4040302@hyperactivesw.com> <90EDB949-323B-4BA1-92FD-BF87603406F1@verizon.net> Message-ID: <4F8DB5F3.4010705@hyperactivesw.com> On 4/17/12 10:47 AM, Colin Holgate wrote: > You have to wait for it to download before you can use it, but you > don't have to wait for it to download if you're just installing it. > With Android the download stage is ahead of the installing stage. The > Android download, accept permissions, install stages, are the > equivalent of the single touch you do with BetaBuilder. I'm not sure > how it is with AirLaunch. AirLaunch and BetaBuilder are similar in that they prepare files for OTA installation, but BetaBuilder has more manual steps and requires separate apps to build the .ipa and upload to a server. AirLaunch does all that by itself and is integrated with LiveCode. The differences between Android and iOS installations seem pretty minor to me though. The extra click to accept permissions isn't much of an inconvenience, and has the advantage of allowing you to abort the installation if you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Apr 17 14:40:24 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Apr 2012 14:40:24 -0400 Subject: Help understanding iOS deployment In-Reply-To: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> References: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> Message-ID: <567E6DED-55ED-41E3-9205-92329080DD5C@verizon.net> The LiveCode Lessons pages include some walkthroughs that show you the things you need to know. Here's the one on getting a distribution certificate: http://lessons.runrev.com/s/lessons/m/4069/l/32957-how-do-i-create-a-distribution-profile-for-ios For everything you described though, you can get by with a Developer certificate and provisioning profiles. In order to get your app working on your own devices you will need to have entered the device IDs into your account, and selected those devices when making the provisioning file. The iOS Portal has a How To tab, that also steps you through the different stages. Go here, and log in when asked: https://developer.apple.com/ios/manage/provisioningprofiles/index.action If you did have 100 people who wanted the app you would need to enter all of those devices into your account in order for it to work for them. And then the provisioning file will time out after a few months. From jacque at hyperactivesw.com Tue Apr 17 14:48:54 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Apr 2012 13:48:54 -0500 Subject: Help understanding iOS deployment In-Reply-To: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> References: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> Message-ID: <4F8DBB16.7060209@hyperactivesw.com> On 4/17/12 1:17 PM, Graham Samuel wrote: > At the > moment I am drowning in Apple documentation and Apple terminology - > provisioning, certificates, profiles, requests, Team Agents (am I > one?), etc. I have come to a grinding halt because what the Apple > documentation says I should be seeing, I'm not seeing. We've all been there. It isn't easy. I keep thinking there has to be a better way. > 2. I reach the beta test stage and I want my friend to see the app. > He is literally on the other side of the world. Can I send him a copy > at this stage for him to load into his iPhone? I think I can if I > have something called an iOS Distribution Certificate. Distribution certificates are only for commercial release in the App Store. For testing you want a development certificate. These expire in a year but are renewable. You create one from the Development tab in the portal. Create a provisioning profile there and the portal will automatically create a "team provisioning profile" at the same time. Use the team one for your test apps, as that's the one that lets you add devices. You need to enter the device UDID into the Devices section on the web site. You can enter up to 100 devices per year. It's easiest to record the IDs first and then create the profiles. But if you made the profiles and later need to add more devices, add them to the web site and then go to XCode, and "Refresh" the profile. That will add the new devices to the profile on your hard drive. > > 3. Suppose we iterate to the point where we believe the app is > useful: the next thing is to distribute it to a few people in the > profession my friend is in, so that the rough edges can be knocked > off. Presumably this is just an extension of (2) but I have to > register (do I?) the serial numbers or whatever of the new devices. Right. Every testing device has to be entered in the portal. Then you either make new development provisioning profiles (which will include their devices) or you can refresh your existing profile via XCode. Once the profile has been updated to include the new devices, rebuild the standalone with the new profile. > > 4. Suppose we all think the thing is great but that it will never be > the killer app, and indeed not more than 100 people will want to buy > it (I use the number 100 because I think this is the ad hoc limit). > Is it possible to get it out to up to 100 people without registering > each and every device - and if not, do I have to maintain the list of > devices? If you want to continue to use the test profile, then you need to enter each device into the portal. Apple will keep the list, it's always visible there. If you want to distribute freely without entering IDs then I think you need to use the Enterprise distribution method. That costs money but frees you from the necessity of entering all those device IDs. I think you can distribute up to 500 devices but there are restrictions on who can use the app. I'm not familiar enough with the Enterprise program to know much about how it works though, so I'm afraid you'd have to read up on that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major.on-rev.com Tue Apr 17 14:54:51 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 20:54:51 +0200 Subject: trapping something like "resizestack finished" on Windows? :-) Message-ID: Hi friends, I have some scripts that I need to execute AFTER the user has finished resizing my stack. On the Mac I can set "the liveresizing" of my stack to false and simply execute my scripts at the end of my "resizestack" handler. But this does not work on windows, where "liveresizing" is always true resp. does not have any effect. Any hints how I can trap that above menitoned moment on Windows? Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dsc at swcp.com Tue Apr 17 15:02:53 2012 From: dsc at swcp.com (Dar Scott) Date: Tue, 17 Apr 2012 13:02:53 -0600 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: References: Message-ID: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote: > I have some scripts that I need to execute AFTER the user has finished resizing my stack. > > On the Mac I can set "the liveresizing" of my stack to false and simply execute my scripts at > the end of my "resizestack" handler. But this does not work on windows, where "liveresizing" > is always true resp. does not have any effect. > > Any hints how I can trap that above menitoned moment on Windows? Check 'the mouse' in resizeStack? dar From benr_mc at cogapp.com Tue Apr 17 15:03:01 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 17 Apr 2012 20:03:01 +0100 Subject: [OT] How to take a fairly good concept and jack it up badly In-Reply-To: <93AD31F5-6A2C-441D-9271-99AAC8D5E3FE@twft.com> References: <84A93A75-839B-4E16-91A3-729D68D3131F@twft.com> <314F22D7-62B2-477E-B136-42B1CFF66108@gmail.com> <93AD31F5-6A2C-441D-9271-99AAC8D5E3FE@twft.com> Message-ID: <4F8DBE65.7030901@cogapp.com> On 17/04/2012 16:14, Bob Sneidar wrote: > I was misinformed. You can do more than one, but I don't think more than 5. We have 70 at least. My impression is that you can, but you shouldn't. That is, the store lets you download and install on multiple machines; but you are then in breach of the license. The five-machine permit is a 'family license' concept, and doesn't apply to commercial use. If you need a small number greater than one for your employees, Apple makes it easy - unless you take legal obligations seriously, in which case as Bob points out you either have to jump through a lot of hoops, or pay for a minimum quantity of 20 units. On 17/04/2012 00:14, Kee Nethery wrote: > how does Microsoft handle multiple machines in an office? They have a (relatively!) straightforward Volume Licensing system. You deal with a reseller, they help you navigate through a maze of options, in the end they invoice you in the normal way and you end up being able to log into a Microsoft portal, manage your licenses (in the case of MS Office, for both Mac and Windows), download versions, pay more for 3yrs 'software assurance', etc. It's all a serious attempt to serve - and extract maximum cash from - the SME sector. And there's the rub. Those licenses cost a lot. The reseller has to do some work so they have to make their cut, and Microsoft price for the corporate user. By contrast, a single Lion upgrade is GBP 21 (approx US$ 33). In this way also Apple is clearly aiming at the consumer. If you have three Windows users, you'll probably pay about as much to upgrade them as to buy a 20 pack of Lion upgrade licenses. On 17/04/2012 07:10, Richmond wrote: > Whatever you may think about Steve Jobs; one should always remember that > when the 'guru' dies, the nature of the organisation changes Let's not retroactively credit SJ with every thing good, and exempt him for responsibility for everything bad; this problem was being discussed last June, long before he departed. From rdimola at evergreeninfo.net Tue Apr 17 15:24:13 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 17 Apr 2012 15:24:13 -0400 Subject: iOS apps not installing on device In-Reply-To: References: <005a01cd1c5d$b5c7f850$2157e8f0$@net> Message-ID: <006a01cd1ccf$ac7773d0$05665b70$@net> Colin/Pierre, Thanks for your help Pierre! I had got it working again just before your email arrived. Here's what I did: 1) I Noticed that the provisioning profiles listed in LC had my app's Provisioning listed twice?? Weird... 2) Closed LC 3) In Xcode with the iPad connected I deleted the provisioning profile from the library and the iPad (there was just one instance there). 4) Deleted the provisioning profile from the portal. 5) From the portal I generated a new provisioning profile with a different name(just appended a 2 to the end) using the same app ID. 6) Downloaded and installed the profile. 7) Fired up LC, selected the new profile and built the app. 6) Dragged the app into iTunes and synced. 7) All is good app installed and runs just fine. Now..... Colin I then went to Xcode and noticed that the iPad did not have a green bullet or any bullet at all. I went the iPad's apps and I could not drag an app into it or delete an app. The add/delete buttons were grayed out. I clicked back onto the iPad main screen (with no bullet of any color) and there was an empty screen that had a "use this device for development" button. So I said OK I'll click this and be able to bypass iTunes. Well well well. I got this screen. And now I have a yellow bullet. ******************************************************** The version of iOS on "name of my iPad" does not match any of the version of iOS supported for development with this installation of the iOS SDK Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here Os Installed in "Name of my iPad" 5.1 (98176) Xcode Supported iOS Versions Latest 5.0 (9A334) 4.3 4.2 ********************************************************** But I can still link an app in LC, drag into iTunes, synced the iPad and the app installs and runs just fine and dandy. Whew... I thought by clicking that button I backed myself into the "stop all work and install Lion and new SDK" corner. I was planning to do it last week and had some other issues that came up and ran out of time then had get this app out the door using the currently installed Xcode 4.2 and OSX 10.6.8. Any help or comments are appreciated and I do apologize in advance for my lack of knowledge in the Mac arena. Thanks again all! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Tuesday, April 17, 2012 1:29 PM To: How to use LiveCode Subject: Re: iOS apps not installing on device Incidentally, if you can get through those steps, including seeing the iPad in the Organizer window, then there's no need to involve iTunes at all. Just drag the .app file on to your device in the Organizer window's device list, it will install without requiring a sync. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pierre Sahores Sent: Tuesday, April 17, 2012 1:23 PM To: How to use LiveCode Subject: Re: iOS apps not installing on device Ralph, What works for me when the problem occurs (: - Go to the iPad preference pane - Select the General Tab - Select Profile - Remove the Provisioning profiles available there - Connect your iPad to your mac via usb - Launch XCode - Go to the Organizer window - From the iPad device main tab (followed by a green bullet), click on the arrow witch follows the "Provisioning" item to enroll your iPad again with the provisioning profile you dedicated to your iPad Best, Pierre Le 17 avr. 2012 ? 07:48, Ralph DiMola a ?crit : > I am getting this error when syncing iTunes to my iPad. > > > > > > The app "MyApp" was not installed in the iPad > > "Evergreens iPad" because an unknown error occurred > > (0xE8000007) > > > > I just made some small changes in the code and this error started. > > I synced the same app built yesterday from the same stack and it > installed perfect. > > What is this error? > > > > Any ideas? > > > > Thanks > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Apr 17 16:10:33 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Apr 2012 16:10:33 -0400 Subject: iOS apps not installing on device In-Reply-To: <006a01cd1ccf$ac7773d0$05665b70$@net> References: <005a01cd1c5d$b5c7f850$2157e8f0$@net> <006a01cd1ccf$ac7773d0$05665b70$@net> Message-ID: <79DD7ABD-40FC-4197-ABB0-55F4EB7136C1@verizon.net> I have seen those reluctant yellow dots. I eventually gave in and upgraded to Lion, and installed the latest Xcode. That was probably what fixed it for me. From klaus at major.on-rev.com Tue Apr 17 16:44:38 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 22:44:38 +0200 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> Message-ID: <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Hi Dar, Am 17.04.2012 um 21:02 schrieb Dar Scott: > On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote: > >> I have some scripts that I need to execute AFTER the user has finished resizing my stack. >> On the Mac I can set "the liveresizing" of my stack to false and simply execute my scripts at >> the end of my "resizestack" handler. But this does not work on windows, where "liveresizing" >> is always true resp. does not have any effect. >> >> Any hints how I can trap that above menitoned moment on Windows? > > Check 'the mouse' in resizeStack? ah, you mean for UP or DOWN? Hm, yep, looks like it is always DOWN in that case. And? Sorry, what am I missing? > dar Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bonnmike at gmail.com Tue Apr 17 16:56:17 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 17 Apr 2012 14:56:17 -0600 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Message-ID: Use a send in time to do this. create a handler to do whatever it is that you want done when the stack is done resizing command resizingDone if the mouse is up then ### stuff to do after resize end if end resizingDone And use a send in time from the resizestack handler on resizestack ## any code you want to run during resize send resizingDone to me in 1 tick end resizestack On Tue, Apr 17, 2012 at 2:44 PM, Klaus on-rev wrote: > Hi Dar, > > Am 17.04.2012 um 21:02 schrieb Dar Scott: > > > On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote: > > > >> I have some scripts that I need to execute AFTER the user has finished > resizing my stack. > >> On the Mac I can set "the liveresizing" of my stack to false and simply > execute my scripts at > >> the end of my "resizestack" handler. But this does not work on windows, > where "liveresizing" > >> is always true resp. does not have any effect. > >> > >> Any hints how I can trap that above menitoned moment on Windows? > > > > Check 'the mouse' in resizeStack? > > ah, you mean for UP or DOWN? > Hm, yep, looks like it is always DOWN in that case. > > And? Sorry, what am I missing? > > > dar > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Apr 17 16:57:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Apr 2012 15:57:31 -0500 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Message-ID: <4F8DD93B.2040209@hyperactivesw.com> On 4/17/12 3:44 PM, Klaus on-rev wrote: > Hi Dar, > > Am 17.04.2012 um 21:02 schrieb Dar Scott: > >> On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote: >> >>> I have some scripts that I need to execute AFTER the user has finished resizing my stack. >>> On the Mac I can set "the liveresizing" of my stack to false and simply execute my scripts at >>> the end of my "resizestack" handler. But this does not work on windows, where "liveresizing" >>> is always true resp. does not have any effect. >>> >>> Any hints how I can trap that above menitoned moment on Windows? >> >> Check 'the mouse' in resizeStack? > > ah, you mean for UP or DOWN? > Hm, yep, looks like it is always DOWN in that case. > > And? Sorry, what am I missing? Does it never report "up"? (I didn't check.) If it does, the user let go and it isn't a live resize any more, it's a... dead resize. An ex-resize. An over-size. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major.on-rev.com Tue Apr 17 17:09:02 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 23:09:02 +0200 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Message-ID: <5F7C6B35-8FA5-4B8C-8147-DFEA76B68736@major.on-rev.com> Hi Mike, Am 17.04.2012 um 22:56 schrieb Mike Bonner: > Use a send in time to do this. > > create a handler to do whatever it is that you want done when the stack is > done resizing > > command resizingDone > if the mouse is up then > ### stuff to do after resize > end if > end resizingDone > > And use a send in time from the resizestack handler > > on resizestack > ## any code you want to run during resize > send resizingDone to me in 1 tick > end resizestack ah, yes, that's what I was looking for :-) Thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Tue Apr 17 17:11:01 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Apr 2012 23:11:01 +0200 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: <4F8DD93B.2040209@hyperactivesw.com> References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> <4F8DD93B.2040209@hyperactivesw.com> Message-ID: Hi Jacqueline, Am 17.04.2012 um 22:57 schrieb J. Landman Gay: > On 4/17/12 3:44 PM, Klaus on-rev wrote: >> Hi Dar, >>>> ... >>>> Any hints how I can trap that above menitoned moment on Windows? >>> Check 'the mouse' in resizeStack? >> >> ah, you mean for UP or DOWN? >> Hm, yep, looks like it is always DOWN in that case. >> And? Sorry, what am I missing? > Does it never report "up"? (I didn't check.) Not inside of a "resizestack" handler! > If it does, the user let go and it isn't a live resize any more, it's a... dead resize. An ex-resize. An over-size. Lotsa work? :-D > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dsc at swcp.com Tue Apr 17 17:10:56 2012 From: dsc at swcp.com (Dar Scott) Date: Tue, 17 Apr 2012 15:10:56 -0600 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Message-ID: <3AEC7D8A-E3B4-401B-A932-B9D339EA5498@swcp.com> Yeah, I was thinking the last one would show the mouse UP. My next suggestion is similar to that made by Mike: use send. If you are not able to catch the UP with his suggestion, increase the time or maybe the first resizeStack would start a send-polling cycle that looks for mouse up. Dar On Apr 17, 2012, at 2:44 PM, Klaus on-rev wrote: > Hi Dar, > > Am 17.04.2012 um 21:02 schrieb Dar Scott: > >> On Apr 17, 2012, at 12:54 PM, Klaus on-rev wrote: >> >>> I have some scripts that I need to execute AFTER the user has finished resizing my stack. >>> On the Mac I can set "the liveresizing" of my stack to false and simply execute my scripts at >>> the end of my "resizestack" handler. But this does not work on windows, where "liveresizing" >>> is always true resp. does not have any effect. >>> >>> Any hints how I can trap that above menitoned moment on Windows? >> >> Check 'the mouse' in resizeStack? > > ah, you mean for UP or DOWN? > Hm, yep, looks like it is always DOWN in that case. > > And? Sorry, what am I missing? > >> dar > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Apr 17 17:30:54 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 17 Apr 2012 17:30:54 -0400 Subject: Measuring Angles? In-Reply-To: <006a01cd1ccf$ac7773d0$05665b70$@net> References: <005a01cd1c5d$b5c7f850$2157e8f0$@net> <006a01cd1ccf$ac7773d0$05665b70$@net> Message-ID: <5C6A0B94-26E8-43A3-994B-F0DFE6117D83@all-auctions.com> Hi there, Ok, I've tried just about everything I can think of to measure X,Y, and Z angles on my iPad 2. Nothing works right. I tried converting from radians to degrees, and the device just isn't giving me the correct information at all. I've tried the accelerometer, the "gyroscope", etc. They all want to give me information like the rate of change. I just want angles in degrees! Has anyone else had this problem or found a solution that really works correctly and accurately? (Yes, I've tried the basic examples given.) Thanks in advance! Rick From pete at lcsql.com Tue Apr 17 18:08:17 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 17 Apr 2012 15:08:17 -0700 Subject: Major Datagrid Issues In-Reply-To: References: Message-ID: Thank you zryip, that fixed both problems. I had found another solution which was to set the dgtext to empty. I initially thought that wouldn't work since the internal dg storage is not supposed to exist when use dgNumberOFRecords. I feel more comfortable with your solution though, Thanks, Pete Pete lcSQL Software On Tue, Apr 17, 2012 at 11:22 AM, zryip theSlug wrote: > Hi Pete, > > Sorry for the delay in the answer, I've just read your post. > > > Have you tried to send a ResetControl command to the datagrid, before > to change the dgNumberOfRecords property? > > Example: > > command PopulateMyDataGrid > doMySQLStuff > > send "ResetControl" to grp "myDataGrid" > set the dgNumberOfRecords of grp "myDataGrid" to tNumberOfRecords > > end PopulateMyDataGrid > > On Sat, Apr 14, 2012 at 3:57 AM, Peter Haworth wrote: > > I am running into some pretty major issues using the datagrid's > > dgNUmberOfRecords/GetDataForLine functionality. > > > > First issue. > > > > I load data into the datagrid by setting the dgNumberOfRecords - > > GetDataForLine is called correctly, all looks fine. Now I go through a > > filtering process and set the dgNUmberOfRecords again, let's say it ends > up > > at 2. GetDataForLine gets called twice and I see that I load the correct > > data into pDataA. The datagrid now correctly shows two lines but they > have > > the data from the first two lines of the original display, not the > selected > > lines. Bad news. > > > > Second Issue. > > > > This one seems to happen when the total number of rows in the datagrid is > > an exact multiple of the visible rows in the datagrid. For example, > let's > > say there are 50 records presented to the datagrid and it has 10 visible > > lines. No problem with the initial display of the data. Now I want to > add > > a row of data to the end of the datagrid. I set the dgNumberOfRecords to > > the new row count but the datagrid still shows the original last row at > the > > end of the datagrid and I cannot scroll down any further. I try > scroliing > > up and down, no joy. Bad News. > > > > > > Trevor or zryip, or anyone else - any ideas? > > > Best Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jperryl at ecs.fullerton.edu Tue Apr 17 18:58:50 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 17 Apr 2012 15:58:50 -0700 (PDT) Subject: [OT] Missed a chance. In-Reply-To: <4F8DA380.1030203@gmail.com> References: <4F8DA380.1030203@gmail.com> Message-ID: Funny you should mention this... This is what I'm thinking of doing at my kids' middle school next year... Well, without robots anyways. Judy On Tue, 17 Apr 2012, Richmond wrote: > Why do I feel that RunRev's "odd" behaviour with RevMedia has meant > that they may have missed an important chance? > > http://www.bbc.com/news/technology-17740143 From jperryl at ecs.fullerton.edu Tue Apr 17 19:20:36 2012 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 17 Apr 2012 16:20:36 -0700 (PDT) Subject: [OT] Missed a chance. In-Reply-To: <4F8DA380.1030203@gmail.com> References: <4F8DA380.1030203@gmail.com> Message-ID: Not necessarily; they could still get listed here: http://codeclub.org.uk/blog/ But then they'd need a canned set of lesson plans. Judy On Tue, 17 Apr 2012, Richmond wrote: > Why do I feel that RunRev's "odd" behaviour with RevMedia has meant > that they may have missed an important chance? From bdrunrev at gmail.com Tue Apr 17 20:32:05 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 18 Apr 2012 01:32:05 +0100 Subject: [OT] nice views from my city In-Reply-To: References: Message-ID: It's really quite nice. I walk around the city and marvel at how many people basically look out onto tarmac or brick. After living with a view for so long, I can't imagine not having one. But most people don't (at least not in cities). Another reason to count one's blessings. Bernard On Tue, Apr 17, 2012 at 12:01 AM, Monte Goulding wrote: > Unfortunately, I have neither a bay nor a city view. I'm stuck waking up to this :-) > http://dl.dropbox.com/u/11969754/photo.JPG > > I took that happy snap at 7AM this morning. From richmondmathewson at gmail.com Wed Apr 18 03:44:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 10:44:19 +0300 Subject: [OT] Missed a chance. In-Reply-To: References: <4F8DA380.1030203@gmail.com> Message-ID: <4F8E70D3.9090400@gmail.com> On 04/18/2012 02:20 AM, Judy Perry wrote: > Not necessarily; they could still get listed here: > > http://codeclub.org.uk/blog/ > > But then they'd need a canned set of lesson plans. > I am working out a programme, of sorts, for the summer here with Livecode; maybe I should flog the results to RunRev, Ha, Ha. > Judy > > On Tue, 17 Apr 2012, Richmond wrote: > >> Why do I feel that RunRev's "odd" behaviour with RevMedia has meant >> that they may have missed an important chance? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 18 05:23:23 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 18 Apr 2012 04:23:23 -0500 Subject: Interesting breach of iOS terms or something for LC users? Message-ID: There's this new mobile app development platform called AppGyver: http://appgyver-preview and they have a 'player' app for developers which has already passed review and is in the AppStore: AppGyver Preview App Anyone can download this app to their iPhone and then enter in a name and a password and download an app a developer built. I wonder if LC should consider such a 'LiveCode Preview App' ?? -- Chipp Walters CEO, Altuit, Inc. From richmondmathewson at gmail.com Wed Apr 18 05:25:57 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 12:25:57 +0300 Subject: [OT] Missed a chance. In-Reply-To: References: <4F8DA380.1030203@gmail.com> Message-ID: <4F8E88A5.6090807@gmail.com> On 04/18/2012 02:20 AM, Judy Perry wrote: > Not necessarily; they could still get listed here: > > http://codeclub.org.uk/blog/ > > But then they'd need a canned set of lesson plans. Certainly the Hackety-Hack website is rather well set out; and, frankly, I much prefer what I can see there to the Scratch stuff (too Lego-like for comfort). Our friends (muffled cough) (are you reading this Kev?) could do well to meditate on this a bit. The kids who will be messing around with Hackety-Hack today will be doing great things with Ruby very shortly. I cannot see how RunRev would lose if they released, say, Dreamcard 2.6 as a FREE thing, or, even, RR 2 (which had standalone building capabilities. I know they want to earn money (and who doesn't????), that is quite understandable; but I am sure releasing something of the order of the above with a dozen reasonably well thought-out lessons would bounce back in a financially favourable way in due course. > > Judy > > On Tue, 17 Apr 2012, Richmond wrote: > >> Why do I feel that RunRev's "odd" behaviour with RevMedia has meant >> that they may have missed an important chance? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 05:31:07 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 18 Apr 2012 10:31:07 +0100 Subject: [OT] Missed a chance. In-Reply-To: <4F8E88A5.6090807@gmail.com> References: <4F8DA380.1030203@gmail.com> <4F8E88A5.6090807@gmail.com> Message-ID: <8D62E6C4-A411-43E1-B441-B0ECB9808556@clarkeandclarke.co.uk> My 10-year old son and all his mates are using Kodu Game lab at school http://fuse.microsoft.com/page/kodu. I can't get him interested in doing the LiveCode summer academy for a game. :-( Best, Keith.. On 18 Apr 2012, at 10:25, Richmond wrote: > On 04/18/2012 02:20 AM, Judy Perry wrote: >> Not necessarily; they could still get listed here: >> >> http://codeclub.org.uk/blog/ >> >> But then they'd need a canned set of lesson plans. > > Certainly the Hackety-Hack website is rather well set out; and, frankly, > I much prefer what I can see there to the Scratch stuff (too Lego-like for > comfort). > > Our friends (muffled cough) (are you reading this Kev?) could do well to > meditate on this a bit. > > The kids who will be messing around with Hackety-Hack today will be doing great things with Ruby very shortly. > > I cannot see how RunRev would lose if they released, say, Dreamcard 2.6 as a FREE thing, > > or, even, RR 2 (which had standalone building capabilities. > > I know they want to earn money (and who doesn't????), that is quite understandable; but I am sure releasing something > of the order of the above with a dozen reasonably well thought-out lessons would bounce back in a financially favourable > way in due course. > >> >> Judy >> >> On Tue, 17 Apr 2012, Richmond wrote: >> >>> Why do I feel that RunRev's "odd" behaviour with RevMedia has meant >>> that they may have missed an important chance? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Apr 18 05:38:08 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 Apr 2012 11:38:08 +0200 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: References: Message-ID: <45D37F94-B5ED-46E2-BB53-1B8E8E087CF2@economy-x-talk.com> Hi, Just like PhoneGap, AppGyver is basically a locally functioning website and does nothing that Safari can't do. If Apple has already approved the engine, then Apple might tolerate the preview app. This doesn't pave the way for RunRev to do something similar. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 18 apr 2012, at 11:23, Chipp Walters wrote: > There's this new mobile app development platform called AppGyver: > http://appgyver-preview > > and they have a 'player' app for developers which has already passed review > and is in the AppStore: AppGyver Preview App > > Anyone can download this app to their iPhone and then enter in a name and a > password and download an app a developer built. I wonder if LC should > consider such a 'LiveCode Preview App' ?? > From richmondmathewson at gmail.com Wed Apr 18 05:40:06 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 12:40:06 +0300 Subject: [OT] Missed a chance. In-Reply-To: <8D62E6C4-A411-43E1-B441-B0ECB9808556@clarkeandclarke.co.uk> References: <4F8DA380.1030203@gmail.com> <4F8E88A5.6090807@gmail.com> <8D62E6C4-A411-43E1-B441-B0ECB9808556@clarkeandclarke.co.uk> Message-ID: <4F8E8BF6.1040907@gmail.com> Thanks Keith, What impresses me about both Hackety-Hack and Scratch is that they are both tri-platform: working on Linux, Mac and Windows; meaning that I can use them to teach on the Ubuntu boxes in my school, and the kids can carry on with either the Windows or the Linux versions at home. > My 10-year old son and all his mates are using Kodu Game lab at school http://fuse.microsoft.com/page/kodu. I can't get him interested in doing the LiveCode summer academy for a game. :-( > Best, > Keith.. > > On 18 Apr 2012, at 10:25, Richmond wrote: > >> On 04/18/2012 02:20 AM, Judy Perry wrote: >>> Not necessarily; they could still get listed here: >>> >>> http://codeclub.org.uk/blog/ >>> >>> But then they'd need a canned set of lesson plans. >> Certainly the Hackety-Hack website is rather well set out; and, frankly, >> I much prefer what I can see there to the Scratch stuff (too Lego-like for >> comfort). >> >> Our friends (muffled cough) (are you reading this Kev?) could do well to >> meditate on this a bit. >> >> The kids who will be messing around with Hackety-Hack today will be doing great things with Ruby very shortly. >> >> I cannot see how RunRev would lose if they released, say, Dreamcard 2.6 as a FREE thing, >> >> or, even, RR 2 (which had standalone building capabilities. >> >> I know they want to earn money (and who doesn't????), that is quite understandable; but I am sure releasing something >> of the order of the above with a dozen reasonably well thought-out lessons would bounce back in a financially favourable >> way in due course. >> >>> Judy >>> >>> On Tue, 17 Apr 2012, Richmond wrote: >>> >>>> Why do I feel that RunRev's "odd" behaviour with RevMedia has meant >>>> that they may have missed an important chance? >>> From richmondmathewson at gmail.com Wed Apr 18 09:06:27 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 16:06:27 +0300 Subject: Kucheta! Message-ID: <4F8EBC53.7020102@gmail.com> http://www.frognews.bg/news_44396/Kucheta_i_profesori/ From dixonja at hotmail.co.uk Wed Apr 18 09:16:05 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 18 Apr 2012 14:16:05 +0100 Subject: Kucheta! In-Reply-To: <4F8EBC53.7020102@gmail.com> References: <4F8EBC53.7020102@gmail.com> Message-ID: And your point is ? > Date: Wed, 18 Apr 2012 16:06:27 +0300 > From: richmondmathewson at gmail.com > Subject: Kucheta! > > http://www.frognews.bg/news_44396/Kucheta_i_profesori/ From williamdesmet at gmail.com Wed Apr 18 09:18:17 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 18 Apr 2012 15:18:17 +0200 Subject: Kucheta! In-Reply-To: References: <4F8EBC53.7020102@gmail.com> Message-ID: SPAM?! 2012/4/18 John Dixon : > > And your point is ? > >> Date: Wed, 18 Apr 2012 16:06:27 +0300 >> From: richmondmathewson at gmail.com >> Subject: Kucheta! >> >> http://www.frognews.bg/news_44396/Kucheta_i_profesori/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 18 09:20:10 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 18 Apr 2012 15:20:10 +0200 Subject: Kucheta! In-Reply-To: <4F8EBC53.7020102@gmail.com> References: <4F8EBC53.7020102@gmail.com> Message-ID: <7E6183A4-8B7F-4021-B0C9-368D866AB5FC@numericable.com> ? ?????? ?? ???????! ;-) Le 18 avr. 2012 ? 15:06, Richmond a ?crit : > http://www.frognews.bg/news_44396/Kucheta_i_profesori/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Apr 18 09:27:52 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 Apr 2012 15:27:52 +0200 Subject: Kucheta! In-Reply-To: <7E6183A4-8B7F-4021-B0C9-368D866AB5FC@numericable.com> References: <4F8EBC53.7020102@gmail.com> <7E6183A4-8B7F-4021-B0C9-368D866AB5FC@numericable.com> Message-ID: ? ????. But that's Russian, not Bulgarian. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 18 apr 2012, at 15:20, Ren? Micout wrote: > ? ?????? ?? ???????! > ;-) > From richmondmathewson at gmail.com Wed Apr 18 10:14:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 17:14:03 +0300 Subject: Kucheta! In-Reply-To: References: <4F8EBC53.7020102@gmail.com> Message-ID: <4F8ECC2B.9090802@gmail.com> On 04/18/2012 04:16 PM, John Dixon wrote: > And your point is ? Sorry chaps; posted to the wrong place! > >> Date: Wed, 18 Apr 2012 16:06:27 +0300 >> From: richmondmathewson at gmail.com >> Subject: Kucheta! >> >> http://www.frognews.bg/news_44396/Kucheta_i_profesori/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 18 10:27:52 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 18 Apr 2012 16:27:52 +0200 Subject: trapping something like "resizestack finished" on Windows? :-) In-Reply-To: References: <89954965-5348-448F-9C5B-477375F309CC@swcp.com> <615EB03A-E66B-4803-A955-71325653A76F@major.on-rev.com> Message-ID: Hi Mike, Am 17.04.2012 um 22:56 schrieb Mike Bonner: > Use a send in time to do this. > > create a handler to do whatever it is that you want done when the stack is > done resizing > > command resizingDone > if the mouse is up then > ### stuff to do after resize > end if > end resizingDone > > And use a send in time from the resizestack handler > > on resizestack > ## any code you want to run during resize > send resizingDone to me in 1 tick > end resizestack I just implemented this and it works GREAT! :-) Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Wed Apr 18 11:04:22 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 18 Apr 2012 11:04:22 -0400 Subject: Kucheta! In-Reply-To: <4F8ECC2B.9090802@gmail.com> References: <4F8EBC53.7020102@gmail.com> <4F8ECC2B.9090802@gmail.com> Message-ID: <4E7855F5-9ED7-402A-BD9A-CE0FE56C9037@verizon.net> I naturally assumed you were working on a stack that was a game, where you control an 88 year old professor as he runs away from rabid dogs. On Apr 18, 2012, at 10:14 AM, Richmond wrote: > > >Sorry chaps; posted to the wrong place! From bobs at twft.com Wed Apr 18 11:25:45 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Apr 2012 08:25:45 -0700 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: References: Message-ID: http://www.appgyver.com/ That link works. Kinda stupid name tho'. Bob On Apr 18, 2012, at 2:23 AM, Chipp Walters wrote: > There's this new mobile app development platform called AppGyver: > http://appgyver-preview > > and they have a 'player' app for developers which has already passed review > and is in the AppStore: AppGyver Preview App > > Anyone can download this app to their iPhone and then enter in a name and a > password and download an app a developer built. I wonder if LC should > consider such a 'LiveCode Preview App' ?? > > > -- > Chipp Walters > CEO, Altuit, 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 bobs at twft.com Wed Apr 18 11:29:32 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Apr 2012 08:29:32 -0700 Subject: Kucheta! In-Reply-To: <4F8EBC53.7020102@gmail.com> References: <4F8EBC53.7020102@gmail.com> Message-ID: <16B1450F-A688-4C5E-BE50-AF7E4FC802D8@twft.com> Are these the guys who have been sending me all that spam?? Language looks familiar... Bob On Apr 18, 2012, at 6:06 AM, Richmond wrote: > http://www.frognews.bg/news_44396/Kucheta_i_profesori/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 18 11:38:44 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Apr 2012 18:38:44 +0300 Subject: Kucheta! In-Reply-To: <4E7855F5-9ED7-402A-BD9A-CE0FE56C9037@verizon.net> References: <4F8EBC53.7020102@gmail.com> <4F8ECC2B.9090802@gmail.com> <4E7855F5-9ED7-402A-BD9A-CE0FE56C9037@verizon.net> Message-ID: <4F8EE004.8000103@gmail.com> On 04/18/2012 06:04 PM, Colin Holgate wrote: > I naturally assumed you were working on a stack that was a game, where you control an 88 year old professor as he runs away from rabid dogs. Well, Colin, obviously your Bulgarian is progressing; perhaps I should post more newspaper articles by my son to the Use-List . . . :) > > > On Apr 18, 2012, at 10:14 AM, Richmond wrote: > >>> Sorry chaps; posted to the wrong place! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mpezzo at gmail.com Wed Apr 18 12:30:55 2012 From: mpezzo at gmail.com (AcidJazz) Date: Wed, 18 Apr 2012 09:30:55 -0700 (PDT) Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: References: Message-ID: <1334766655629-4568233.post@n4.nabble.com> The name is based on the American tv show "MacGyver" isn't it? The character could, essentially build anything out of a paper clip, book of matches, or whatever he had available. That may not make the name less stupid, but I was pronouncing it App "giver" and definitely thought that was silly. Then I realized you probably pronounce with a long "I" - thus the tv show. http://en.wikipedia.org/wiki/MacGyver - Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Interesting-breach-of-iOS-terms-or-something-for-LC-users-tp4567154p4568233.html Sent from the Revolution - User mailing list archive at Nabble.com. From larsbrehmer at mac.com Wed Apr 18 12:38:13 2012 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 18 Apr 2012 10:38:13 -0600 Subject: Goofy developer questions Message-ID: <723C28F9-C6B7-4699-8553-9DE27016B5A6@mac.com> I am just about to enroll in both the Mac and iOS developer programs and I have a few questions. I would also like to enroll with Microsoft for Windows (no mobile OS's) which raises even more questions. First of all, I can't find any place on the Microsoft websites to register. Anyone have a link handy? I want to do this if only to avoid potential users getting that "allow this unknown developer to make changes to your computer" warning. How do they come up with that language anyway? It sounds like by installing a program the developer can install a slower CPU and plug your ports with chewing gum ;-) So how do I sign up? And the weird question is this. Once I am a registered developer for these OS's, is there something in the standalone settings that allows the app to run/be installed without scary warnings? Just how does this work, especially for Windows, since the Mac warning isn't so scary, just something like "this app was downloaded from the internet." In the standalone settings, for OSX there is a place for "signature," but in the Windows part there is nothing that pertains to the developer ID. And does that signature even cancel the potential warning? How does that work? And how can a user's Windows machine know that the developer is recognized as legit? So in a nutshell, how does this all work? Cheers, Lars From bobs at twft.com Wed Apr 18 12:50:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Apr 2012 09:50:14 -0700 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: <1334766655629-4568233.post@n4.nabble.com> References: <1334766655629-4568233.post@n4.nabble.com> Message-ID: <2A9E5835-F5F1-4D51-BC8C-EB185124B688@twft.com> You are correct, and I did get the connection. I used to watch that show. It was entertaining. As an aside, Myth Busters did a segment on whether or not it was possible to blow open a lock by taking the gunpowder from a few bullets, pouring it into the key hole, sticking a bullet casing (without the bullet) into the hole, and firing off the powder by striking the back of the bullet with the butt end of the gun. It failed on virtually every front. First, he opened the bullets with his bare hands, a superhuman feat in and of itself. Next, there was not enough gunpowder in a few bullets to break the lock, even if you fired off the powder with a blasting cap. Next, no one could get a bullet to fire with just the butt end of a gun. They had to weld a firing pin to the end of the gun, then create a swing arm to hit exactly on the cap to get it to fire, and even then it didn't light off the powder in the keyhole. Imagine my disappointment to see one of my favorite childhood heroes so thoroughly debunked! ;-) Bob On Apr 18, 2012, at 9:30 AM, AcidJazz wrote: > The name is based on the American tv show "MacGyver" isn't it? The > character could, essentially build anything out of a paper clip, book of > matches, or whatever he had available. That may not make the name less > stupid, but I was pronouncing it App "giver" and definitely thought that was > silly. Then I realized you probably pronounce with a long "I" - thus the tv > show. > > http://en.wikipedia.org/wiki/MacGyver > > > - Mark > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Interesting-breach-of-iOS-terms-or-something-for-LC-users-tp4567154p4568233.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Apr 18 12:51:45 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 18 Apr 2012 12:51:45 -0400 Subject: Windows Shortcuts #FAIL? Message-ID: I used the menubuilder to...build some menus for an app I'm trying to run in Windows but even though I have shortcuts set up for the menu items and have tried both ctrl and command for the modifiers, they do not seem to respond. Suggestions? From gregory.lypny at videotron.ca Wed Apr 18 12:59:41 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 18 Apr 2012 12:59:41 -0400 Subject: Can't Download Server Engine Message-ID: Hello everyone, I'm on my account page at RunRev and am trying to download the server engine, but when I click the link, I am prompted for a name and password. I've tried both my RunRev username and password as well as the ones provided in parentheses beside each server engine link. None works. How can I download the engine? Gregory From bonnmike at gmail.com Wed Apr 18 13:04:17 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 18 Apr 2012 11:04:17 -0600 Subject: Can't Download Server Engine In-Reply-To: References: Message-ID: You are using 'server' as the username right? (lowercase) And if you copy/paste the listed password, aren't getting an extraneous leading space? Other than these things i'd say contact support. On Wed, Apr 18, 2012 at 10:59 AM, Gregory Lypny wrote: > Hello everyone, > > I'm on my account page at RunRev and am trying to download the server > engine, but when I click the link, I am prompted for a name and password. > I've tried both my RunRev username and password as well as the ones > provided in parentheses beside each server engine link. None works. How > can I download the engine? > > Gregory > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Apr 18 13:22:12 2012 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Apr 2012 11:22:12 -0600 Subject: Goofy developer questions In-Reply-To: <723C28F9-C6B7-4699-8553-9DE27016B5A6@mac.com> References: <723C28F9-C6B7-4699-8553-9DE27016B5A6@mac.com> Message-ID: Being a developer is separate from getting code signed for Windows. You can see a range of MSDN (developer) options here: https://msdn.microsoft.com/en-us/subscriptions/buy/buy.aspx I once was at Ultimate but now am at the OS level. You probably do not need MSDN. You need something else and the name escapes me at the moment. (You will need to be an iOS developer to sign iOS apps. I don't know about Mac apps. I am an iOS developer to test on iOS and I'm a Mac developer for development testing and early preview.) The world changes fast so this might be out of date. Dar On Apr 18, 2012, at 10:38 AM, Lars Brehmer wrote: > I am just about to enroll in both the Mac and iOS developer programs and I have a few questions. I would also like to enroll with Microsoft for Windows (no mobile OS's) which raises even more questions. > > First of all, I can't find any place on the Microsoft websites to register. Anyone have a link handy? I want to do this if only to avoid potential users getting that "allow this unknown developer to make changes to your computer" warning. How do they come up with that language anyway? It sounds like by installing a program the developer can install a slower CPU and plug your ports with chewing gum ;-) So how do I sign up? > > And the weird question is this. Once I am a registered developer for these OS's, is there something in the standalone settings that allows the app to run/be installed without scary warnings? Just how does this work, especially for Windows, since the Mac warning isn't so scary, just something like "this app was downloaded from the internet." In the standalone settings, for OSX there is a place for "signature," but in the Windows part there is nothing that pertains to the developer ID. And does that signature even cancel the potential warning? How does that work? And how can a user's Windows machine know that the developer is recognized as legit? > > So in a nutshell, how does this all work? > > Cheers, > > Lars > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Apr 18 13:27:36 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 18 Apr 2012 13:27:36 -0400 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: <2A9E5835-F5F1-4D51-BC8C-EB185124B688@twft.com> References: <1334766655629-4568233.post@n4.nabble.com> <2A9E5835-F5F1-4D51-BC8C-EB185124B688@twft.com> Message-ID: <9299FEEF-81D0-4746-BBF3-6083B1B3A98D@verizon.net> As an aside to your aside? the husband of a ex-colleague of mine was the person the studio turned to when figuring out the things MacGyver could do. They would call him up and say something like "MacGyver is locked in a broom closet, how would he get out", and he would think about it and call them back with ideas. Then they would send him money. On Apr 18, 2012, at 12:50 PM, Bob Sneidar wrote: > >Imagine my disappointment to see one of my favorite childhood heroes so thoroughly debunked! ;-) From andre at andregarzia.com Wed Apr 18 13:49:44 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Apr 2012 14:49:44 -0300 Subject: [ENHANCEMENT REQUEST] LiveCode Server needs a way to disable SSL verification check Message-ID: Hey Folks, Sometimes you need to use a self-signed certificate with a server that you want to access with LiveCode. When using LiveCode with Desktop Apps, you can issue libURLSetSSLVerification false and be happy but if you're using LiveCode server, then you're lost because there is no way to disable the check and the connection will fail if you use an self-signed certificate. A real world scenario is using a credit card payment processor server that listens on a secure socket. To do transactions we need to do HTTPS POST requests to the server but they fail because the server uses a self-signed certificate. No all SSL certificates need to be signed by a CA to be useful. We need this feature or we'll soon have to move to PHP or to some other language that allows us to use self-signed certificates. Our previous versions used shell() calls to CURL but we wan't to move away from that. For those that need the feature, this is the bug: http://quality.runrev.com/show_bug.cgi?id=10177 Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From gcanyon at gmail.com Wed Apr 18 14:27:54 2012 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 18 Apr 2012 13:27:54 -0500 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: <9299FEEF-81D0-4746-BBF3-6083B1B3A98D@verizon.net> References: <1334766655629-4568233.post@n4.nabble.com> <2A9E5835-F5F1-4D51-BC8C-EB185124B688@twft.com> <9299FEEF-81D0-4746-BBF3-6083B1B3A98D@verizon.net> Message-ID: This would be the best job ever. On Wed, Apr 18, 2012 at 12:27 PM, Colin Holgate wrote: > As an aside to your aside? the husband of a ex-colleague of mine was the > person the studio turned to when figuring out the things MacGyver could do. > They would call him up and say something like "MacGyver is locked in a > broom closet, how would he get out", and he would think about it and call > them back with ideas. Then they would send him money. From gregory.lypny at videotron.ca Wed Apr 18 14:47:32 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 18 Apr 2012 14:47:32 -0400 Subject: Can't Get Server Engine to Work on My Mac Message-ID: <1A33D6B4-AB85-4CC1-A8C7-E5CE7C30A99E@videotron.ca> Hello everyone, I must have missed something because I can't get the server engine to work on my Mac. Here's what I did. 1. I placed the livecode-server executable and the drivers and externals folder into /Library/WebServer/CGI-Executables/ 2. I added these two lines AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server at the end of the section of httpd.conf 3. I restarted Apache by toggling the web sharing checkbox in system preferences To test the server, I created a page in iWeb and added an HTML snippet containing

The internet date is

Nothing from the snippet appears on the page. What am I doing wrong? Gregory From kray at sonsothunder.com Wed Apr 18 15:33:36 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 18 Apr 2012 14:33:36 -0500 Subject: Help understanding iOS deployment In-Reply-To: <4F8DBB16.7060209@hyperactivesw.com> References: <0E798F6B-EDA3-4273-B553-7F04B5671F12@mac.com> <4F8DBB16.7060209@hyperactivesw.com> Message-ID: > Right. Every testing device has to be entered in the portal. Then you either make new development provisioning profiles (which will include their devices) or you can refresh your existing profile via XCode. Once the profile has been updated to include the new devices, rebuild the standalone with the new profile. This is a critical piece that many miss? if you had a standalone that was sent to two people and worked and you then went and added a third person (device) to the portal, you can't just send the same standalone to the third person? you have to *rebuild the standalone* with the new profile in order for the third person to be able to use your standalone. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jiml at netrin.com Wed Apr 18 16:38:55 2012 From: jiml at netrin.com (Jim Lambert) Date: Wed, 18 Apr 2012 13:38:55 -0700 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: Graham, TestFlight is a helpful friend for management of devices & smaller scale distribution outside of the App Store. http://www.testflightapp.com Jim Lambert From charles at buchwald.ca Wed Apr 18 17:13:43 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Wed, 18 Apr 2012 16:13:43 -0500 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: <344088A8-B8D2-4A02-8CAE-68A91AD5A717@buchwald.ca> Hi Jim, TestFlight looks interesting... how does one use it with LC? - Charles On 2012-04-18, at 3:38 PM, Jim Lambert wrote: > Graham, > > TestFlight is a helpful friend for management of devices & smaller scale distribution outside of the App Store. > > http://www.testflightapp.com > > > 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 -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter Please consider the environment before printing this email. From chipp at chipp.com Wed Apr 18 18:51:17 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 18 Apr 2012 17:51:17 -0500 Subject: Interesting breach of iOS terms or something for LC users? In-Reply-To: <45D37F94-B5ED-46E2-BB53-1B8E8E087CF2@economy-x-talk.com> References: <45D37F94-B5ED-46E2-BB53-1B8E8E087CF2@economy-x-talk.com> Message-ID: I'm not sure I agree. AppGyver (AG) has many of the same api hooks to iOS as LC. So, in theory, one could just as easily abuse those privileges in an AG player as a LC player. For instance, say you write an AG file (html/jscript) to access the native features of iOS like the contacts list, and copy them all and transport them somewhere over the Internet. That does something significantly *different* than what Safari can do. And, in my mind, it represents just as much a security risk as what you can do with LC. On Wed, Apr 18, 2012 at 4:38 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Just like PhoneGap, AppGyver is basically a locally functioning website > and does nothing that Safari can't do. If Apple has already approved the > engine, then Apple might tolerate the preview app. This doesn't pave the > way for RunRev to do something similar. > > From niconiko at gmail.com Thu Apr 19 00:25:30 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 19 Apr 2012 13:25:30 +0900 Subject: Android field and word prediction Message-ID: Hello All, When typing in my Android app within a simple text-field object and with the "word prediction" setting checked on, clicking on any one of the suggested words results in only the first letter of that word appearing in the text field. Same thing happens if the suggested words are ignored and I simply continue typing. Which means that, to type a word,"Enter" must be hit after each letter is typed. Of course, the field works as expected if "word prediction" is turned off in the settings. But that's not a solution. I tried the Android Release Notes, but couldn't find anything related to this problem. Advice please? Thanks. -- Nicolas Cueto From rdimola at evergreeninfo.net Thu Apr 19 01:05:15 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 19 Apr 2012 01:05:15 -0400 Subject: Android field and word prediction In-Reply-To: References: Message-ID: <05ec8aec-735b-40b4-8806-6c36670c5d28@blur> Nicolas, I have been testing with froyo and text field input works as expected. When I tested on a gingerbread tablet today I saw the same thing. What version of LC and Android are you running? Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Nicolas Cueto To: LiveCode - general LiveCode Sent: Thu, Apr 19, 2012 04:25:30 GMT+00:00 Subject: Android field and word prediction Hello All, When typing in my Android app within a simple text-field object and with the "word prediction" setting checked on, clicking on any one of the suggested words results in only the first letter of that word appearing in the text field. Same thing happens if the suggested words are ignored and I simply continue typing. Which means that, to type a word,"Enter" must be hit after each letter is typed. Of course, the field works as expected if "word prediction" is turned off in the settings. But that's not a solution. I tried the Android Release Notes, but couldn't find anything related to this problem. Advice please? Thanks. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Thu Apr 19 01:24:48 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 19 Apr 2012 14:24:48 +0900 Subject: Android field and word prediction In-Reply-To: <05ec8aec-735b-40b4-8806-6c36670c5d28@blur> References: <05ec8aec-735b-40b4-8806-6c36670c5d28@blur> Message-ID: Ralph, LC = 5.5.1-dp1 HTC Evo phone = Android 2.3.4 AVD Manager setting for that HTC = Android 2.3.3 Api Level 10 LC standalone minimum OS setting = tried both Android 2.2 and Android 2.3 Again, text field input works as expected. But not if "word prediction" is turned on. Cheers. -- Nicolas Cueto From livfoss at mac.com Thu Apr 19 09:01:48 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 19 Apr 2012 15:01:48 +0200 Subject: Data persistence in iOS apps Message-ID: In LiveCode desktop apps, you can't put stuff in the mainstack of the app or its substacks and expect it to be there next time the program is run: there are often questions on this list about this kind of thing. The basic rule that prevents self-modifying programs in modern OSs means that the mainstack is essentially read-only, so saving of the main stack and its whole data tree is not allowed: the traditional solution is "put your data into a different stack which you open at the start of the program and save when it quits" (the Splash Screen method). Now, what about iOS? As far as I understand the iOS app concept (which is not very well), the whole thing runs in the app's sandbox, and when the program quits or is suspended (same thing, in effect), the entire state of the app is recorded. If this is true, then you might think that when an app creates new cards in its main stack, then those cards will still be there when you restart the program. My experiments show that they aren't - this is not unexpected exactly, but it raises the question: what is kept in the sandbox - is it only stuff that has been deliberately saved in the 'documents' folder or whatever? Or is some other status information stored by the system and if so what? Can I know for example how many times my app has been launched on this device? I expect there is something about this deep in the XCode docs but I have not found it. Does anyone know? Graham From coiin at verizon.net Thu Apr 19 09:32:52 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 19 Apr 2012 09:32:52 -0400 Subject: Data persistence in iOS apps In-Reply-To: References: Message-ID: <88C1CC48-2BEC-4195-8397-4AFF57482AB2@verizon.net> With iOS you have to save a copy of the stack into the documents folder, and then jump into that stack. Then changes can be saved. From littlejamesw at mac.com Thu Apr 19 12:18:32 2012 From: littlejamesw at mac.com (Jim Little) Date: Thu, 19 Apr 2012 09:18:32 -0700 Subject: (OT) Our 1st App: Flat Out Fitness Message-ID: <83079A8C-86C4-42AF-978A-4F83BFD94919@mac.com> HI All, Our first app was released on the App Store today. It was made with LiveCode and is an exercise timer for High Intensity Interval Training (HIIT). Go to our website to learn more about this type of exercise: http://flatoutfitness.com The full version costs $0.99. The lite version (Flat Out Lite) is free but has limited functionality. http://itunes.apple.com/us/app/flat-out-fitness/id503962257?ls=1&mt=8 We have some free promo codes. If you're interested, please e-mail us at help at flatoutfitness.com Please send us any suggestions. Thanks to this list and the wider LiveCode community for assistance along the way. Regards, Todd & Jim Little From gregory.lypny at videotron.ca Thu Apr 19 13:09:33 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 19 Apr 2012 13:09:33 -0400 Subject: Can't Download Server Engine In-Reply-To: References: Message-ID: <254289F7-2B7A-49C1-AFB3-D44DF7E9DDAC@videotron.ca> Thank you, Mike. On Thu, Apr 19, 2012, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > Message: 1 > Date: Wed, 18 Apr 2012 11:04:17 -0600 > From: Mike Bonner > To: How to use LiveCode > Subject: Re: Can't Download Server Engine > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > You are using 'server' as the username right? (lowercase) From livfoss at mac.com Thu Apr 19 13:14:27 2012 From: livfoss at mac.com (Graham Samuel) Date: Thu, 19 Apr 2012 19:14:27 +0200 Subject: Data persistence in iOS apps In-Reply-To: References: Message-ID: Colin, thanks As I suspected: but when I put my data stack into the bundle via 'Copy Files' in the Standalone Settings, it doesn't go into Documents, does it? This copy is in effect just as read-only as the Splash stack. I guess I have to do something like: - check if the data stack is in the documents folder (i.e. has it ever been saved?) - if not, save it immediately, before any activity in the app. Thereafter one can update it as appropriate (at quit, or every time it changes - not sure which is the best policy). Graham On Thu, 19 Apr 2012 09:32:52 -0400, Colin Holgate wrote: > > With iOS you have to save a copy of the stack into the documents folder, and then jump into that stack. Then changes can be saved. From irog at mac.com Thu Apr 19 13:24:59 2012 From: irog at mac.com (Roger Guay) Date: Thu, 19 Apr 2012 10:24:59 -0700 Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: Hi All, RadialDialOmatic is a utility I created to make nice (even if I say so myself) Radial Dials. With RevOnLine still down, I'm afraid you will have to go to my downloads page to get it: http://web.me.com/irog/Roger_Guay/Downloads.html Or email me and I will send one to you. Cheers, Roger From richmondmathewson at gmail.com Thu Apr 19 14:01:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Apr 2012 21:01:42 +0300 Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: <4F905306.2070207@gmail.com> On 04/19/2012 08:24 PM, Roger Guay wrote: > Hi All, > > RadialDialOmatic is a utility I created to make nice (even if I say so myself) Radial Dials. With RevOnLine still down, I'm afraid you will have to go to my downloads page to get it: > > http://web.me.com/irog/Roger_Guay/Downloads.html > > Or email me and I will send one to you. Thank you very much indeed. And, I must say, I think your background image is lovely. > > Cheers, > 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 richmondmathewson at gmail.com Thu Apr 19 14:08:54 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Apr 2012 21:08:54 +0300 Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: <4F9054B6.1000507@gmail.com> On 04/19/2012 08:24 PM, Roger Guay wrote: > Hi All, > > RadialDialOmatic is a utility I created to make nice (even if I say so myself) Radial Dials. With RevOnLine still down, I'm afraid you will have to go to my downloads page to get it: > > http://web.me.com/irog/Roger_Guay/Downloads.html > > Or email me and I will send one to you. Would you like me to make Linux standalones and send them over to you to have on your website? > > Cheers, > 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 jiml at netrin.com Thu Apr 19 14:50:54 2012 From: jiml at netrin.com (Jim Lambert) Date: Thu, 19 Apr 2012 11:50:54 -0700 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: <1E57C66A-AAA6-4403-90CA-927294C2E681@netrin.com> Charles wrote: > TestFlight looks interesting... how does one use it with LC? The same as you would use it with apps written in xCode - for gathering testers'' UDIDs and distributing of builds to those testers. It allows testers to provide feedback too. JimL From rdimola at evergreeninfo.net Thu Apr 19 15:53:54 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 19 Apr 2012 15:53:54 -0400 Subject: Android field and word prediction In-Reply-To: References: <05ec8aec-735b-40b4-8806-6c36670c5d28@blur> Message-ID: <008501cd1e66$27074de0$7515e9a0$@net> Nicolas, I submitted this as Bug Report #10184. I also attached a sample stack. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nicolas Cueto Sent: Thursday, April 19, 2012 1:25 AM To: How to use LiveCode Subject: Re: Android field and word prediction Ralph, LC = 5.5.1-dp1 HTC Evo phone = Android 2.3.4 AVD Manager setting for that HTC = Android 2.3.3 Api Level 10 LC standalone minimum OS setting = tried both Android 2.2 and Android 2.3 Again, text field input works as expected. But not if "word prediction" is turned on. Cheers. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Apr 19 16:36:11 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Apr 2012 15:36:11 -0500 Subject: Data persistence in iOS apps In-Reply-To: References: Message-ID: <4F90773B.8000804@hyperactivesw.com> On 4/19/12 12:14 PM, Graham Samuel wrote: > > As I suspected: but when I put my data stack into the bundle via > 'Copy Files' in the Standalone Settings, it doesn't go into > Documents, does it? This copy is in effect just as read-only as the > Splash stack. Right, the whole engine folder is read-only. The "copy files" pane in the standalone builder puts files into the engine folder. > I guess I have to do something like: > > - check if the data stack is in the documents folder (i.e. has it > ever been saved?) > > - if not, save it immediately, before any activity in the app. > > Thereafter one can update it as appropriate (at quit, or every time > it changes - not sure which is the best policy). I usually update on quit (shutdown) but I don't think it matters which you choose. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Thu Apr 19 16:46:30 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 20 Apr 2012 05:46:30 +0900 Subject: Android field and word prediction In-Reply-To: <008501cd1e66$27074de0$7515e9a0$@net> References: <05ec8aec-735b-40b4-8806-6c36670c5d28@blur> <008501cd1e66$27074de0$7515e9a0$@net> Message-ID: > I submitted this as Bug Report #10184. I also attached a sample stack. Thanks, Ralph. -- Nicolas Cueto From jhj at jhj.com Thu Apr 19 16:47:11 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 19 Apr 2012 13:47:11 -0700 Subject: Data persistence in iOS apps In-Reply-To: <4F90773B.8000804@hyperactivesw.com> References: <4F90773B.8000804@hyperactivesw.com> Message-ID: <4F13C2EC-3A67-4EFB-97C7-09C670E09B73@jhj.com> On Apr 19, 2012, at 1:36 PM, J. Landman Gay wrote: > On 4/19/12 12:14 PM, Graham Samuel wrote: >> >> Thereafter one can update it as appropriate (at quit, or every time >> it changes - not sure which is the best policy). > > I usually update on quit (shutdown) but I don't think it matters which you choose. It matters if it crashes or the power fails. Unless I'm in a hurry, I tend to save after every change. Maybe this isn't as much of a consideration in a handheld, but I have unattended systems out in the field taking data. Onward, Jerry From coiin at verizon.net Thu Apr 19 22:25:32 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 19 Apr 2012 22:25:32 -0400 Subject: =?windows-1252?Q?=5BOT-ish=5D_an_app_I_made=85?= Message-ID: <2258A954-F059-4B6E-83EC-D05885FB2171@verizon.net> I'm a big proponent of using the best tool for the job. That clashes somewhat with client requirements, they like to use the product that leads to the least amount of effort for the end user. In my day job that means that a lot of what I do is Flash stuff for web sites. Flash still isn't the best tool for some of what I do, I'd quite like to use Director more, and even Unity. When it comes to mobile apps you can really use any tool you like, and that's a huge area for LiveCode to be used for. I'm even writing a book on using LiveCode for making mobile apps! However, LiveCode can't do everything, yet, and I was approached to make an app in LiveCode, that had features not well suited to it. I gather that other LiveCode experts were consulted, and they too thought that some of the features would be impossible to do in LiveCode. So, using some of my daytime skills I made the app as a Flash app. It's live in the iOS App Store and the Amazon stores (including for Kindle Fire). It's not quite live in the Google Play store, they have a weird submission process that has caused delays. It'll be there one of these days. The app is targeted at Education, with the ideal user being a youngster who wants to be entertained as they learn to read. It has a prominent placing in the Amazon store, in the education section at least, and it has a 5 start rating so far in the iOS store. Here are a couple of links: http://www.amazon.com/gp/new-releases/hi/2478842011?tag=peogeousd-20 http://itunes.apple.com/us/app/meet-heckerty/id514220257?mt=8 When it's in the Google Play store I'll post a link. From pete at lcsql.com Thu Apr 19 23:19:31 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 19 Apr 2012 20:19:31 -0700 Subject: Position of a tab in a tab control. Message-ID: Is there a way to get hold of the coordinates of the label of the currently selected tab of a tab control? I have a control that I want to position immediately below the label of the current tab of a tab control. I tried doing this by trial and error, adding a number of pixels to the left of the control to position it correctly. This was all on a Mac and as soon as I tried it on a Windows machine, the control is not positioned correctly, and I suspect it would be affected by different screen resolutions also. Pete lcSQL Software From barrysum at bigpond.net.au Fri Apr 20 02:50:56 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Fri, 20 Apr 2012 16:50:56 +1000 Subject: use-livecode Digest, Vol 103, Issue 30 In-Reply-To: References: Message-ID: <000001cd1ec1$f02d1460$d0873d20$@bigpond.net.au> Hi Gregory, I've just spend a few weeks setting up LiveCode server on win32 under IIS 5.1. And pretty much had to start from scratch to get LiveCode Server up n running. If you haven't already stepped thru this how to (don't just read thru it. Do it. And verify each step) : How-do-I-install-LiveCode-Server-on-OS-X-with-Apache- http://lessons.runrev.com/s/lessons/m/4070/l/36653-How-do-I-install-LiveCode -Server-on-OS-X-with-Apache- Have you had apache working before? If not, get Apache working first. Then modify the hello world scripts that are working on Apache. By placing your test script line in it. And renaming it to .lc And test again. HTH -----Original Message----- Message: 6 Date: Wed, 18 Apr 2012 14:47:32 -0400 From: Gregory Lypny To: LiveCode Subject: Can't Get Server Engine to Work on My Mac Message-ID: <1A33D6B4-AB85-4CC1-A8C7-E5CE7C30A99E at videotron.ca> Content-Type: text/plain; charset=us-ascii Hello everyone, I must have missed something because I can't get the server engine to work on my Mac. Here's what I did. 1. I placed the livecode-server executable and the drivers and externals folder into /Library/WebServer/CGI-Executables/ 2. I added these two lines AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server at the end of the section of httpd.conf 3. I restarted Apache by toggling the web sharing checkbox in system preferences To test the server, I created a page in iWeb and added an HTML snippet containing

The internet date is

Nothing from the snippet appears on the page. What am I doing wrong? Gregory ------------------------------ Message: 7 Date: Wed, 18 Apr 2012 14:33:36 -0500 From: Ken Ray To: How to use LiveCode Subject: Re: Help understanding iOS deployment Message-ID: Content-Type: text/plain; charset=windows-1252 > Right. Every testing device has to be entered in the portal. Then you either make new development provisioning profiles (which will include their devices) or you can refresh your existing profile via XCode. Once the profile has been updated to include the new devices, rebuild the standalone with the new profile. This is a critical piece that many miss? if you had a standalone that was sent to two people and worked and you then went and added a third person (device) to the portal, you can't just send the same standalone to the third person? you have to *rebuild the standalone* with the new profile in order for the third person to be able to use your standalone. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ------------------------------ Message: 8 Date: Wed, 18 Apr 2012 13:38:55 -0700 From: Jim Lambert To: use-livecode at lists.runrev.com Subject: Re: Help understanding iOS deployment Message-ID: Content-Type: text/plain; charset=us-ascii Graham, TestFlight is a helpful friend for management of devices & smaller scale distribution outside of the App Store. http://www.testflightapp.com Jim Lambert ------------------------------ Message: 9 Date: Wed, 18 Apr 2012 16:13:43 -0500 From: Charles E Buchwald To: How to use LiveCode Subject: Re: Help understanding iOS deployment Message-ID: <344088A8-B8D2-4A02-8CAE-68A91AD5A717 at buchwald.ca> Content-Type: text/plain; charset=windows-1252 Hi Jim, TestFlight looks interesting... how does one use it with LC? - Charles On 2012-04-18, at 3:38 PM, Jim Lambert wrote: > Graham, > > TestFlight is a helpful friend for management of devices & smaller scale distribution outside of the App Store. > > http://www.testflightapp.com > > > 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 -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter Please consider the environment before printing this email. ------------------------------ Message: 10 Date: Wed, 18 Apr 2012 17:51:17 -0500 From: Chipp Walters To: How to use LiveCode Subject: Re: Interesting breach of iOS terms or something for LC users? Message-ID: Content-Type: text/plain; charset=ISO-8859-1 I'm not sure I agree. AppGyver (AG) has many of the same api hooks to iOS as LC. So, in theory, one could just as easily abuse those privileges in an AG player as a LC player. For instance, say you write an AG file (html/jscript) to access the native features of iOS like the contacts list, and copy them all and transport them somewhere over the Internet. That does something significantly *different* than what Safari can do. And, in my mind, it represents just as much a security risk as what you can do with LC. On Wed, Apr 18, 2012 at 4:38 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Just like PhoneGap, AppGyver is basically a locally functioning website > and does nothing that Safari can't do. If Apple has already approved the > engine, then Apple might tolerate the preview app. This doesn't pave the > way for RunRev to do something similar. > > ------------------------------ Message: 11 Date: Thu, 19 Apr 2012 13:25:30 +0900 From: Nicolas Cueto To: LiveCode - general LiveCode Subject: Android field and word prediction Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hello All, When typing in my Android app within a simple text-field object and with the "word prediction" setting checked on, clicking on any one of the suggested words results in only the first letter of that word appearing in the text field. Same thing happens if the suggested words are ignored and I simply continue typing. Which means that, to type a word,"Enter" must be hit after each letter is typed. Of course, the field works as expected if "word prediction" is turned off in the settings. But that's not a solution. I tried the Android Release Notes, but couldn't find anything related to this problem. Advice please? Thanks. -- Nicolas Cueto ------------------------------ Message: 12 Date: Thu, 19 Apr 2012 01:05:15 -0400 From: "Ralph DiMola" To: "How to use LiveCode", rdimola at evergreeninfo.net Subject: Re: Android field and word prediction Message-ID: <05ec8aec-735b-40b4-8806-6c36670c5d28 at blur> Content-Type: text/plain; Format="Flowed"; DelSp="Yes"; charset="US-ASCII" Nicolas, I have been testing with froyo and text field input works as expected. When I tested on a gingerbread tablet today I saw the same thing. What version of LC and Android are you running? Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Nicolas Cueto To: LiveCode - general LiveCode Sent: Thu, Apr 19, 2012 04:25:30 GMT+00:00 Subject: Android field and word prediction Hello All, When typing in my Android app within a simple text-field object and with the "word prediction" setting checked on, clicking on any one of the suggested words results in only the first letter of that word appearing in the text field. Same thing happens if the suggested words are ignored and I simply continue typing. Which means that, to type a word,"Enter" must be hit after each letter is typed. Of course, the field works as expected if "word prediction" is turned off in the settings. But that's not a solution. I tried the Android Release Notes, but couldn't find anything related to this problem. Advice please? Thanks. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------ Message: 13 Date: Thu, 19 Apr 2012 14:24:48 +0900 From: Nicolas Cueto To: How to use LiveCode Subject: Re: Android field and word prediction Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Ralph, LC = 5.5.1-dp1 HTC Evo phone = Android 2.3.4 AVD Manager setting for that HTC = Android 2.3.3 Api Level 10 LC standalone minimum OS setting = tried both Android 2.2 and Android 2.3 Again, text field input works as expected. But not if "word prediction" is turned on. Cheers. -- Nicolas Cueto ------------------------------ Message: 14 Date: Thu, 19 Apr 2012 15:01:48 +0200 From: Graham Samuel To: use-livecode at lists.runrev.com Subject: Data persistence in iOS apps Message-ID: Content-Type: text/plain; CHARSET=US-ASCII In LiveCode desktop apps, you can't put stuff in the mainstack of the app or its substacks and expect it to be there next time the program is run: there are often questions on this list about this kind of thing. The basic rule that prevents self-modifying programs in modern OSs means that the mainstack is essentially read-only, so saving of the main stack and its whole data tree is not allowed: the traditional solution is "put your data into a different stack which you open at the start of the program and save when it quits" (the Splash Screen method). Now, what about iOS? As far as I understand the iOS app concept (which is not very well), the whole thing runs in the app's sandbox, and when the program quits or is suspended (same thing, in effect), the entire state of the app is recorded. If this is true, then you might think that when an app creates new cards in its main stack, then those cards will still be there when you restart the program. My experiments show that they aren't - this is not unexpected exactly, but it raises the question: what is kept in the sandbox - is it only stuff that has been deliberately saved in the 'documents' folder or whatever? Or is some other status information stored by the system and if so what? Can I know for example how many times my app has been launched on this device? I expect there is something about this deep in the XCode docs but I have not found it. Does anyone know? Graham ------------------------------ Message: 15 Date: Thu, 19 Apr 2012 09:32:52 -0400 From: Colin Holgate To: How to use LiveCode Subject: Re: Data persistence in iOS apps Message-ID: <88C1CC48-2BEC-4195-8397-4AFF57482AB2 at verizon.net> Content-Type: text/plain; charset=us-ascii With iOS you have to save a copy of the stack into the documents folder, and then jump into that stack. Then changes can be saved. ------------------------------ Message: 16 Date: Thu, 19 Apr 2012 09:18:32 -0700 From: Jim Little To: use-livecode at lists.runrev.com Subject: (OT) Our 1st App: Flat Out Fitness Message-ID: <83079A8C-86C4-42AF-978A-4F83BFD94919 at mac.com> Content-Type: text/plain; CHARSET=US-ASCII HI All, Our first app was released on the App Store today. It was made with LiveCode and is an exercise timer for High Intensity Interval Training (HIIT). Go to our website to learn more about this type of exercise: http://flatoutfitness.com The full version costs $0.99. The lite version (Flat Out Lite) is free but has limited functionality. http://itunes.apple.com/us/app/flat-out-fitness/id503962257?ls=1&mt=8 We have some free promo codes. If you're interested, please e-mail us at help at flatoutfitness.com Please send us any suggestions. Thanks to this list and the wider LiveCode community for assistance along the way. Regards, Todd & Jim Little ------------------------------ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-livecode End of use-livecode Digest, Vol 103, Issue 30 ********************************************* From rolf.kocherhans at id.uzh.ch Fri Apr 20 04:15:37 2012 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Fri, 20 Apr 2012 10:15:37 +0200 Subject: openStack called from subStack - why ? Message-ID: <0915CDD7-186C-405F-BFAE-F16DE3CD328E@id.uzh.ch> After years of coding, today I discovered for the first time while debugging that an openStack handler in a mainStack gets also called when a subStack of it is opened ! I put this into the stackScript of the MainStack: global varMainStackName on openStack put the short name of this stack into varMainStackName end openStack In a button I display the variable varMainStackName: global varMainStackName on mouseUp answer varMainStackName end mouseUp When I now add a substack also containing the display button it contains the name of the substack and not the name of the mainStack ! I found in the docs that if I put the script onto the first card of the mainStack instead of into the stackScript, it all works as expected ! But why ? This confuses me totally ! I always had the (wrong!) impression that every openStack handler is only called once, and also that it belongs to the stack containing it. Can someone explain why this is not so ! Cheers Rolf From jacques.hausser at unil.ch Fri Apr 20 04:27:54 2012 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 20 Apr 2012 10:27:54 +0200 Subject: openStack called from subStack - why ? In-Reply-To: <0915CDD7-186C-405F-BFAE-F16DE3CD328E@id.uzh.ch> References: <0915CDD7-186C-405F-BFAE-F16DE3CD328E@id.uzh.ch> Message-ID: <22F8978D-024F-4790-B3CD-B5FEE99F5C62@unil.ch> Hi Rolf, Seems straightforward for me: every message handler in the main stack's script is available to every substack and their cards? that's the ground of the message path! Jacques Le 20 avr. 2012 ? 10:15, Rolf Kocherhans a ?crit : > After years of coding, today I discovered for the first time while debugging > that an openStack handler in a mainStack gets also called when a subStack > of it is opened ! > > I put this into the stackScript of the MainStack: > > global varMainStackName > on openStack > put the short name of this stack into varMainStackName > end openStack > > In a button I display the variable varMainStackName: > > global varMainStackName > on mouseUp > answer varMainStackName > end mouseUp > > When I now add a substack also containing the display button > it contains the name of the substack and not the name of > the mainStack ! > > I found in the docs that if I put the script onto the first card of > the mainStack instead of into the stackScript, it all works as expected ! > > But why ? > This confuses me totally ! > > I always had the (wrong!) impression that every openStack handler is > only called once, and also that it belongs to the stack containing it. > > Can someone explain why this is not so ! > > Cheers > Rolf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lc at pbh.on-rev.com Fri Apr 20 05:35:05 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 20 Apr 2012 10:35:05 +0100 Subject: Position of a tab in a tab control. In-Reply-To: References: Message-ID: <6386C08F-86FE-431D-B223-15B7603287AE@pbh.on-rev.com> Pete, I may be wrong, but I don't think there's a way to control the differences between the two platforms without rolling your own tab control. However, Mark Schonewille has done much of the work and made his custom tab control available through RevOnline, just search for "custom tab" and you should find it, or the web hosted version is here? http://revonline2.runrev.com/stack/258/Custom-Tab-Button You should be able to adapt it (or copy the principles) to suit your needs. Paul On 20 Apr 2012, at 04:19, Peter Haworth wrote: > Is there a way to get hold of the coordinates of the label of the currently > selected tab of a tab control? > > I have a control that I want to position immediately below the label of the > current tab of a tab control. I tried doing this by trial and error, > adding a number of pixels to the left of the control to position it > correctly. This was all on a Mac and as soon as I tried it on a Windows > machine, the control is not positioned correctly, and I suspect it would be > affected by different screen resolutions also. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Apr 20 06:13:14 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 20 Apr 2012 04:13:14 -0600 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: <1A33D6B4-AB85-4CC1-A8C7-E5CE7C30A99E@videotron.ca> References: <1A33D6B4-AB85-4CC1-A8C7-E5CE7C30A99E@videotron.ca> Message-ID: Hey, there should be a line to set the options for that directory, might make sure that ExecCGI is there in the conf file. Also, while not sure how likely this is, when you go looking for the right set of conf files to modify, make sure that you don't have both /etc/httpd folder and /etc/apache2 If you have both, the most likely location that you should be modifying is the /etc/apache2 stuff. Also again if you have both there is a chance that the set up of the files is a bit different in that you won't modify the httpd.conf itself (though I think this can be made to work) but instead there are a couple of folders for 'sites' (one contains symlinks of the files of the other. Any file that has a symlink is an active 'site' for your server) Let me know if this is the case for you and i'll see if I can dig up my info on setting up LC with the alternative structure. I know its around here somewhere. On Wed, Apr 18, 2012 at 12:47 PM, Gregory Lypny wrote: > Hello everyone, > > I must have missed something because I can't get the server engine to work > on my Mac. Here's what I did. > > 1. I placed the livecode-server executable and the drivers and externals > folder into /Library/WebServer/CGI-Executables/ > > 2. I added these two lines > > AddHandler livecode-script .lc > Action livecode-script /cgi-bin/livecode-server > > at the end of the section of > httpd.conf > > 3. I restarted Apache by toggling the web sharing checkbox in system > preferences > > To test the server, I created a page in iWeb and added an HTML snippet > containing > >

The internet date is

> > Nothing from the snippet appears on the page. What am I doing wrong? > > Gregory > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cszasz at mac.com Fri Apr 20 07:00:09 2012 From: cszasz at mac.com (Charles Szasz) Date: Fri, 20 Apr 2012 07:00:09 -0400 Subject: Can Rev do this? Message-ID: I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? Sent from my iPad From m.schonewille at economy-x-talk.com Fri Apr 20 07:15:27 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Apr 2012 13:15:27 +0200 Subject: Copying formatted text from a field to Pages In-Reply-To: References: Message-ID: <66B4ACC4-4A26-4DC4-A932-F9C508CD17A9@economy-x-talk.com> Hi iPad :-) Have you made sure that the field font is not Time New Roman and have you used the syntax set char 1 to -1 of fld x to "Times New Roman" ? How do you copy? You might want to use set the clipboarddata["rtf"] to the rtfText of fld x or maybe set the clipboarddata["html"] to the htmlText of fld x instead of using the text property of the field or even selecting the text and using the copy command (although the latter might work). Does it work if you copy manually? There might be some AppleScript commands that make Pages paste formatted text. I don't uses Pages, but if there is a menu item "Paste Formatted Text" (or similar) then you might also use GUI scripting. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 20 apr 2012, at 13:00, Charles Szasz wrote: > I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? > > Sent from my iPad From richmondmathewson at gmail.com Fri Apr 20 07:38:58 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Apr 2012 14:38:58 +0300 Subject: Can Rev do this? In-Reply-To: References: Message-ID: <4F914AD2.6090608@gmail.com> On 04/20/2012 02:00 PM, Charles Szasz wrote: > I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? My experience on Mac and Linux is that pasted text does not take its font attributes with it. > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Apr 20 07:41:50 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Apr 2012 14:41:50 +0300 Subject: Copying formatted text from a field to Pages In-Reply-To: <66B4ACC4-4A26-4DC4-A932-F9C508CD17A9@economy-x-talk.com> References: <66B4ACC4-4A26-4DC4-A932-F9C508CD17A9@economy-x-talk.com> Message-ID: <4F914B7E.7070709@gmail.com> On 04/20/2012 02:15 PM, Mark Schonewille wrote: > Hi iPad :-) > > Have you made sure that the field font is not Time New Roman and have you used the syntax > > set char 1 to -1 of fld x to "Times New Roman" > > ? How do you copy? You might want to use > > set the clipboarddata["rtf"] to the rtfText of fld x > > or maybe > > set the clipboarddata["html"] to the htmlText of fld x Oooo! Thanks so much; nice to be wrong sometimes. > > instead of using the text property of the field or even selecting the text and using the copy command (although the latter might work). Does it work if you copy manually? > > There might be some AppleScript commands that make Pages paste formatted text. I don't uses Pages, but if there is a menu item "Paste Formatted Text" (or similar) then you might also use GUI scripting. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 20 apr 2012, at 13:00, Charles Szasz wrote: > >> I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? >> >> Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Fri Apr 20 07:48:08 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 20 Apr 2012 07:48:08 -0400 Subject: Can Rev do this? In-Reply-To: References: Message-ID: Hi Charles, You may be able to write an applescript which will tell "Pages" what to set the font to, and then do your paste. Good luck! Rick On Apr 20, 2012, at 7:00 AM, Charles Szasz wrote: > I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? > > Sent from my iPad > From rolf.kocherhans at id.uzh.ch Fri Apr 20 08:04:35 2012 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Fri, 20 Apr 2012 14:04:35 +0200 Subject: openStack called from subStack - why ? Message-ID: <9970F6E3-450C-4DBE-97DE-F21F69884EFA@id.uzh.ch> Hello Jacques Thanks for your answer - but?. I know about the message path and that handlers in the main stack can be used by all of it's substacks, I used this feature myself for many years ! What puzzles me is that an openStack handler in the mainStack gets executed when a substack (containing NO CODE at all) is opened ? Till today I was thinking openStack handlers are a per stack thing only. I am still confused abut this :-) Cheers Rolf > Hi Rolf, > Seems straightforward for me: every message handler in the main stack's script is available to every substack and their cards? that's the ground of the message path! > Jacques > > Le 20 avr. 2012 ? 10:15, Rolf Kocherhans a ?crit : > >> After years of coding, today I discovered for the first time while debugging >> that an openStack handler in a mainStack gets also called when a subStack >> of it is opened ! >> >> I put this into the stackScript of the MainStack: >> >> global varMainStackName >> on openStack >> put the short name of this stack into varMainStackName >> end openStack >> >> In a button I display the variable varMainStackName: >> >> global varMainStackName >> on mouseUp >> answer varMainStackName >> end mouseUp >> >> When I now add a substack also containing the display button >> it contains the name of the substack and not the name of >> the mainStack ! >> >> I found in the docs that if I put the script onto the first card of >> the mainStack instead of into the stackScript, it all works as expected ! >> >> But why ? >> This confuses me totally ! >> >> I always had the (wrong!) impression that every openStack handler is >> only called once, and also that it belongs to the stack containing it. >> >> Can someone explain why this is not so ! >> >> Cheers >> Rolf From klaus at major.on-rev.com Fri Apr 20 08:31:09 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 20 Apr 2012 14:31:09 +0200 Subject: openStack called from subStack - why ? In-Reply-To: <9970F6E3-450C-4DBE-97DE-F21F69884EFA@id.uzh.ch> References: <9970F6E3-450C-4DBE-97DE-F21F69884EFA@id.uzh.ch> Message-ID: <497D8B7F-D64F-4873-8BC3-9EE65D720B53@major.on-rev.com> Hi Rolf, Am 20.04.2012 um 14:04 schrieb Rolf Kocherhans: > Hello Jacques > > Thanks for your answer - but?. > > I know about the message path and that handlers in the main stack can be used by > all of it's substacks, I used this feature myself for many years ! > > What puzzles me is that an openStack handler in the mainStack gets executed when > a substack (containing NO CODE at all) is opened ? > > Till today I was thinking openStack handlers are a per stack thing only. Nope, that's what the message hierarchy is all about! :-) > I am still confused abut this :-) If your substack(s) does not have a "pre-/openstack" (etc.) handler but its MAINSTACK does, then the mainstacks scripts will be executed! There are several ways to prevent this: 1. Put the (stack scpecific) "pre-/openstack" handler(s) into the script of card 1 of your stack, it will be executed, but only for htat namely stack. 2. Add a "dummy" script in the substack(s): on openstack ## Nada :-) end openstack Dito for PREOPENSTACK if neccessary... > Cheers > Rolf Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Fri Apr 20 08:50:49 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Apr 2012 14:50:49 +0200 Subject: AW: openStack called from subStack - why ? In-Reply-To: <497D8B7F-D64F-4873-8BC3-9EE65D720B53@major.on-rev.com> References: <9970F6E3-450C-4DBE-97DE-F21F69884EFA@id.uzh.ch> <497D8B7F-D64F-4873-8BC3-9EE65D720B53@major.on-rev.com> Message-ID: <007301cd1ef4$372d1f90$a5875eb0$@de> > > 2. Add a "dummy" script in the substack(s): > > on openstack > ## Nada :-) > end openstack > And don't put "pass openstack" at the end of this dummy, as you usually should do ... :) Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From mcgrath3 at mac.com Fri Apr 20 09:13:56 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 20 Apr 2012 09:13:56 -0400 Subject: =?windows-1252?Q?Re=3A_=5BOT-ish=5D_an_app_I_made=85?= In-Reply-To: <2258A954-F059-4B6E-83EC-D05885FB2171@verizon.net> References: <2258A954-F059-4B6E-83EC-D05885FB2171@verizon.net> Message-ID: <9E7EE8E8-62D5-490D-9299-AAFD3C7279FE@mac.com> Colin, Congratulations on the release. I would love to see the list of features that were 'not' suited well for LiveCode. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 19, 2012, at 10:25 PM, Colin Holgate wrote: > I'm a big proponent of using the best tool for the job. That clashes somewhat with client requirements, they like to use the product that leads to the least amount of effort for the end user. In my day job that means that a lot of what I do is Flash stuff for web sites. Flash still isn't the best tool for some of what I do, I'd quite like to use Director more, and even Unity. > > When it comes to mobile apps you can really use any tool you like, and that's a huge area for LiveCode to be used for. I'm even writing a book on using LiveCode for making mobile apps! However, LiveCode can't do everything, yet, and I was approached to make an app in LiveCode, that had features not well suited to it. I gather that other LiveCode experts were consulted, and they too thought that some of the features would be impossible to do in LiveCode. > > So, using some of my daytime skills I made the app as a Flash app. It's live in the iOS App Store and the Amazon stores (including for Kindle Fire). It's not quite live in the Google Play store, they have a weird submission process that has caused delays. It'll be there one of these days. > > The app is targeted at Education, with the ideal user being a youngster who wants to be entertained as they learn to read. It has a prominent placing in the Amazon store, in the education section at least, and it has a 5 start rating so far in the iOS store. Here are a couple of links: > > http://www.amazon.com/gp/new-releases/hi/2478842011?tag=peogeousd-20 > > http://itunes.apple.com/us/app/meet-heckerty/id514220257?mt=8 > > When it's in the Google Play store I'll post a link. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 20 10:00:20 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Apr 2012 16:00:20 +0200 Subject: [ANN] iOS GUI Elements 1.3 for LiveCode Message-ID: Hi guys, I have updated the iOS GUI Elements for LiveCode. A resizeTabBar handler has been added, to automatically resize the Tab Bar at the bottom of the page. The Search Table View now accommodates for the keyboard on both iPhone and iPad by itself when you resize your stack and two new keyboardActivated and keyboardDeactivated handlers trigger the Search Table View to resize itself when needed. I have also been testing the elements on iPad and all seems to work fine. The documentation includes a few hints about resizing for different screen resolutions. The GUI Elements for LiveCode can be downloaded at http://qery.us/13b after making a donation. If you have donated in the past, then you can freely download everything from the private section of Economy-x-Talk's website. Although the GUI collection is provided "as is", comments and bug reports are highly appreciated. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 From pmbrig at gmail.com Fri Apr 20 10:28:16 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 20 Apr 2012 10:28:16 -0400 Subject: openStack called from subStack - why ? In-Reply-To: <22F8978D-024F-4790-B3CD-B5FEE99F5C62@unil.ch> References: <0915CDD7-186C-405F-BFAE-F16DE3CD328E@id.uzh.ch> <22F8978D-024F-4790-B3CD-B5FEE99F5C62@unil.ch> Message-ID: More specifically: close a stack, and the "closeStack" message is sent first to the current card of the closing stack. When you close a substack, if there is no closestack handler in the card script then the message is passed up the message path, and the next station on the path is the substack stack script. If there is a closestack handler there, it will get triggered. If not, it will be passed along, first to the mainstack stack script, then to any backscripts and stacksinuse, and if nothing handles it, the message goes to the engine and gets flushed. Putting a closestack handler for a mainstack into the card script is the easiest way to handle closestack routines when they are specific to closing the mainstack, since closestack messages sent up the message path don't go to the mainstack *card* script. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 20, 2012, at 4:27 AM, Jacques Hausser wrote: > Hi Rolf, > Seems straightforward for me: every message handler in the main stack's script is available to every substack and their cards? that's the ground of the message path! > Jacques > > Le 20 avr. 2012 ? 10:15, Rolf Kocherhans a ?crit : > >> After years of coding, today I discovered for the first time while debugging >> that an openStack handler in a mainStack gets also called when a subStack >> of it is opened ! >> >> I put this into the stackScript of the MainStack: >> >> global varMainStackName >> on openStack >> put the short name of this stack into varMainStackName >> end openStack >> >> In a button I display the variable varMainStackName: >> >> global varMainStackName >> on mouseUp >> answer varMainStackName >> end mouseUp >> >> When I now add a substack also containing the display button >> it contains the name of the substack and not the name of >> the mainStack ! >> >> I found in the docs that if I put the script onto the first card of >> the mainStack instead of into the stackScript, it all works as expected ! >> >> But why ? >> This confuses me totally ! >> >> I always had the (wrong!) impression that every openStack handler is >> only called once, and also that it belongs to the stack containing it. >> >> Can someone explain why this is not so ! >> >> Cheers >> Rolf >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 20 10:51:28 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 20 Apr 2012 10:51:28 -0400 Subject: =?windows-1252?Q?Re=3A_=5BOT-ish=5D_an_app_I_made=85?= In-Reply-To: <9E7EE8E8-62D5-490D-9299-AAFD3C7279FE@mac.com> References: <2258A954-F059-4B6E-83EC-D05885FB2171@verizon.net> <9E7EE8E8-62D5-490D-9299-AAFD3C7279FE@mac.com> Message-ID: <356FE967-92B6-43D5-BC3A-EA62D09CE9D4@verizon.net> The screen recording on this page gives some idea: http://www.heckerty.com/Heckerty/Heckerty.html By using Flash I could do reveals and multiple transitions at the same time, synchronized to audio, and with lots of character animations buried away. All without any code. On Apr 20, 2012, at 9:13 AM, Thomas McGrath III wrote: > >Congratulations on the release. I would love to see the list of features that were 'not' suited well for LiveCode. From pmbrig at gmail.com Fri Apr 20 11:14:11 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 20 Apr 2012 11:14:11 -0400 Subject: Position of a tab in a tab control. In-Reply-To: <6386C08F-86FE-431D-B223-15B7603287AE@pbh.on-rev.com> References: <6386C08F-86FE-431D-B223-15B7603287AE@pbh.on-rev.com> Message-ID: If using Mark's custom tab control doesn't work for you, here's a kludgy work-around. It requires a hidden field "hiddenTestFld" with margins set to 6. on positionControl btnName, tabNbr -- btnName is the name of your tab button put the formattedwidth of btn btnName into bWidth put the formattedheight of btn btnName into bHeight put item 1 of the loc of btn btnName into bCenter put bWidth div 2 into halfWidth put bCenter - halfWidth into bLeft put bCenter + halfWidth into bRight put the top of btn btnName into bTop set the textfont of fld "hiddenTestFld" to the textfont of btn btnName set the textsize of fld "hiddenTestFld" to the textsize of btn btnName put 0 into divisions repeat with n = 1 to the number of lines of btn btnName put line n of btn btnName into tabName put tabName into fld "hiddenTestFld" put (the formattedwidth of fld "hiddenTestFld") into tWidth put (item n of divisions) + tWidth into item n+1 of divisions end repeat put (item tabNbr of divisions) + bLeft into tabLeft put (item tabNbr+1 of divisions) + bLeft into tabRight put tabLeft + ((tabRight - tabLeft) div 2) into tabCenter set the loc of btn "floatingControl" to tabCenter,bHeight+24 end positionControl The result in placing the control (in this case btn "floatingControl") below the correct tab is not quite exact, for reasons I haven't gotten to the bottom of, but you could fiddle with it a bit. HTH, -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Apr 20, 2012, at 5:35 AM, Paul Hibbert wrote: > Pete, > > I may be wrong, but I don't think there's a way to control the differences between the two platforms without rolling your own tab control. > > However, Mark Schonewille has done much of the work and made his custom tab control available through RevOnline, just search for "custom tab" and you should find it, or the web hosted version is here? > > http://revonline2.runrev.com/stack/258/Custom-Tab-Button > > You should be able to adapt it (or copy the principles) to suit your needs. > > Paul > > On 20 Apr 2012, at 04:19, Peter Haworth wrote: > >> Is there a way to get hold of the coordinates of the label of the currently >> selected tab of a tab control? >> >> I have a control that I want to position immediately below the label of the >> current tab of a tab control. I tried doing this by trial and error, >> adding a number of pixels to the left of the control to position it >> correctly. This was all on a Mac and as soon as I tried it on a Windows >> machine, the control is not positioned correctly, and I suspect it would be >> affected by different screen resolutions also. >> >> Pete >> lcSQL Software >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Fri Apr 20 11:41:51 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 20 Apr 2012 11:41:51 -0400 Subject: Geometry Manager Problem In-Reply-To: <4F68C99A.9040301@comcast.net> References: <4F680280.1010402@comcast.net> <4F68C99A.9040301@comcast.net> Message-ID: I never use the geometry manager because I set my stacks so they can't be resized. But I was getting errors in a simple handler like this: two stacks. Stack 1 with button go card 1 of stack 2 then get a function (which is in the background of stack 2). The function only worked when stack 2 is already open to card 1 of stack 2. If stack 2 is on card 2 of stack 2 and the button in stack 1 has to not only open stack 2 but also open card 1 then the function was not called. I did lots of debugging sessions. Looked for an open card handler. Made sure they were all passed. Finally I got the debugger at my breakpoint (set where the function was called) to inconsistently say a bunch of gobblygook, numbers and such, which started with geometry manager (which I don't use). So the solution was to wrap the code in the button on stack 1 in "lock messages". So I learned that geometry manager causes problems. There is no way to turn geometry manager off even if you don't use it but that a simple "lock messages" on everything solves it. I am now tempted to madly put "lock messages" everywhere. From irog at mac.com Fri Apr 20 12:02:43 2012 From: irog at mac.com (Roger Guay) Date: Fri, 20 Apr 2012 09:02:43 -0700 Subject: [ANN] Radial Dial Making Utility In-Reply-To: References: Message-ID: Thanks, for the generous offer Richmond. I can, of course, make the Linux standalone (albeit I can't test it), but of what use would a RadialDialOmatic standalone be? If your suggestion is to build the Linux standalones of my other offerings, then your offer is way too generous!! BTW, the background image on my downloads page is one of the many lovely deep space Hubble images, but I can't remember which one. http://hubblesite.org/gallery/album/entire/ Cheers, Roger On Apr 20, 2012, at 7:28 AM, use-livecode-request at lists.runrev.com wrote: > Message: 5 > Date: Thu, 19 Apr 2012 21:08:54 +0300 > From: Richmond > To: How to use LiveCode > Subject: Re: ANN: Radial Dial Making Utility > Message-ID: <4F9054B6.1000507 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 04/19/2012 08:24 PM, Roger Guay wrote: >> Hi All, >> >> RadialDialOmatic is a utility I created to make nice (even if I say so myself) Radial Dials. With RevOnLine still down, I'm afraid you will have to go to my downloads page to get it: >> >> http://web.me.com/irog/Roger_Guay/Downloads.html >> >> Or email me and I will send one to you. > > Would you like me to make Linux standalones and send them over to you to > have on your website? From richmondmathewson at gmail.com Fri Apr 20 12:21:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Apr 2012 19:21:03 +0300 Subject: [ANN] Radial Dial Making Utility In-Reply-To: References: Message-ID: <4F918CEF.7000708@gmail.com> On 04/20/2012 07:02 PM, Roger Guay wrote: > Thanks, for the generous offer Richmond. I can, of course, make the Linux standalone (albeit I can't test it), but of what use would a RadialDialOmatic standalone be? If your suggestion is to build the Linux standalones of my other offerings, then your offer is way too generous!! I am more than happy to run off standalones of your other stacks and try them out on Linux. If you could give me somewhere to upload the finished products to ............ > > BTW, the background image on my downloads page is one of the many lovely deep space Hubble images, but I can't remember which one. > > http://hubblesite.org/gallery/album/entire/ > > Cheers, > Roger > > On Apr 20, 2012, at 7:28 AM, use-livecode-request at lists.runrev.com wrote: > >> Message: 5 >> Date: Thu, 19 Apr 2012 21:08:54 +0300 >> From: Richmond >> To: How to use LiveCode >> Subject: Re: ANN: Radial Dial Making Utility >> Message-ID:<4F9054B6.1000507 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> On 04/19/2012 08:24 PM, Roger Guay wrote: >>> Hi All, >>> >>> RadialDialOmatic is a utility I created to make nice (even if I say so myself) Radial Dials. With RevOnLine still down, I'm afraid you will have to go to my downloads page to get it: >>> >>> http://web.me.com/irog/Roger_Guay/Downloads.html >>> >>> Or email me and I will send one to you. >> Would you like me to make Linux standalones and send them over to you to >> have on your website? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gregory.lypny at videotron.ca Fri Apr 20 12:48:42 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 20 Apr 2012 12:48:42 -0400 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: References: Message-ID: <86475E8A-9C01-4FD6-B146-81506ECA0E9A@videotron.ca> Much appreciated, Mike. I will tinker with it this afternoon, and post what I find. Gregory On 2012-04-20, at 10:28 AM, use-livecode-request at lists.runrev.com wrote: > Message: 17 > Date: Fri, 20 Apr 2012 04:13:14 -0600 > From: Mike Bonner > To: How to use LiveCode > Subject: Re: Can't Get Server Engine to Work on My Mac > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hey, there should be a line to set the options for that directory, might > make sure that ExecCGI is there in the conf file. > > Also, while not sure how likely this is, when you go looking for the right > set of conf files to modify, make sure that you don't have both /etc/httpd > folder and /etc/apache2 If you have both, the most likely location that > you should be modifying is the /etc/apache2 stuff. Also again if you have > both there is a chance that the set up of the files is a bit different in > that you won't modify the httpd.conf itself (though I think this can be > made to work) but instead there are a couple of folders for 'sites' (one > contains symlinks of the files of the other. Any file that has a symlink is > an active 'site' for your server) > > Let me know if this is the case for you and i'll see if I can dig up my > info on setting up LC with the alternative structure. I know its around > here somewhere. From jacque at hyperactivesw.com Fri Apr 20 12:49:34 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Apr 2012 11:49:34 -0500 Subject: Geometry Manager Problem In-Reply-To: References: <4F680280.1010402@comcast.net> <4F68C99A.9040301@comcast.net> Message-ID: <4F91939E.8020309@hyperactivesw.com> On 4/20/12 10:41 AM, william humphrey wrote: > I never use the geometry manager because I set my stacks so they can't be > resized. But I was getting errors in a simple handler like this: > > two stacks. Stack 1 with button go card 1 of stack 2 then get a function > (which is in the background of stack 2). The function only worked when > stack 2 is already open to card 1 of stack 2. If stack 2 is on card 2 of > stack 2 and the button in stack 1 has to not only open stack 2 but also > open card 1 then the function was not called. The geometry manager doesn't usually interfere with the message path. There may be something else going on. I've accidentally enabled geometry before but never had any problems with messaging. > > I did lots of debugging sessions. Looked for an open card handler. Made > sure they were all passed. Finally I got the debugger at my breakpoint (set > where the function was called) to inconsistently say a bunch of gobblygook, > numbers and such, which started with geometry manager (which I don't use). Did you try stepping into every handler, starting with the first button? That may show you where the problem is. > > So the solution was to wrap the code in the button on stack 1 in "lock > messages". So I learned that geometry manager causes problems. There is no > way to turn geometry manager off even if you don't use it but that a simple > "lock messages" on everything solves it. I am now tempted to madly put > "lock messages" everywhere. You can remove geometry by turning on "LiveCode UI elements in lists" in the View menu, and opening the property inspector for the object. Look for a custom property set named "cRevGeometry" and delete the whole property set. There may be one in every object. Altuit had a neat utility that will remove them all easily, maybe Chipp can post a link. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Fri Apr 20 13:16:17 2012 From: jiml at netrin.com (Jim Lambert) Date: Fri, 20 Apr 2012 10:16:17 -0700 Subject: [OT-ish] an app I made? In-Reply-To: References: Message-ID: Colin, Congratulations! Jim Lambert From livfoss at mac.com Fri Apr 20 13:39:52 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 20 Apr 2012 19:39:52 +0200 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: <9A293FBA-0961-4D7E-AA8A-CCCBB5E1FB3E@mac.com> Jim (and others who replied about using TestFlight) thanks very much. I am signing up to TestFlight and will do my best to get into it as soon as possible. Graham On Wed, 18 Apr 2012 13:38:55 -0700, Jim Lambert wrote: > Graham, > > TestFlight is a helpful friend for management of devices & smaller scale distribution outside of the App Store. > > http://www.testflightapp.com > > > Jim Lambert From bill at bluewatermaritime.com Fri Apr 20 14:01:22 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 20 Apr 2012 14:01:22 -0400 Subject: Geometry Manager Problem In-Reply-To: <4F91939E.8020309@hyperactivesw.com> References: <4F680280.1010402@comcast.net> <4F68C99A.9040301@comcast.net> <4F91939E.8020309@hyperactivesw.com> Message-ID: I hope Chipp posts that link. I will try a little more debugging to see what message is causing the problem. I hate debugging. On Fri, Apr 20, 2012 at 12:49 PM, J. Landman Gay wrote: > On 4/20/12 10:41 AM, william humphrey wrote: > >> I never use the geometry manager because I set my stacks so they can't be >> resized. But I was getting errors in a simple handler like this: >> >> two stacks. Stack 1 with button go card 1 of stack 2 then get a function >> (which is in the background of stack 2). The function only worked when >> stack 2 is already open to card 1 of stack 2. If stack 2 is on card 2 of >> stack 2 and the button in stack 1 has to not only open stack 2 but also >> open card 1 then the function was not called. >> > > The geometry manager doesn't usually interfere with the message path. > There may be something else going on. I've accidentally enabled geometry > before but never had any problems with messaging. > > > >> I did lots of debugging sessions. Looked for an open card handler. Made >> sure they were all passed. Finally I got the debugger at my breakpoint >> (set >> where the function was called) to inconsistently say a bunch of >> gobblygook, >> numbers and such, which started with geometry manager (which I don't use). >> > > Did you try stepping into every handler, starting with the first button? > That may show you where the problem is. > > > >> So the solution was to wrap the code in the button on stack 1 in "lock >> messages". So I learned that geometry manager causes problems. There is no >> way to turn geometry manager off even if you don't use it but that a >> simple >> "lock messages" on everything solves it. I am now tempted to madly put >> "lock messages" everywhere. >> > > You can remove geometry by turning on "LiveCode UI elements in lists" in > the View menu, and opening the property inspector for the object. Look for > a custom property set named "cRevGeometry" and delete the whole property > set. There may be one in every object. Altuit had a neat utility that will > remove them all easily, maybe Chipp can post a link. > > > -- > 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.bluewatermaritime.com From gregory.lypny at videotron.ca Fri Apr 20 16:45:03 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 20 Apr 2012 16:45:03 -0400 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: References: Message-ID: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> Hi again Mike, Thanks for the advice. I was able to get the server working, at least partly. I have the LiveCode executable in the CGI-Executables folder on my Mac. I created the one-line script put the long date in a file named longDate.lc, and placed it in the Sites folder of my user account. I was able to run it by entering http://webSiteAddress/~user/longDate.lc What does not work at the moment is calls to LiveCode from within a web page. So,

does nothing. I'll keep tinkering. Thanks again, Gregory From bonnmike at gmail.com Fri Apr 20 17:06:22 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 20 Apr 2012 15:06:22 -0600 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> References: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> Message-ID: If you are indeed using a system that has its conf files for apache in /etc/apache2 I think there is a site file in a sub folder there where you can adjust things for the main server page. Also I just remembered there are some modules involved here. Inside /etc/apache2 there is a folder that has available modules and another with active modules that - like the sites folders- if there is a symlink to an available module, that particular module is active. I don't have access to a mac at the moment, but if I get my linux box fired up i'll see if I can recall which module I turned on to get things working. Also, if you want index.lc to work as a default (like index.html) in one of the files you can set up the directory indexing which just specifies which files to load and in what order of precedence if no file is specified in the URL. Hopefully will have my system running by this eve, if so i'll post more info about all this. Also, worst case scenario you might be able to use .htaccess files to get things working. Not sure what is required to do that though so someone else would need to chime in. On Fri, Apr 20, 2012 at 2:45 PM, Gregory Lypny wrote: > Hi again Mike, > > Thanks for the advice. I was able to get the server working, at least > partly. I have the LiveCode executable in the CGI-Executables folder on my > Mac. I created the one-line script > > put the long date > > in a file named longDate.lc, and placed it in the Sites folder of my user > account. I was able to run it by entering > > http://webSiteAddress/~user/longDate.lc > > What does not work at the moment is calls to LiveCode from within a web > page. So, > >

> > does nothing. I'll keep tinkering. > > > Thanks again, > > Gregory > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Fri Apr 20 17:18:57 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 20 Apr 2012 14:18:57 -0700 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: References: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> Message-ID: I've found the .htaccess method is faster to test and make work, and doesn't mess with the guts of Apache. I will post what worked for me at dreamhost. The only downside is that one needs a cgi-bin folder and engine for each domain. On 20 April 2012 14:06, Mike Bonner wrote: > If you are indeed using a system that has its conf files for apache in > /etc/apache2 I think there is a site file in a sub folder there where you > can adjust things for the main server page. Also I just remembered there > are some modules involved here. Inside /etc/apache2 there is a folder that > has available modules and another with active modules that - like the sites > folders- if there is a symlink to an available module, that particular > module is active. I don't have access to a mac at the moment, but if I get > my linux box fired up i'll see if I can recall which module I turned on to > get things working. Also, if you want index.lc to work as a default (like > index.html) in one of the files you can set up the directory indexing which > just specifies which files to load and in what order of precedence if no > file is specified in the URL. Hopefully will have my system running by > this eve, if so i'll post more info about all this. > > Also, worst case scenario you might be able to use .htaccess files to get > things working. Not sure what is required to do that though so someone > else would need to chime in. > > On Fri, Apr 20, 2012 at 2:45 PM, Gregory Lypny > wrote: > > > Hi again Mike, > > > > Thanks for the advice. I was able to get the server working, at least > > partly. I have the LiveCode executable in the CGI-Executables folder on > my > > Mac. I created the one-line script > > > > put the long date > > > > in a file named longDate.lc, and placed it in the Sites folder of my user > > account. I was able to run it by entering > > > > http://webSiteAddress/~user/longDate.lc > > > > What does not work at the moment is calls to LiveCode from within a web > > page. So, > > > >

> > > > does nothing. I'll keep tinkering. > > > > > > Thanks again, > > > > Gregory > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From irog at mac.com Fri Apr 20 17:55:35 2012 From: irog at mac.com (Roger Guay) Date: Fri, 20 Apr 2012 14:55:35 -0700 Subject: [ANN] Radial Dial Making Utility In-Reply-To: References: Message-ID: <2885CE02-B59A-4527-A3F8-F7B4231284B1@mac.com> That is very gracious of you! I don't have a site available for you to upload to. Do you have DropBox? It's free, and it's cool!! https://www.dropbox.com Thanks, Roger On Apr 20, 2012, at 10:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 5 > Date: Fri, 20 Apr 2012 19:21:03 +0300 > From: Richmond > To: How to use LiveCode > Subject: Re: [ANN] Radial Dial Making Utility > Message-ID: <4F918CEF.7000708 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 04/20/2012 07:02 PM, Roger Guay wrote: >> Thanks, for the generous offer Richmond. I can, of course, make the Linux standalone (albeit I can't test it), but of what use would a RadialDialOmatic standalone be? If your suggestion is to build the Linux standalones of my other offerings, then your offer is way too generous!! > > I am more than happy to run off standalones of your other stacks and try > them out on Linux. > > If you could give me somewhere to upload the finished products to > ............ From alex at tweedly.net Fri Apr 20 18:51:03 2012 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 20 Apr 2012 23:51:03 +0100 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> References: <6C149A5B-1407-409C-AE26-21C3DDCCC488@videotron.ca> Message-ID: <4F91E857.5070300@tweedly.net> This is probably a stupid question but ...... your page that includes "calls to Livecode from within a web page" - that is called something.lc, isn't it ? It can't be called something.html and have the livecode calls work. Sorry if that's off track, -- Alex. On 20/04/2012 21:45, Gregory Lypny wrote: > Hi again Mike, > > Thanks for the advice. I was able to get the server working, at least partly. I have the LiveCode executable in the CGI-Executables folder on my Mac. I created the one-line script > > put the long date > > in a file named longDate.lc, and placed it in the Sites folder of my user account. I was able to run it by entering > > http://webSiteAddress/~user/longDate.lc > > What does not work at the moment is calls to LiveCode from within a web page. So, > >

> > does nothing. I'll keep tinkering. > > > Thanks again, > > Gregory > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Apr 20 20:14:35 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Apr 2012 10:14:35 +1000 Subject: ANN: Half price mergExt + MobGUI Message-ID: Hi LiveCoders For anyone who doesn't get revUp: Because mergExt and MobGUI are such natural companions as seen in my newsletter article http://www.runrev.com/newsletter/april/issue133/newsletter4.php?a=NWS131 for the next two weeks mergExt and MobGUI are half price if purchased together from the RunRev Marketplace (US$74.50) using the coupon code MERGUI Regards, Monte Goulding -- M E R Goulding Software development services From pete at lcsql.com Fri Apr 20 20:51:53 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 20 Apr 2012 17:51:53 -0700 Subject: Position of a tab in a tab control. In-Reply-To: References: <6386C08F-86FE-431D-B223-15B7603287AE@pbh.on-rev.com> Message-ID: Peter,Paul(I so wish there was a Mary on the list), Thanks for the info on Mark's tab control and the handler. I'll try both and see works best. Pete On Apr 20, 2012 8:14 AM, "Peter M. Brigham, MD" wrote: > If using Mark's custom tab control doesn't work for you, here's a kludgy > work-around. It requires a hidden field "hiddenTestFld" with margins set to > 6. > > on positionControl btnName, tabNbr > -- btnName is the name of your tab button > put the formattedwidth of btn btnName into bWidth > put the formattedheight of btn btnName into bHeight > put item 1 of the loc of btn btnName into bCenter > put bWidth div 2 into halfWidth > put bCenter - halfWidth into bLeft > put bCenter + halfWidth into bRight > put the top of btn btnName into bTop > set the textfont of fld "hiddenTestFld" to the textfont of btn btnName > set the textsize of fld "hiddenTestFld" to the textsize of btn btnName > put 0 into divisions > repeat with n = 1 to the number of lines of btn btnName > put line n of btn btnName into tabName > put tabName into fld "hiddenTestFld" > put (the formattedwidth of fld "hiddenTestFld") into tWidth > put (item n of divisions) + tWidth into item n+1 of divisions > end repeat > put (item tabNbr of divisions) + bLeft into tabLeft > put (item tabNbr+1 of divisions) + bLeft into tabRight > put tabLeft + ((tabRight - tabLeft) div 2) into tabCenter > set the loc of btn "floatingControl" to tabCenter,bHeight+24 > end positionControl > > The result in placing the control (in this case btn "floatingControl") > below the correct tab is not quite exact, for reasons I haven't gotten to > the bottom of, but you could fiddle with it a bit. > > HTH, > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Apr 20, 2012, at 5:35 AM, Paul Hibbert wrote: > > > Pete, > > > > I may be wrong, but I don't think there's a way to control the > differences between the two platforms without rolling your own tab control. > > > > However, Mark Schonewille has done much of the work and made his custom > tab control available through RevOnline, just search for "custom tab" and > you should find it, or the web hosted version is here? > > > > http://revonline2.runrev.com/stack/258/Custom-Tab-Button > > > > You should be able to adapt it (or copy the principles) to suit your > needs. > > > > Paul > > > > On 20 Apr 2012, at 04:19, Peter Haworth wrote: > > > >> Is there a way to get hold of the coordinates of the label of the > currently > >> selected tab of a tab control? > >> > >> I have a control that I want to position immediately below the label of > the > >> current tab of a tab control. I tried doing this by trial and error, > >> adding a number of pixels to the left of the control to position it > >> correctly. This was all on a Mac and as soon as I tried it on a Windows > >> machine, the control is not positioned correctly, and I suspect it > would be > >> affected by different screen resolutions also. > >> > >> Pete > >> lcSQL Software > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Apr 20 21:54:24 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 21 Apr 2012 10:54:24 +0900 Subject: install fail inconsistent certificates (Android) Message-ID: Hello All, Just as an Android app is about to be launched on my device during, I get the message "install parse failed inconsistent certificates". I've figured out that this happens when I move devpt from one computer to another. My solution so far is to delete the app from my device each time I connect to a different computer. But, I'm guessing there's some setting I've overlooked. Right? Thanks. -- Nicolas Cueto From coiin at verizon.net Fri Apr 20 22:34:39 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 20 Apr 2012 22:34:39 -0400 Subject: ANN: Half price mergExt + MobGUI In-Reply-To: References: Message-ID: <0D0A56E0-2ADE-4394-B0B2-AC7FA325B375@verizon.net> What is the best option for people like me who are fully licensed for MobGUI already? From monte at sweattechnologies.com Fri Apr 20 22:58:36 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Apr 2012 12:58:36 +1000 Subject: ANN: Half price mergExt + MobGUI In-Reply-To: <0D0A56E0-2ADE-4394-B0B2-AC7FA325B375@verizon.net> References: <0D0A56E0-2ADE-4394-B0B2-AC7FA325B375@verizon.net> Message-ID: <13461933-3155-4F08-B441-E1E2407E947F@sweattechnologies.com> Well it's still cheaper to buy them together :-) You could contact John after the sale to discuss what to do with the extra seat. -- Monte Goulding On 21/04/2012, at 12:34 PM, Colin Holgate wrote: > What is the best option for people like me who are fully licensed for MobGUI already? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Apr 20 23:01:00 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 20 Apr 2012 23:01:00 -0400 Subject: install fail inconsistent certificates (Android) In-Reply-To: References: Message-ID: <006401cd1f6a$fb66dfb0$f2349f10$@net> The development certificate is dynamically created in the .android folder. So every machine will have a different one. You could try copying the debug.keystore from one machine to all the others and overwrite the one that had been created on the other machines. Never tried it but it might work. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nicolas Cueto Sent: Friday, April 20, 2012 9:54 PM To: LiveCode - general LiveCode Subject: install fail inconsistent certificates (Android) Hello All, Just as an Android app is about to be launched on my device during, I get the message "install parse failed inconsistent certificates". I've figured out that this happens when I move devpt from one computer to another. My solution so far is to delete the app from my device each time I connect to a different computer. But, I'm guessing there's some setting I've overlooked. Right? Thanks. -- Nicolas Cueto _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Fri Apr 20 23:27:33 2012 From: cszasz at mac.com (Charles Szasz) Date: Fri, 20 Apr 2012 23:27:33 -0400 Subject: Problem with pasting from a Rev App to Pages.. Message-ID: <5CDDAB23-8805-476D-B4E8-885C0B711845@mac.com> I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. This is the code I have in my copy button: set the clipboardData["rtf"] to the rtfText of field "statements" copy character 1 to -1 of field "statements" Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? Charles Szasz cszasz at mac.com From kray at sonsothunder.com Fri Apr 20 23:43:56 2012 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 20 Apr 2012 23:43:56 -0400 Subject: openStack called from subStack - why ? In-Reply-To: References: <0915CDD7-186C-405F-BFAE-F16DE3CD328E@id.uzh.ch> <22F8978D-024F-4790-B3CD-B5FEE99F5C62@unil.ch> Message-ID: <4857EEB5-8954-41F1-B22F-1831301978CD@sonsothunder.com> >>> I always had the (wrong!) impression that every openStack handler is >>> only called once, and also that it belongs to the stack containing it. Others have described the hierarchy, but I thought I'd offer some clarification related to why some people have suggested to put the openStack trap of your main stack in the first card of the stack instead of the stack script, and to offer an alternative: If you put an openStack handler in the stack script of your mainstack, and just open the mainstack, the "openStack" message passes through the hierarchy like this: openStack -> script of first card of mainstack -> stack script of mainstack -> backscripts/libraries/etc. If you open a *substack* of the mainstack, the openStack message passes through the hierarchy like this: openStack -> script of first card of substack -> stack script of substack -> stack script of mainstack -> backscripts/libraries/etc. Notice that the message does NOT go to the first card of the mainstack! So if you move your openStack handler of your mainstack from the stack script to the first card of the mainstack, it will still be triggered when the *mainstack* opens, but it will NOT be triggered when a *substack* opens. Coming from HyperCard/SuperCard development, and in my early years of working with MetaCard/Revolution, it seemed "weird" to me that I would have stack-related handlers in a card script. So to keep the handler in the mainstack script but *not* have it trigger when a substack opened, I had my mainstack's openStack handler look like this: on openStack if the owner of the target is me then -- do mainstack-only stuff else -- either do nothing, or do substack-only stuff end if end openStack Since the openStack message hits the card first, the "owner of the target" is the mainstack (or substack) itself? so by testing "if the owner of the target is me" inside the mainstack's stack script, I could isolate openStack messages from the mainstack opening vs. any of its substacks. Hope this helps clarify things, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mazzapaoloitaly at gmail.com Sat Apr 21 01:39:06 2012 From: mazzapaoloitaly at gmail.com (Paolo Mazza) Date: Sat, 21 Apr 2012 07:39:06 +0200 Subject: Augmented reality Message-ID: <651543FF-28B9-40E3-94CA-2E95FDC9B1F5@gmail.com> Hi all, I wonder if any of you developed a mobile app of Augmented reality using LC and the Mergex map kit extension of Monte. Ciao Paolo From monte at sweattechnologies.com Sat Apr 21 02:01:58 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Apr 2012 16:01:58 +1000 Subject: Augmented reality In-Reply-To: <651543FF-28B9-40E3-94CA-2E95FDC9B1F5@gmail.com> References: <651543FF-28B9-40E3-94CA-2E95FDC9B1F5@gmail.com> Message-ID: <35285FD2-2AEC-4AD4-BC27-C3D3762CE159@sweattechnologies.com> Hehe, I'd be very surprised given I only released mergMK a few days ago ;-) On 21/04/2012, at 3:39 PM, Paolo Mazza wrote: > Hi all, > I wonder if any of you developed a mobile app of Augmented reality using LC and the Mergex map kit extension of Monte. > Ciao > Paolo > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 21 05:13:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Apr 2012 11:13:36 +0200 Subject: [ANN] Installer Maker Plugin 1.7.6 Message-ID: Dear LiveCode users, Economy-x-Talk is releasing Installer Maker Plugin 1.7.6 today. Installer Maker allows you to wrap your LiveCode standalones in an installer without additional software. This release is a maintenance release, which fixes 5 bugs reported by our customers. More information is available from our website. You can download the Installer Maker Plugin from your website at http://rrinstallermaker.economy-x-talk.com where you can also obtain a license. This version is free for everyone who bought a license during the past 3 months. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 From iangmcknight at gmail.com Sat Apr 21 05:19:26 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 21 Apr 2012 10:19:26 +0100 Subject: Help using Shell to open a file in Excel Message-ID: Hi I have a stack which produces a set of tables which I want to export to excel. What I would like: User clicks a button in LC and excel opens with the tables in place. What I have: User clicks a button, saves the file to disc, double clicks the file on disc which opens in Excel I can get the shell command to open excel on my machine but I don't know how to get LC to open excel with the file. Any help/advice would be greatly appreciated -- Regards Ian McKnight iangmcknight at gmail.com ======================= From m.schonewille at economy-x-talk.com Sat Apr 21 05:27:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Apr 2012 11:27:50 +0200 Subject: Help using Shell to open a file in Excel In-Reply-To: References: Message-ID: <301507DD-C05E-49FF-8F7D-82564034E8DF@economy-x-talk.com> Hi Ian, Why do you want to use the shell? There is a launch command, which lets you launch a document with an application: launch "path/to/document.xls" with "path/to/application" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 21 apr 2012, at 11:19, Ian McKnight wrote: > Hi > > I have a stack which produces a set of tables which I want to export to > excel. > > What I would like: > User clicks a button in LC and excel opens with the tables in place. > > What I have: > User clicks a button, saves the file to disc, double clicks the file on > disc which opens in Excel > > I can get the shell command to open excel on my machine but I don't know > how to get LC to open excel with the file. > > > Any help/advice would be greatly appreciated > > -- > Regards > > > Ian McKnight From iangmcknight at gmail.com Sat Apr 21 07:17:45 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 21 Apr 2012 12:17:45 +0100 Subject: Help using Shell to open a file in Excel In-Reply-To: <301507DD-C05E-49FF-8F7D-82564034E8DF@economy-x-talk.com> References: <301507DD-C05E-49FF-8F7D-82564034E8DF@economy-x-talk.com> Message-ID: Hi Mark You are quite correct - I just failed to read the dictionary entry carefully enough! Thanks On 21 April 2012 10:27, Mark Schonewille wrote: > Hi Ian, > > Why do you want to use the shell? There is a launch command, which lets > you launch a document with an application: > > launch "path/to/document.xls" with "path/to/application" > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Get the extIco2Png external for LiveCode here http://qery.us/1w6 > > On 21 apr 2012, at 11:19, Ian McKnight wrote: > > > Hi > > > > I have a stack which produces a set of tables which I want to export to > > excel. > > > > What I would like: > > User clicks a button in LC and excel opens with the tables in place. > > > > What I have: > > User clicks a button, saves the file to disc, double clicks the file on > > disc which opens in Excel > > > > I can get the shell command to open excel on my machine but I don't know > > how to get LC to open excel with the file. > > > > > > Any help/advice would be greatly appreciated > > > > -- > > Regards > > > > > > Ian McKnight > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From iangmcknight at gmail.com Sat Apr 21 08:16:51 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 21 Apr 2012 13:16:51 +0100 Subject: Help finding an application path in windows Message-ID: Hi I'm am able to launch a file in Excel directly from LC but I do not want to hard code the path to excel in my app. The following code works but is this the best way to handle this situation? What would happen if Office were upgraded for example? put $programFiles &"\" into tProgramFilesPath put "Microsoft Office\OFFICE11\excel.exe" into tStandardInstallPath put tProgramFilesPath & tStandardInstallPath into tFullAppFilePath launch fName with tFullAppFilePath if the result is not empty then --excel not found answer error "Excel cannot be located on your system"&cr&cr&"Locate Excel or cancel?" with "Cancel" or "Find Excel" if it is "Cancel" then exit to top answer file "Locate Excel" with filter "EXE,*.exe" put it into tAppPath launch fName with tAppPath end if BTW this works for MSOffice 2003 and Win 7 Thanks in advance. -- Regards Ian McKnight iangmcknight at gmail.com ======================= From pmbrig at gmail.com Sat Apr 21 08:28:59 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 21 Apr 2012 08:28:59 -0400 Subject: Help using Shell to open a file in Excel In-Reply-To: References: Message-ID: <107CE7CE-1FB4-4A8A-850A-B1B12684FBAF@gmail.com> On Apr 21, 2012, at 5:19 AM, Ian McKnight wrote: > Hi > > I have a stack which produces a set of tables which I want to export to > excel. > > What I would like: > User clicks a button in LC and excel opens with the tables in place. > > What I have: > User clicks a button, saves the file to disc, double clicks the file on > disc which opens in Excel > > I can get the shell command to open excel on my machine but I don't know > how to get LC to open excel with the file. I don't think you need a shell command -- try launch "/path/to/file/test.xls" after saving your file. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From gregory.lypny at videotron.ca Sat Apr 21 13:41:55 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 21 Apr 2012 13:41:55 -0400 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: References: Message-ID: <35B3BD48-4F71-4EF4-B849-FAD75F4DF8FF@videotron.ca> Hi Alex, Not a stupid question at all. I hang my head in shame. I was so focussed on working out server installation details and glitches that I forgot to change the filename on my test page. Sigh. Thanks. Gregory On Sat, Apr 21, 2012, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > This is probably a stupid question but ...... > > your page that includes "calls to Livecode from within a web page" - > that is called something.lc, isn't it ? > It can't be called something.html and have the livecode calls work. > > Sorry if that's off track, > -- Alex. From gregory.lypny at videotron.ca Sat Apr 21 13:43:46 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 21 Apr 2012 13:43:46 -0400 Subject: Can't Get Server Engine to Work on My Mac In-Reply-To: References: Message-ID: Thanks Alex, Mike, and Stephen, All great tips that have helped me iron out the glitches. Very much appreciated, Gregory From gregory.lypny at videotron.ca Sat Apr 21 14:02:25 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 21 Apr 2012 14:02:25 -0400 Subject: Code Security When Using LiveCode Server Message-ID: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> Hello everyone, In developing a site using LiveCode server, I?d be interested in your thoughts on keeping prying eyes away from LiveCode scripts. I imagine that keeping the scripts in files and stacks, as opposed to embedded in web pages, is the best thing. Gregory From jacque at hyperactivesw.com Sat Apr 21 14:11:24 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Apr 2012 13:11:24 -0500 Subject: Code Security When Using LiveCode Server In-Reply-To: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> Message-ID: <4F92F84C.9000101@hyperactivesw.com> On 4/21/12 1:02 PM, Gregory Lypny wrote: > Hello everyone, > > In developing a site using LiveCode server, I?d be interested in your > thoughts on keeping prying eyes away from LiveCode scripts. I > imagine that keeping the scripts in files and stacks, as opposed to > embedded in web pages, is the best thing. Visitors to your site can't see the scripts. They execute on the server and provide output, but the scripts themselves aren't in the web page that the user receives. The only way to see the scripts is to have access to the server files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 21 14:13:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Apr 2012 13:13:01 -0500 Subject: Problem with pasting from a Rev App to Pages.. In-Reply-To: <5CDDAB23-8805-476D-B4E8-885C0B711845@mac.com> References: <5CDDAB23-8805-476D-B4E8-885C0B711845@mac.com> Message-ID: <4F92F8AD.8080006@hyperactivesw.com> On 4/20/12 10:27 PM, Charles Szasz wrote: > > set the clipboardData["rtf"] to the rtfText of field "statements" > > copy character 1 to -1 of field "statements" > > Despite setting the font in the text field as Palatino I keep getting > Times New Roman when it is pasted into the Pages document! How can I > correct this? Both of those statements are different ways to put text into the clipboard. If you execute both of them, the second one replaces the clipboard content that was set in the first statement. You only need one of those, probably the one that sets the rtf text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Apr 21 14:19:04 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Apr 2012 11:19:04 -0700 Subject: Code Security When Using LiveCode Server In-Reply-To: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> Message-ID: <4F92FA18.2060203@fourthworld.com> Gregory Lypny wrote: > In developing a site using LiveCode server, I?d be interested in your > thoughts on keeping prying eyes away from LiveCode scripts. I > imagine that keeping the scripts in files and stacks, as opposed to > embedded in web pages, is the best thing. Why not? Jacque's right about the difference between the raw page and what the user gets, but personally I find embedding tons of LiveCode into my HTML distracting; I prefer to put simple function call in HTML and let libraries handle the rest. -- 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 bonnmike at gmail.com Sat Apr 21 14:24:07 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Apr 2012 12:24:07 -0600 Subject: Code Security When Using LiveCode Server In-Reply-To: <4F92FA18.2060203@fourthworld.com> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> <4F92FA18.2060203@fourthworld.com> Message-ID: Plus you can put any included library files or stacks outside the webserver document root so they can only be hit indirectly. Be careful if you use a library stack made with 5.5 and save it in the legacy format. I don't believe the current lc server can load up 5.5 stacks. On Sat, Apr 21, 2012 at 12:19 PM, Richard Gaskin wrote: > Gregory Lypny wrote: > > > In developing a site using LiveCode server, I?d be interested in your > > thoughts on keeping prying eyes away from LiveCode scripts. I > > imagine that keeping the scripts in files and stacks, as opposed to > > embedded in web pages, is the best thing. > > Why not? > > Jacque's right about the difference between the raw page and what the user > gets, but personally I find embedding tons of LiveCode into my HTML > distracting; I prefer to put simple function call in HTML and let libraries > handle the rest. > > -- > 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 sc at sahores-conseil.com Sat Apr 21 14:44:46 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 21 Apr 2012 20:44:46 +0200 Subject: Code Security When Using LiveCode Server In-Reply-To: References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> <4F92FA18.2060203@fourthworld.com> Message-ID: Conformed : LC server can handle stack's libs saved under up to the 5.0.2 version of LC Le 21 avr. 2012 ? 20:24, Mike Bonner a ?crit : > Plus you can put any included library files or stacks outside the webserver > document root so they can only be hit indirectly. > > Be careful if you use a library stack made with 5.5 and save it in the > legacy format. I don't believe the current lc server can load up 5.5 > stacks. > On Sat, Apr 21, 2012 at 12:19 PM, Richard Gaskin > wrote: > >> Gregory Lypny wrote: >> >>> In developing a site using LiveCode server, I?d be interested in your >>> thoughts on keeping prying eyes away from LiveCode scripts. I >>> imagine that keeping the scripts in files and stacks, as opposed to >>> embedded in web pages, is the best thing. >> >> Why not? >> >> Jacque's right about the difference between the raw page and what the user >> gets, but personally I find embedding tons of LiveCode into my HTML >> distracting; I prefer to put simple function call in HTML and let libraries >> handle the rest. >> >> -- >> 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From m.schonewille at economy-x-talk.com Sat Apr 21 16:32:38 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Apr 2012 22:32:38 +0200 Subject: Problem with pasting from a Rev App to Pages.. In-Reply-To: <5CDDAB23-8805-476D-B4E8-885C0B711845@mac.com> References: <5CDDAB23-8805-476D-B4E8-885C0B711845@mac.com> Message-ID: <5434F3F2-F05D-4960-AC27-3FE9E90E4D6F@economy-x-talk.com> Hi Charles, Did you see my reply to your previous e-mail? Try setting the font of the text to one different from the font of the field. E.g. set the font of the field to Arial and the font of char 1 to -1 of the field to Time New Roman. Use set the clipboardData["rtf"] to the rtfText of field "statements" or set the clipboardData["html"] to the htmlText of field "statements" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 21 apr 2012, at 05:27, Charles Szasz wrote: > I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user to paste the text into a document. However, when I test the app on a Mac and paste into a Pages document, I do not get the font that was selected in the button. > This is the code I have in my copy button: > > set the clipboardData["rtf"] to the rtfText of field "statements" > > copy character 1 to -1 of field "statements" > > Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I correct this? > > Charles Szasz > cszasz at mac.com > From cszasz at mac.com Sat Apr 21 23:26:37 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 21 Apr 2012 23:26:37 -0400 Subject: A problem with Font Menu in LC Resource Center Message-ID: <11C55CA5-9D59-4BC7-8F84-AD071122128B@mac.com> Mark, Thanks! I am sorry to be late in replying to your email. Sent from my iPad From cszasz at mac.com Sat Apr 21 23:28:56 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 21 Apr 2012 23:28:56 -0400 Subject: A problem with Font Menu in LC Resource Center Message-ID: Peter, Thanks! I am sorry to be late in replying to your email. I have been trying to figure a problem I am with using LC's clipboardData in pasting text from a LC created app to a Pages document. Sent from my iPad From cszasz at mac.com Sat Apr 21 23:32:48 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 21 Apr 2012 23:32:48 -0400 Subject: Can Rev do this? Message-ID: <01B9DAE0-5668-401E-B823-BBD073C8A18C@mac.com> Rick, Thanks for the suggestion! That still leaves me with pasting into a Window's app. Sent from my iPad From cszasz at mac.com Sat Apr 21 23:34:51 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 21 Apr 2012 23:34:51 -0400 Subject: Problem with pasting from a Rev App to Pages.. Message-ID: Jacque, I have not tried using the following by itself. I will try it tomorrow. set the clipboardData["rtf"] to the rtfText of field "statements" Sent from my iPad From cszasz at mac.com Sat Apr 21 23:36:12 2012 From: cszasz at mac.com (Charles Szasz) Date: Sat, 21 Apr 2012 23:36:12 -0400 Subject: Problem with pasting from a Rev App to Pages.. Message-ID: Mark, No, I did not see your comment. I will try your suggestion. Thanks! Sent from my iPad From chemrama at gmail.com Sun Apr 22 00:35:41 2012 From: chemrama at gmail.com (varvar) Date: Sat, 21 Apr 2012 21:35:41 -0700 (PDT) Subject: Livecode blows a Raspberry? In-Reply-To: <4F4E6763.6010008@fourthworld.com> References: <4F4E52B3.2020502@gmail.com> <4F4E5EF3.9040704@kencorey.com> <4F4E6763.6010008@fourthworld.com> Message-ID: <1335069341385-4577655.post@n4.nabble.com> Re: Livecode blows a Raspberry? LiveCode does not currently support ARM/Linux (as opposed to (de facto) ARM/Android). OK, I had made the original request in January to LiveCode Dev for a ARM/Linux port, anticipating release of the Raspberry Pi. I have no idea what RunRev thinks of all of this, but given the recent press release where I understand that LiveCode is going to be adopted as the programming IDE in schools in a major school district close to Cambridge, they should pay attention to Raspberry Pi and Eben Upton's stated mission of promoting interest in computing among school age children, and port LiveCode to ARM/Linux. If they do not, all is not lost since the Android/ARM gadgets are also in freefall as far as prices are concerned. When I attended the MIT ARM Dev Conference in February, Eben was very candid about how the Foundation's objectives vis-a-vis hardware had changed. Originally, they wanted everything to be sourced in the U.K., I believe. But they soon found out that this was not going to be cost effective , and after much debate, decided to OEM from China. Well, the Raspberry may be the cheapest computer in the world, but you need display, keyboard, etc., and that adds $ to the cost. If you do a diligent Google search, you will find OEMs in China offering Android tablets at a cost of between $75 and $90 at the time I am posting this--it drops every few days! What is the advantage of an Android tablet? Most of them throw in the wireless interface and you do not need a display or keyboard. So, you may not get the world's tiniest SBC/COM but you certainly get a very low power, high res display all-in-one gadget, somewhat more "open" than the Pi [it was my understanding from the MIT presentation that certain parts of the Raspberry hardware engine , esp display drivers and graphics, were proprietary.] The Android tablets are all fairly generic standard "clones."! Thus, LiveCode will run effortlessly on these low cost machines, as I have determined from my tests. (Make sure that the OS is > 2.3 though!) A final remark, again based on my testing, check out this company (Genesi http://www.genesi-usa.com/products http://www.genesi-usa.com/products ) that makes the EFIKA, A FULL ARM SBC IN A slim CASE/box that weighs approx 250 g, has a HDMI port, a USB port, Wired AND wireless ethernet, and a SD card slot , runs Linux off internal flash RAM but boots Android (build supplied by Genesi) from the SD card. This elegant gadget costs $130 but I am sure the company will look at ways to bring prices even lower. I got a simple LiveCode app working effortlessly on the EFIKA. Pardon the grammar and punctuation, and I am sorry if I have violated any post etiquette or posted in the wrong forum--I do not post very often. Rama Viswanathan, Beloit, Wisconsin, April 21, 2012 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-blows-a-Raspberry-tp4432068p4577655.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sun Apr 22 07:04:14 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 22 Apr 2012 04:04:14 -0700 Subject: Code Security When Using LiveCode Server In-Reply-To: <4F92FA18.2060203@fourthworld.com> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> <4F92FA18.2060203@fourthworld.com> Message-ID: <4F93E5AE.2010609@pdslabs.net> On 4/21/12 11:19 AM, Richard Gaskin wrote: > Gregory Lypny wrote: > > > In developing a site using LiveCode server, I?d be interested in your > > thoughts on keeping prying eyes away from LiveCode scripts. I > > imagine that keeping the scripts in files and stacks, as opposed to > > embedded in web pages, is the best thing. > > Why not? > > Jacque's right about the difference between the raw page and what the user > gets, but personally I find embedding tons of LiveCode into my HTML > distracting; I prefer to put simple function call in HTML and let libraries > handle the rest. Amen to this. Being a long-time desktop app builder, I find it an order of magnitude easier to work with stacks in the IDE than to work on code intermingled with HTML. In one big web app I stash all my lib stacks in a folder on the server machine that is outside the web server's reach, but still accessible as lib stacks via the server's file system. The app's web pages contain only enough LC to start using the libs and they do almost everything. I'm pretty confident no one will ever get them unless I have a serious non-web kind of security breach. Phil Davis > > -- > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From kray at sonsothunder.com Sun Apr 22 07:50:16 2012 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2012 07:50:16 -0400 Subject: Help finding an application path in windows In-Reply-To: References: Message-ID: On Apr 21, 2012, at 8:16 AM, Ian McKnight wrote: > Hi > > I'm am able to launch a file in Excel directly from LC but I do not want to > hard code the path to excel in my app. I'm not at my PC to confirm this at the moment, but according to a web search, you should be able to do this (watch for line breaks): put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\App Paths\excel.exe") into tExcelPath Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From downs.david.j at gmail.com Sun Apr 22 10:39:21 2012 From: downs.david.j at gmail.com (J. Downs) Date: Sun, 22 Apr 2012 09:39:21 -0500 Subject: Animation In-Reply-To: <4F93E5AE.2010609@pdslabs.net> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> <4F92FA18.2060203@fourthworld.com> <4F93E5AE.2010609@pdslabs.net> Message-ID: <18535F31-46C1-49B0-B6DB-870549D7FEB0@gmail.com> Hey, all. I'd like to experiment with LC for some video game development. Sprite animation with collision detection, vertical and horizontal landscape scrolling, etc. Can LC keep up the pace when the number of on-screen objects gets to a dozen or more? Need special add-ons like the Animation Engine, or can it all be done natively? Any exceptional online tutorials, etc. you would recommend? All help would be greatly appreciated. Thanks, J. From revolution at derbrill.de Sun Apr 22 11:20:32 2012 From: revolution at derbrill.de (Malte Brill) Date: Sun, 22 Apr 2012 17:20:32 +0200 Subject: Animation In-Reply-To: References: Message-ID: <762CEA95-A1C6-4AFF-8418-615C0F62DF26@derbrill.de> Hi J, I'd say it really depends on the targeted platform. The weaker the hardware, the more hoops you need to jump through. Regarding animationEngine: As the developer of said add on it comes naturally for me to think it is helpful, however, it is written completely in liveCode. No rocket sience in it, just making life a little easier I guess. If you have the time to read a lot of tutorials and books there is nothing in it an experienced livecode developer couldn't write themselves with a few months / years of time. :-) All the best, Malte From downs.david.j at gmail.com Sun Apr 22 11:39:19 2012 From: downs.david.j at gmail.com (J. Downs) Date: Sun, 22 Apr 2012 10:39:19 -0500 Subject: Animation In-Reply-To: <762CEA95-A1C6-4AFF-8418-615C0F62DF26@derbrill.de> References: <762CEA95-A1C6-4AFF-8418-615C0F62DF26@derbrill.de> Message-ID: Thanks, Malte. I've downloaded the AnimationEngine trial and will take a look this afternoon. :) At this time, I am just playing around, so I will be developing on Mac OS X for deployment on same. If I get really crazy, I might see how my ideas run on my BootCamp Windows install. Not looking at any mobile deployments for now. I did lots of arcade-style development back in the day?and by that, I mean almost 30 years ago using Player-Missile Graphics in both BASIC and machine language on my Atari 800XL. (Wow, I'm old.) I also did my share of heavy-lifting with HyperCard in the late '90s, so I'm extremely comfortable with the LC core concepts. Just bridging the gap by trying a few fun idea. I'd like to try a side-scroller with parallax and some other challenges. Thanks in advance to any other ideas you all might have. J. On Apr 22, 2012, at 10:20 AM, Malte Brill wrote: > Hi J, > > I'd say it really depends on the targeted platform. The weaker the hardware, the more hoops you need to jump through. Regarding animationEngine: As the developer of said add on it comes naturally for me to think it is helpful, however, it is written completely in liveCode. No rocket sience in it, just making life a little easier I guess. If you have the time to read a lot of tutorials and books there is nothing in it an experienced livecode developer couldn't write themselves with a few months / years of time. :-) > > All the best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Apr 22 12:07:27 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 22 Apr 2012 18:07:27 +0200 Subject: DELETE, PUT http In-Reply-To: References: <2D280880-B9B3-4D49-9590-74585CEFA709@economy-x-talk.com> <40781D73-C4B1-446B-8FF5-1C7EFF2C759B@economy-x-talk.com> Message-ID: Hi Trevor and others, I just looked into "put into url" again and found out that you need to configure your server to make it work. Apparently, you can't do this in a .htaccess or php.config file but you need to do this at a higher level. Currently, I have no server that I can configure this way. I wonder if anyone has got this working? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 4 apr 2011, at 15:52, Trevor DeVore wrote: > > I don't think it is new as I found out about support a while ago (at least > 4.x, probably 3.x). I don't have 4.0 installed any longer though so I can't > confirm that at the moment. > > How was your test set up? Below are the results I see in the field targeted > by libURLSetLogField when executing a PUT or DELETE call. > > Testing PUT: > > put "what" into url "http://google.com" > > ********************* > PUT / HTTP/1.1 > Host: google.com > User-Agent: LiveCode (MacOS) > Content-Length: 4 > Content-Type: application/x-www-form-urlencoded > > > HTTP/1.1 405 Method Not Allowed > Content-Type: text/html; charset=UTF-8 > Content-Length: 1390 > Date: Mon, 04 Apr 2011 13:47:26 GMT > Server: GFE/2.0 > Connection: close > ********************* > > Testing DELETE: > > delete url "http://google.com" > > ********************* > DELETE / HTTP/1.1 > Host: google.com > User-Agent: LiveCode (MacOS) > > > HTTP/1.1 405 Method Not Allowed > Content-Type: text/html; charset=UTF-8 > Content-Length: 1393 > Date: Mon, 04 Apr 2011 13:49:35 GMT > Server: GFE/2.0 > ********************* From livfoss at mac.com Sun Apr 22 12:46:00 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 22 Apr 2012 18:46:00 +0200 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: <5EC624E2-0D72-4322-920E-703DD223FE89@mac.com> I'm trying to understand TestFlight and the workflow model it supports so as to interact with beta tester(s) for my iOS app(s), but so far their FAQ etc doesn't quite explain the model to a real ignoramus like me. I know how to develop for iOS using Livecode, and I have got as far as being able to create an app, show it in the Simulator, and then transfer it to my own device via XCode and execute it. My next step would seem to be: 1. Get my first beta tester to sign up: but what does this actually mean? Does he have to log on to TestFlight using my ID and password, or does he use his own, or doesn't he need an ID at all? If either of the last two, how do I get to know about his device and register it within my own development shop? 2. Tell XCode about my new tester so that the app in beta somehow has his UDID (if that's the right term) embedded in the app. I see TestFlight helps with this, but it can't actually put things in my app, so how is this done? 3. Get a copy of my app to my beta tester so that he can test it and give me feedback; and then to send him a new copy whenever I want him to test it. How would I do this? I am assuming that the tester doesn't himself have access to any technology apart from his iPhone and the Internet (no Mac, for example). Can this work? I would love to understand this enough to get going. Meanwhile my first tester languishes in outer darkness on the other side of the world. TIA for any clarification Graham On Thu, 19 Apr 2012 11:50:54 -07008, Jim Lambert wrote: > Charles wrote: > >> TestFlight looks interesting... how does one use it with LC? > > The same as you would use it with apps written in xCode - for gathering testers'' UDIDs and distributing of builds to those testers. > It allows testers to provide feedback too. > > JimL From coiin at verizon.net Sun Apr 22 13:33:05 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 22 Apr 2012 13:33:05 -0400 Subject: Help understanding iOS deployment In-Reply-To: <5EC624E2-0D72-4322-920E-703DD223FE89@mac.com> References: <5EC624E2-0D72-4322-920E-703DD223FE89@mac.com> Message-ID: <89AE04B7-929E-4145-857B-5A51FBD3B645@verizon.net> TestFlight has always seemed like overkill to me, if all you want to do is have beta testers install your app. It may well have powerful tracking features, and other management tools, but anyone who does use TestFlightApp.com has to register with them, and has to install a special provisioning tool onto their devices. You could use Jacque's AirLaunch tool, or BetaBuilder from the Mac App Store, and quickly get something online that your user can install just by touching a link in a web page. You will have to collect the UDID numbers for yourself, and add them to your developer portal, but that's easy enough to do. You can add in several at a time, and then update your provisioning file before doing the LiveCode build that you're going to send out. From revolution at derbrill.de Sun Apr 22 13:36:10 2012 From: revolution at derbrill.de (Malte Brill) Date: Sun, 22 Apr 2012 19:36:10 +0200 Subject: Animation In-Reply-To: References: Message-ID: <40ABC944-2F58-4C5A-9DF8-4B76D90FEC42@derbrill.de> Hi J, I joined the Atari camp with the ST. Had an Amstrad CPC before that. And a Sinclair zx Spectrum. So I guess I can be counted into the I am old camp too :-D I once did a Parallax scroller in liveCode (when it was still rev). Might be fun to dig that one up and try with the accelerated rendering stuff. Will dig through my archives tomorrow to see if I still can find it. Cheers, Malte From jiml at netrin.com Sun Apr 22 16:08:54 2012 From: jiml at netrin.com (Jim Lambert) Date: Sun, 22 Apr 2012 13:08:54 -0700 Subject: Help understanding iOS deployment In-Reply-To: References: Message-ID: Take a look at your TestFlight Dashboard. That alone will answer a few of your questions, such as how to invite testers. The other answers should be in their FAQ JimL From jhurley0305 at sbcglobal.net Sun Apr 22 16:38:46 2012 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sun, 22 Apr 2012 13:38:46 -0700 Subject: Animation In-Reply-To: References: Message-ID: <668448B2-9B2B-4BB6-9B29-3B99F26B696E@sbcglobal.net> Hi J, LC can handle the game of 9 ball pool fairly well, and that is fairly computationally intensive--handling the collisions between multiple moving balls. You can find it at http://jamesphurley.com/Revolution.html To download a stack from that web site, get the link and run this in the msg box go url "[the link]" There are a number of other simulations, in particular "Bouncing ball tools" at that web site that deal with the complexities of collisions with walls in a convex polygon. See also "Programmable Graphics" in RevOnLine. There are 21 cards there demonstrating a variety of animation problems. Jim > > Message: 18 > Date: Sun, 22 Apr 2012 09:39:21 -0500 > From: "J. Downs" > To: How to use LiveCode > Subject: Animation > Message-ID: <18535F31-46C1-49B0-B6DB-870549D7FEB0 at gmail.com> > Content-Type: text/plain; charset=windows-1252 > > Hey, all. > > I'd like to experiment with LC for some video game development. Sprite animation with collision detection, vertical and horizontal landscape scrolling, etc. Can LC keep up the pace when the number of on-screen objects gets to a dozen or more? Need special add-ons like the Animation Engine, or can it all be done natively? Any exceptional online tutorials, etc. you would recommend? > > All help would be greatly appreciated. > > Thanks, > J. > > From gregory.lypny at videotron.ca Sun Apr 22 16:53:48 2012 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 22 Apr 2012 16:53:48 -0400 Subject: Code Security When Using LiveCode Server In-Reply-To: References: Message-ID: Hello Jacqueline, Richard, Mike, Pierre, and Phil, Thank you for your helpful thoughts on web code security. I think I?ll prototype with a combination of stacks for sensitive things (I?ll do some homework on where to place the stacks and how to refer to them) and embedded lines for innocuous things. Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University From henshaw at me.com Sun Apr 22 16:55:28 2012 From: henshaw at me.com (Andrew Henshaw) Date: Sun, 22 Apr 2012 21:55:28 +0100 Subject: Working with seconds, what am I missing? Message-ID: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Trying to work with seconds to avoid format issues with dates in different countries I keep running into this issue, and im probably just missing something very obvious! Using the following simple code today (the 22nd April).. put the date into tDate convert tDate to seconds put tDate Returns 1335049200 Id expect to get a result of 22nd April, but instead Ive fed that in to a few online UNIX time converters and they all return Sat, 21 Apr 2012 23:00:00 GMT which is an hour into the previous day. Im assuming its something to do with GMT / daylight savings time, but is there a reliable way to get and use the seconds. Id like to ensure the values stored are correct. Andy From dixonja at hotmail.co.uk Sun Apr 22 17:02:47 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 22 Apr 2012 22:02:47 +0100 Subject: Working with seconds, what am I missing? In-Reply-To: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: the internet date might be what you are looking for > > Trying to work with seconds to avoid format issues with dates in different countries I keep running into this issue, and im probably just missing something very obvious! > > Using the following simple code today (the 22nd April).. > > put the date into tDate > convert tDate to seconds > put tDate > > Returns 1335049200 > > Id expect to get a result of 22nd April, but instead Ive fed that in to a few online UNIX time converters and they all return Sat, 21 Apr 2012 23:00:00 GMT which is an hour into the previous day. > > Im assuming its something to do with GMT / daylight savings time, but is there a reliable way to get and use the seconds. Id like to ensure the values stored are correct. > > Andy > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 22 17:04:05 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 22 Apr 2012 15:04:05 -0600 Subject: Working with seconds, what am I missing? In-Reply-To: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: You are correct, its a matter of daylight savings time. I believe "the date" converted to seconds turns into the seconds representing the first moment of that date IE midnight. Then there is an adjustment for daylight saving time. The easiest way around this (if you only care about the date itself not being specific to an hour) is to change your first line to something like.. put the date && "12:00 PM" into tDate This way DST becomes a non issue for the seconds to dates. On Sun, Apr 22, 2012 at 2:55 PM, Andrew Henshaw wrote: > Trying to work with seconds to avoid format issues with dates in different > countries I keep running into this issue, and im probably just missing > something very obvious! > > Using the following simple code today (the 22nd April).. > > put the date into tDate > convert tDate to seconds > put tDate > > Returns 1335049200 > > Id expect to get a result of 22nd April, but instead Ive fed that in to a > few online UNIX time converters and they all return Sat, 21 Apr 2012 > 23:00:00 GMT which is an hour into the previous day. > > Im assuming its something to do with GMT / daylight savings time, but is > there a reliable way to get and use the seconds. Id like to ensure the > values stored are correct. > > Andy > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 22 17:06:06 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 22 Apr 2012 15:06:06 -0600 Subject: Working with seconds, what am I missing? In-Reply-To: References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: the internet date will most likely work too so go that way I think! On Sun, Apr 22, 2012 at 3:02 PM, John Dixon wrote: > > the internet date might be what you are looking for > > > > > > Trying to work with seconds to avoid format issues with dates in > different countries I keep running into this issue, and im probably just > missing something very obvious! > > > > Using the following simple code today (the 22nd April).. > > > > put the date into tDate > > convert tDate to seconds > > put tDate > > > > Returns 1335049200 > > > > Id expect to get a result of 22nd April, but instead Ive fed that in to > a few online UNIX time converters and they all return Sat, 21 Apr 2012 > 23:00:00 GMT which is an hour into the previous day. > > > > Im assuming its something to do with GMT / daylight savings time, but > is there a reliable way to get and use the seconds. Id like to ensure the > values stored are correct. > > > > Andy > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Sun Apr 22 17:19:29 2012 From: dsc at swcp.com (Dar Scott) Date: Sun, 22 Apr 2012 15:19:29 -0600 Subject: Need advice on upgrading LiveCode and environment Message-ID: I'm upgrading my development environment. Based on the pain others seem to have gone through, I want to make a big jump. However, I want to continue to build universal externals to support PPC and I'm concerned about multiple iOS external SDK installations. My current setup on Snow Leopard: For building stacks/apps/externals for Windows, OS X (Intel & PPC), and iOS 4.3 (actually Windows externals are made elsewhere) LiveCode 4.6.4, Xcode 3.2.6, iOS Externals SDK R7 For building stacks/apps for Windows, OS X (Intel & PPC) LiveCode 5.0.2 I'm thinking of keeping that (for PPC externals and maybe some compatibility issues for iOS) and then adding one of these for stacks/apps/externals for Windows, OS X Intel, iOS 5.1. 1. Lion partition LiveCode 5.5, Xcode 4.3.2, iOS external SDK R10 2. Mountain Lion partition LiveCode 5.5, Xcode 4.4, iOS external SDK R10 I suppose I could continue on my Snow Leopard boot, abandon building for iOS using Xcode 3.2.6 and move Xcode 3.2.6 to some folder for PPC externals only, and then move up to LC 5.5 (being careful about prefs and file formats), Xcode 4.2 for Snow Leopard, and R10 for all not PPP, but that will limit me to a 5.0 iOS simulator, I think. I welcome advice, wisecracks, contradictions of assumptions and so on. Also, I well come success stories for similar scenarios. I'm not sure if I have violated some agreement by suggesting development on Mountain Lion. Dar From rjb at robelko.com Sun Apr 22 17:23:19 2012 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 22 Apr 2012 23:23:19 +0200 Subject: Working with seconds, what am I missing? In-Reply-To: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: On 22.04.2012 at 21:55 Uhr +0100 Andrew Henshaw apparently wrote: > >Using the following simple code today (the 22nd April).. > > put the date into tDate > convert tDate to seconds > put tDate > >Returns 1335049200 > >Id expect to get a result of 22nd April, but instead Ive fed that >in to a few online UNIX time converters and they all return Sat, 21 >Apr 2012 23:00:00 GMT which is an hour into the previous day. You do not specify the time when setting tDate initially. You might want to set the time like 4 am. Robert From coiin at verizon.net Sun Apr 22 18:17:47 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 22 Apr 2012 18:17:47 -0400 Subject: Need advice on upgrading LiveCode and environment In-Reply-To: References: Message-ID: That's the same as my current setup, and I can build PPC, Intel, Universal, and Windows versions all at once. Of course, I can't test the PPC one, but could you not have a simple Mountain Lion setup for development, and keep and old Mac somewhere just for testing the PPC version? On Apr 22, 2012, at 5:19 PM, Dar Scott wrote: > 2. Mountain Lion partition > LiveCode 5.5, Xcode 4.4, iOS external SDK R10 From dsc at swcp.com Sun Apr 22 18:31:16 2012 From: dsc at swcp.com (Dar Scott) Date: Sun, 22 Apr 2012 16:31:16 -0600 Subject: Need advice on upgrading LiveCode and environment In-Reply-To: References: Message-ID: That is good news. I have a test system for PPC. I had gotten the impression that later versions of Xcode could not do PPC or universal externals. However, I just realized that I can't install Mountain Lion Preview 3 on this computer. So, I'm down to one and a half choices. Dar On Apr 22, 2012, at 4:17 PM, Colin Holgate wrote: > That's the same as my current setup, and I can build PPC, Intel, Universal, and Windows versions all at once. Of course, I can't test the PPC one, but could you not have a simple Mountain Lion setup for development, and keep and old Mac somewhere just for testing the PPC version? > > > On Apr 22, 2012, at 5:19 PM, Dar Scott wrote: > >> 2. Mountain Lion partition >> LiveCode 5.5, Xcode 4.4, iOS external SDK R10 From coiin at verizon.net Sun Apr 22 19:39:44 2012 From: coiin at verizon.net (Colin Holgate) Date: Sun, 22 Apr 2012 19:39:44 -0400 Subject: Need advice on upgrading LiveCode and environment In-Reply-To: References: Message-ID: I'm not certain about the external commands part of the question. Some day soon I'll try the SDK, see what options I have, On Apr 22, 2012, at 6:31 PM, Dar Scott wrote: > That is good news. I have a test system for PPC. I had gotten the impression that later versions of Xcode could not do PPC or universal externals. From Mark_Smith at cpe.umanitoba.ca Sun Apr 22 22:19:43 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 22 Apr 2012 19:19:43 -0700 (PDT) Subject: Can I put advisory text in an 'ask' dialog? In-Reply-To: References: Message-ID: <1335147583171-4579270.post@n4.nabble.com> Graham Samuel-4 wrote > > Thanks very much Hugh Senior, Ken Ray and Mark Smith for their solutions, > which are going in my scrapbook and then of course into the relevant > projects. > > Graham > > Hi Graham, I was thinking of writing up a quick piece on methods for handling advisory text for the RevUp newsletter, but since you initiated this thread I thought I should check with you first to make sure you weren't already planning on doing that. Let me know. Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-I-put-advisory-text-in-an-ask-dialog-tp4546291p4579270.html Sent from the Revolution - User mailing list archive at Nabble.com. From downs.david.j at gmail.com Sun Apr 22 23:11:03 2012 From: downs.david.j at gmail.com (J. Downs) Date: Sun, 22 Apr 2012 22:11:03 -0500 Subject: Animation In-Reply-To: <668448B2-9B2B-4BB6-9B29-3B99F26B696E@sbcglobal.net> References: <668448B2-9B2B-4BB6-9B29-3B99F26B696E@sbcglobal.net> Message-ID: <8D024248-7510-4327-A926-EE84D5812527@gmail.com> Thanks, Jim! I will take a peek. J. On Apr 22, 2012, at 3:38 PM, Jim Hurley wrote: > Hi J, > > LC can handle the game of 9 ball pool fairly well, and that is fairly computationally intensive--handling the collisions between multiple moving balls. > > You can find it at http://jamesphurley.com/Revolution.html > > To download a stack from that web site, get the link and run this in the msg box > > go url "[the link]" > > There are a number of other simulations, in particular "Bouncing ball tools" at that web site that deal with the complexities of collisions with walls in a convex polygon. > > See also "Programmable Graphics" in RevOnLine. There are 21 cards there demonstrating a variety of animation problems. > > Jim > >> >> Message: 18 >> Date: Sun, 22 Apr 2012 09:39:21 -0500 >> From: "J. Downs" >> To: How to use LiveCode >> Subject: Animation >> Message-ID: <18535F31-46C1-49B0-B6DB-870549D7FEB0 at gmail.com> >> Content-Type: text/plain; charset=windows-1252 >> >> Hey, all. >> >> I'd like to experiment with LC for some video game development. Sprite animation with collision detection, vertical and horizontal landscape scrolling, etc. Can LC keep up the pace when the number of on-screen objects gets to a dozen or more? Need special add-ons like the Animation Engine, or can it all be done natively? Any exceptional online tutorials, etc. you would recommend? >> >> All help would be greatly appreciated. >> >> Thanks, >> J. >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Mon Apr 23 04:07:56 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 23 Apr 2012 16:07:56 +0800 Subject: Working with seconds, what am I missing? In-Reply-To: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: Andy, As you've discovered seconds is based on GMT so it will cause differences based on everyone's system settings, there are work arounds as suggested but it may be easier just to: put the date into tDate convert tDate to dateItems put tDate The output will always be YYYY,MM,DD,HH,MM,SS,day of week, and if you haven't included a time then, YYYY,MM,DD,0,0,0,day of week. Regardless of the system setting, the GMT correction, or personal preferences, you can always correctly determine the local date and time of a users computer using dateItems. HTH On Mon, Apr 23, 2012 at 4:55 AM, Andrew Henshaw wrote: > Trying to work with seconds to avoid format issues with dates in different > countries I keep running into this issue, and im probably just missing > something very obvious! > > Using the following simple code today (the 22nd April).. > > put the date into tDate > convert tDate to seconds > put tDate > > Returns 1335049200 > > Id expect to get a result of 22nd April, but instead Ive fed that in to a > few online UNIX time converters and they all return Sat, 21 Apr 2012 > 23:00:00 GMT which is an hour into the previous day. > > Im assuming its something to do with GMT / daylight savings time, but is > there a reliable way to get and use the seconds. Id like to ensure the > values stored are correct. > > Andy > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Apr 23 04:31:14 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 11:31:14 +0300 Subject: Time-Stamping Demo programs via substacks? Message-ID: <4F951352.40501@gmail.com> Um: --30 Day code-- if the fld "STAMP" of stack "STAMP" is empty then set the lockScreen to true put the seconds into into fld "STAMP" of stack "STAMP" save stack "STAMP" set the lockScreen to false end if put the seconds into DAZE30 put fld "STAMP" of stack "STAMP" into TSTAMP if DAZE30 > (TSTAMP + 2592000) then set the vis of img "TIME IS UP CHUM" to true end if --End 30 Day code-- This works very well in a stack (where stack "STAMP" is a substack of my mainstack), will it work in a standalone? or, put another way, will the standalone save the time-stamp data in the substack? From richmondmathewson at gmail.com Mon Apr 23 04:32:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 11:32:43 +0300 Subject: Time-Stamping Demo programs #2 Message-ID: <4F9513AB.5040406@gmail.com> Um: --30 Day code-- if the fld "STAMP" of stack "STAMP" is empty then set the lockScreen to true put the seconds into into fld "STAMP" of stack "STAMP" save stack "STAMP" set the lockScreen to false end if put the seconds into DAZE30 put fld "STAMP" of stack "STAMP" into TSTAMP if DAZE30 > (TSTAMP + 2592000) then set the vis of img "TIME IS UP CHUM" to true end if --End 30 Day code-- This works very well in a stack (where stack "STAMP" is a substack of my mainstack), will it work in a standalone? [NOT unless I remove that double 'into' . . . :) ] or, put another way, will the standalone save the time-stamp data in the substack? From richmondmathewson at gmail.com Mon Apr 23 04:34:06 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 11:34:06 +0300 Subject: Working with seconds, what am I missing? In-Reply-To: References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: <4F9513FE.80400@gmail.com> What happens if you do a "put the seconds" on a computer that is not internet connected? > Andy, > > As you've discovered seconds is based on GMT so it will cause differences > based on everyone's system settings, there are work arounds as suggested > but it may be easier just to: > > put the date into tDate > convert tDate to dateItems > put tDate > > The output will always be YYYY,MM,DD,HH,MM,SS,day of week, and if you > haven't included a time then, YYYY,MM,DD,0,0,0,day of week. > > Regardless of the system setting, the GMT correction, or personal > preferences, you can always correctly determine the local date and time of > a users computer using dateItems. > > HTH > > On Mon, Apr 23, 2012 at 4:55 AM, Andrew Henshaw wrote: > >> Trying to work with seconds to avoid format issues with dates in different >> countries I keep running into this issue, and im probably just missing >> something very obvious! >> >> Using the following simple code today (the 22nd April).. >> >> put the date into tDate >> convert tDate to seconds >> put tDate >> >> Returns 1335049200 >> >> Id expect to get a result of 22nd April, but instead Ive fed that in to a >> few online UNIX time converters and they all return Sat, 21 Apr 2012 >> 23:00:00 GMT which is an hour into the previous day. >> >> Im assuming its something to do with GMT / daylight savings time, but is >> there a reliable way to get and use the seconds. Id like to ensure the >> values stored are correct. >> >> Andy >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 23 04:37:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2012 10:37:45 +0200 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F9513AB.5040406@gmail.com> References: <4F9513AB.5040406@gmail.com> Message-ID: <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> Hi Richmond, Standalones can't write to themselves and thus your standalone can't save anything in a substack. You can create a separate stack file in a different folder, e.g. application data on Windows, Preferences on Mac OS X and the Home folder on Linux and save time stamp in that stack file. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 23 apr 2012, at 10:32, Richmond wrote: > Um: > > --30 Day code-- > > if the fld "STAMP" of stack "STAMP" is empty then > set the lockScreen to true > put the seconds into into fld "STAMP" of stack "STAMP" > save stack "STAMP" > set the lockScreen to false > end if > > put the seconds into DAZE30 > put fld "STAMP" of stack "STAMP" into TSTAMP > if DAZE30 > (TSTAMP + 2592000) then > set the vis of img "TIME IS UP CHUM" to true > end if > > --End 30 Day code-- > > This works very well in a stack (where stack "STAMP" is a substack of my mainstack), > > will it work in a standalone? > > [NOT unless I remove that double 'into' . . . :) ] > > or, put another way, > > will the standalone save the time-stamp data in the substack? From richmondmathewson at gmail.com Mon Apr 23 04:45:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 11:45:46 +0300 Subject: Time-Stamping Demo programs #2 In-Reply-To: <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> Message-ID: <4F9516BA.8070201@gmail.com> On 04/23/2012 11:37 AM, Mark Schonewille wrote: > Hi Richmond, > > Standalones can't write to themselves and thus your standalone can't save anything in a substack. You can create a separate stack file in a different folder, e.g. application data on Windows, Preferences on Mac OS X and the Home folder on Linux and save time stamp in that stack file. Blast! I am trying to find a way so that I don't have a file "floating about" on somebody's system that they can just flush away to reset the 30 day limit on my DEMO. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > We will have room for new projects after 1 June. Contact me now and be first in line. > > On 23 apr 2012, at 10:32, Richmond wrote: > >> Um: >> >> --30 Day code-- >> >> if the fld "STAMP" of stack "STAMP" is empty then >> set the lockScreen to true >> put the seconds into into fld "STAMP" of stack "STAMP" >> save stack "STAMP" >> set the lockScreen to false >> end if >> >> put the seconds into DAZE30 >> put fld "STAMP" of stack "STAMP" into TSTAMP >> if DAZE30> (TSTAMP + 2592000) then >> set the vis of img "TIME IS UP CHUM" to true >> end if >> >> --End 30 Day code-- >> >> This works very well in a stack (where stack "STAMP" is a substack of my mainstack), >> >> will it work in a standalone? >> >> [NOT unless I remove that double 'into' . . . :) ] >> >> or, put another way, >> >> will the standalone save the time-stamp data in the substack? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Mon Apr 23 04:47:00 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 23 Apr 2012 16:47:00 +0800 Subject: Working with seconds, what am I missing? In-Reply-To: <4F9513FE.80400@gmail.com> References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> <4F9513FE.80400@gmail.com> Message-ID: What always happens. On a Mac, when you set it up it will ask you where you live and give you a map, from the Time Zone tab of the Date & Time preference pane to click on. Once you provided the answer, and assuming you've given it the correct time to start with, it will calculate UTC (politically correct version of GMT). >From then on, even if you don't update the system or connect it to the internet it will adjust for daylight savings if your region has such a thing. Of course if you never update the system or connect it to the internet, should your region decide to change the date that daylight savings starts and finished on, your computer will no longer change to/from daylight savings time appropriately. HTH On Mon, Apr 23, 2012 at 4:34 PM, Richmond wrote: > What happens if you do a "put the seconds" on a computer > that is not internet connected? > > > Andy, >> >> As you've discovered seconds is based on GMT so it will cause differences >> based on everyone's system settings, there are work arounds as suggested >> but it may be easier just to: >> >> put the date into tDate >> convert tDate to dateItems >> put tDate >> >> The output will always be YYYY,MM,DD,HH,MM,SS,day of week, and if you >> haven't included a time then, YYYY,MM,DD,0,0,0,day of week. >> >> Regardless of the system setting, the GMT correction, or personal >> preferences, you can always correctly determine the local date and time of >> a users computer using dateItems. >> >> HTH >> >> On Mon, Apr 23, 2012 at 4:55 AM, Andrew Henshaw wrote: >> >> Trying to work with seconds to avoid format issues with dates in >>> different >>> countries I keep running into this issue, and im probably just missing >>> something very obvious! >>> >>> Using the following simple code today (the 22nd April).. >>> >>> put the date into tDate >>> convert tDate to seconds >>> put tDate >>> >>> Returns 1335049200 >>> >>> Id expect to get a result of 22nd April, but instead Ive fed that in to >>> a >>> few online UNIX time converters and they all return Sat, 21 Apr 2012 >>> 23:00:00 GMT which is an hour into the previous day. >>> >>> Im assuming its something to do with GMT / daylight savings time, but is >>> there a reliable way to get and use the seconds. Id like to ensure the >>> values stored are correct. >>> >>> Andy >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From henshaw at me.com Mon Apr 23 05:05:29 2012 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 23 Apr 2012 10:05:29 +0100 Subject: Working with seconds, what am I missing? In-Reply-To: References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: Thanks everyone, From all the tests this seems to be the best option, but converting the date to the date items it comes back reliably with the same date and time on all settings ive tried, eg UK and US, switching the computers date in and out of daylight savings time etc. Its odd as I had expected livecode to convert the seconds to and from a date in the same way as all the online tools that convert unix time based on seconds since the epoch, but apparently it does depend on which format you convert to as to what time it is. Dateitems works fine though! Thanks Andy On 23 Apr 2012, at 09:07, Kay C Lan wrote: > Andy, > > As you've discovered seconds is based on GMT so it will cause differences > based on everyone's system settings, there are work arounds as suggested > but it may be easier just to: > > put the date into tDate > convert tDate to dateItems > put tDate > > The output will always be YYYY,MM,DD,HH,MM,SS,day of week, and if you > haven't included a time then, YYYY,MM,DD,0,0,0,day of week. > > Regardless of the system setting, the GMT correction, or personal > preferences, you can always correctly determine the local date and time of > a users computer using dateItems. > > HTH > > On Mon, Apr 23, 2012 at 4:55 AM, Andrew Henshaw wrote: > >> Trying to work with seconds to avoid format issues with dates in different >> countries I keep running into this issue, and im probably just missing >> something very obvious! >> >> Using the following simple code today (the 22nd April).. >> >> put the date into tDate >> convert tDate to seconds >> put tDate >> >> Returns 1335049200 >> >> Id expect to get a result of 22nd April, but instead Ive fed that in to a >> few online UNIX time converters and they all return Sat, 21 Apr 2012 >> 23:00:00 GMT which is an hour into the previous day. >> >> Im assuming its something to do with GMT / daylight savings time, but is >> there a reliable way to get and use the seconds. Id like to ensure the >> values stored are correct. >> >> Andy >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Mon Apr 23 05:05:40 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 23 Apr 2012 11:05:40 +0200 Subject: Time-Stamping Demo programs via substacks? In-Reply-To: <4F951352.40501@gmail.com> References: <4F951352.40501@gmail.com> Message-ID: <3812D875-C81C-4BDE-98AF-A0F832EFA57F@sahores-conseil.com> Richmond, The best way to go is to call the DAZE30 function from your standalone and compare it with a TSTAMP reference stored on the cloud so your customers won't find any local file to delete to get a way to bypass your 30 days try-period key. HTH, Le 23 avr. 2012 ? 10:31, Richmond a ?crit : > Um: > > --30 Day code-- > > if the fld "STAMP" of stack "STAMP" is empty then > set the lockScreen to true > put the seconds into into fld "STAMP" of stack "STAMP" > save stack "STAMP" > set the lockScreen to false > end if > > put the seconds into DAZE30 > put fld "STAMP" of stack "STAMP" into TSTAMP > if DAZE30 > (TSTAMP + 2592000) then > set the vis of img "TIME IS UP CHUM" to true > end if > > --End 30 Day code-- > > This works very well in a stack (where stack "STAMP" is a substack of my mainstack), > > will it work in a standalone? > > or, put another way, > > will the standalone save the time-stamp data in the substack? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Mon Apr 23 05:21:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 12:21:19 +0300 Subject: Time-Stamping Demo programs #2 In-Reply-To: <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> Message-ID: <4F951F0F.8070206@gmail.com> On 04/23/2012 11:37 AM, Mark Schonewille wrote: > Hi Richmond, > > Standalones can't write to themselves and thus your standalone can't save anything in a substack. You can create a separate stack file in a different folder, e.g. application data on Windows, Preferences on Mac OS X and the Home folder on Linux and save time stamp in that stack file. And, I suppose storing a time-stamp in a custom property will, similarly, "evaporate" when a standalone is quitted? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > We will have room for new projects after 1 June. Contact me now and be first in line. > > On 23 apr 2012, at 10:32, Richmond wrote: > >> Um: >> >> --30 Day code-- >> >> if the fld "STAMP" of stack "STAMP" is empty then >> set the lockScreen to true >> put the seconds into into fld "STAMP" of stack "STAMP" >> save stack "STAMP" >> set the lockScreen to false >> end if >> >> put the seconds into DAZE30 >> put fld "STAMP" of stack "STAMP" into TSTAMP >> if DAZE30> (TSTAMP + 2592000) then >> set the vis of img "TIME IS UP CHUM" to true >> end if >> >> --End 30 Day code-- >> >> This works very well in a stack (where stack "STAMP" is a substack of my mainstack), >> >> will it work in a standalone? >> >> [NOT unless I remove that double 'into' . . . :) ] >> >> or, put another way, >> >> will the standalone save the time-stamp data in the substack? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 23 05:30:04 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2012 11:30:04 +0200 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F951F0F.8070206@gmail.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F951F0F.8070206@gmail.com> Message-ID: <20543CD1-1CC0-4F1D-9796-462D7F3CC928@economy-x-talk.com> Hi, Yes, it will. I would use a time limitation using a separate file together with a functional limitation, e.g. the inability to save documents. Actually, I rarely use time limitations for my own products, because I believe that every time a user starts up your software is a potential sale. I regularly get requests such as "please send me my license for Str?m Flow Chart Software quickly because I want to save my work" :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 23 apr 2012, at 11:21, Richmond wrote: > On 04/23/2012 11:37 AM, Mark Schonewille wrote: >> Hi Richmond, >> >> Standalones can't write to themselves and thus your standalone can't save anything in a substack. You can create a separate stack file in a different folder, e.g. application data on Windows, Preferences on Mac OS X and the Home folder on Linux and save time stamp in that stack file. > > And, I suppose storing a time-stamp in a custom property will, similarly, "evaporate" when a standalone is quitted? > From richmondmathewson at gmail.com Mon Apr 23 05:34:01 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 12:34:01 +0300 Subject: Time-Stamping Demo programs #2 In-Reply-To: <20543CD1-1CC0-4F1D-9796-462D7F3CC928@economy-x-talk.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F951F0F.8070206@gmail.com> <20543CD1-1CC0-4F1D-9796-462D7F3CC928@economy-x-talk.com> Message-ID: <4F952209.3070007@gmail.com> On 04/23/2012 12:30 PM, Mark Schonewille wrote: > Hi, > > Yes, it will. > > I would use a time limitation using a separate file together with a functional limitation, e.g. the inability to save documents. Actually, I rarely use time limitations for my own products, because I believe that every time a user starts up your software is a potential sale. I regularly get requests such as "please send me my license for Str?m Flow Chart Software quickly because I want to save my work" :-) That is certainly a thought. Thanks. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > We will have room for new projects after 1 June. Contact me now and be first in line. > > On 23 apr 2012, at 11:21, Richmond wrote: > >> On 04/23/2012 11:37 AM, Mark Schonewille wrote: >>> Hi Richmond, >>> >>> Standalones can't write to themselves and thus your standalone can't save anything in a substack. You can create a separate stack file in a different folder, e.g. application data on Windows, Preferences on Mac OS X and the Home folder on Linux and save time stamp in that stack file. >> And, I suppose storing a time-stamp in a custom property will, similarly, "evaporate" when a standalone is quitted? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Mon Apr 23 05:42:58 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 23 Apr 2012 18:42:58 +0900 Subject: install fail inconsistent certificates (Android) In-Reply-To: <006401cd1f6a$fb66dfb0$f2349f10$@net> References: <006401cd1f6a$fb66dfb0$f2349f10$@net> Message-ID: > The development certificate is dynamically created in the .android folder. > So every machine will have a different one. You could try copying the > debug.keystore from one machine to all the others and overwrite the one that > had been created on the other machines. Never tried it but it might work. That did the trick. Thanks, Ralph. -- Nicolas Cueto From richmondmathewson at gmail.com Mon Apr 23 06:02:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 13:02:07 +0300 Subject: Time-Stamping Demo programs via substacks? In-Reply-To: <3812D875-C81C-4BDE-98AF-A0F832EFA57F@sahores-conseil.com> References: <4F951352.40501@gmail.com> <3812D875-C81C-4BDE-98AF-A0F832EFA57F@sahores-conseil.com> Message-ID: <4F95289F.30102@gmail.com> In the clouds, baby! That presupposes that my target demographic are all connected, permanently, to the internet; and they are not. > Richmond, > > The best way to go is to call the DAZE30 function from your standalone and compare it with a TSTAMP reference stored on the cloud so your customers won't find any local file to delete to get a way to bypass your 30 days try-period key. > > HTH, > > Le 23 avr. 2012 ? 10:31, Richmond a ?crit : > >> Um: >> >> --30 Day code-- >> >> if the fld "STAMP" of stack "STAMP" is empty then >> set the lockScreen to true >> put the seconds into into fld "STAMP" of stack "STAMP" >> save stack "STAMP" >> set the lockScreen to false >> end if >> >> put the seconds into DAZE30 >> put fld "STAMP" of stack "STAMP" into TSTAMP >> if DAZE30> (TSTAMP + 2592000) then >> set the vis of img "TIME IS UP CHUM" to true >> end if >> >> --End 30 Day code-- >> >> This works very well in a stack (where stack "STAMP" is a substack of my mainstack), >> >> will it work in a standalone? >> >> or, put another way, >> >> will the standalone save the time-stamp data in the substack? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Mon Apr 23 07:45:05 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 23 Apr 2012 13:45:05 +0200 Subject: Time-Stamping Demo programs Message-ID: <6917DFBB-A8DF-4CC0-ACA4-9316AD7C7652@wanadoo.fr> Hi from Beautiful Brittany, Richmond wrote : > Blast! I am trying to find a way so that I don't have a file "floating > about" on somebody's system that they can just flush away to > reset the 30 day limit on my DEMO. Richmond, forgive me if I am being obtuse, but I don't see the problem. Create a coded file in an obscure place with an obscure name, and with an old creation and modification date. You don't even have to hide it ! This file is effectively "floating around" on the users system, but I doubt if he can find it and delete it. The work-around is to set an old systems date every time you boot your system, but that can lead to unforetold problems Of course, if you create a non-coded file with todays date, with a name like "This is Richmonds 30 Day Demo Check File", and put it in the Preferences Folder, then you are asking for trouble ! ........ Unless there is something I haven't understood ...... Best Regards -Francis From m.schonewille at economy-x-talk.com Mon Apr 23 07:51:11 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2012 13:51:11 +0200 Subject: Time-Stamping Demo programs In-Reply-To: <6917DFBB-A8DF-4CC0-ACA4-9316AD7C7652@wanadoo.fr> References: <6917DFBB-A8DF-4CC0-ACA4-9316AD7C7652@wanadoo.fr> Message-ID: <9BC008A2-9EA0-4923-B809-328D5462F379@economy-x-talk.com> Hi Francis, Using software that keeps a list of all existing files, it is easy to find newly created files. This way, it is very easy to find preferences files and "secret" license files. On the other hand, I believe that only very few people actually do this. Most people just delete the software if they don't like it or obtain a license if they do like it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 23 apr 2012, at 13:45, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Richmond wrote : > >> Blast! I am trying to find a way so that I don't have a file "floating >> about" on somebody's system that they can just flush away to >> reset the 30 day limit on my DEMO. > > Richmond, forgive me if I am being obtuse, but I don't see the problem. > > Create a coded file in an obscure place with an obscure name, and > with an old creation and modification date. You don't even have > to hide it ! > This file is effectively "floating around" on the users system, but > I doubt if he can find it and delete it. > The work-around is to set an old systems date every time you boot your > system, but that can lead to unforetold problems > > Of course, if you create a non-coded file with todays date, with a > name like "This is Richmonds 30 Day Demo Check File", and put it in > the Preferences Folder, then you are asking for trouble ! > > ........ Unless there is something I haven't understood ...... > > Best Regards > > -Francis From barryb at libero.it Mon Apr 23 10:38:54 2012 From: barryb at libero.it (barryb at libero.it) Date: Mon, 23 Apr 2012 16:38:54 +0200 (CEST) Subject: Animation Message-ID: <26411264.5959711335191934008.JavaMail.defaultUser@defaultHost> Dear J.Downs Derek Bump posted "Building a Side-Scrolling Game in Revolution" in this list on September 10th 2009 you can find the whole message at the list archives, http://lists.runrev.com/pipermail/use-livecode/2009-September/128220.html and then download the stack from his site from the link given there. Wait, hold on! His site states that it is Closed Down due to change of activity. Thats a pity, we will all miss the stacks he often offered for our delight and the help he gave to many. Best wishes Derek in your new venture. J, if you would like the stack, please write me offline and I will send you a copy. My grandsons love it despite the hours they spend on Nintendo! Barry From niggemann at uni-wh.de Mon Apr 23 11:09:04 2012 From: niggemann at uni-wh.de (BNig) Date: Mon, 23 Apr 2012 08:09:04 -0700 (PDT) Subject: Animation In-Reply-To: <26411264.5959711335191934008.JavaMail.defaultUser@defaultHost> References: <6BD50D9D-0759-4044-9AFC-B2B3E402BA9C@videotron.ca> <4F92FA18.2060203@fourthworld.com> <4F93E5AE.2010609@pdslabs.net> <18535F31-46C1-49B0-B6DB-870549D7FEB0@gmail.com> <26411264.5959711335191934008.JavaMail.defaultUser@defaultHost> Message-ID: <1335193744238-4580699.post@n4.nabble.com> Dereks game can be found on rev-online http://revonline2.runrev.com/stack/359/Side-Scrolling-Game-Test If rev-online works for you from within LiveCode then you can also access it from "user samples" or menu "Development" -> Rev Online Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Code-Security-When-Using-LiveCode-Server-tp4576830p4580699.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Mon Apr 23 11:11:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Apr 2012 08:11:13 -0700 Subject: Livecode blows a Raspberry? In-Reply-To: <1335069341385-4577655.post@n4.nabble.com> References: <1335069341385-4577655.post@n4.nabble.com> Message-ID: <4F957111.7080801@fourthworld.com> varvar chemrama wrote: > Re: Livecode blows a Raspberry? LiveCode does not currently support ARM/Linux > (as opposed to (de facto) ARM/Android). > > OK, I had made the original request in January to LiveCode Dev for a > ARM/Linux port, anticipating release of the Raspberry Pi. If you're in the dev program you may wish to add your votes to this request for an ARM Linux engine: However: > I have no idea what RunRev thinks of all of this, but given the recent > press release where I understand that LiveCode is going to be adopted > as the programming IDE in schools in a major school district close to > Cambridge, they should pay attention to Raspberry Pi and Eben Upton's > stated mission of promoting interest in computing among school age children, > and port LiveCode to ARM/Linux. At this time, both models of the Raspberry Pi ship with only 256MB RAM, and to keep costs down they use a version of ARM so old that not even Ubuntu can run on it. So while I agree there is some usefulness in an ARM compile of LiveCode's Linux engine, it would not be for the Raspberry Pi because the system specs won't support the sort of GUI work that makes LC uniquely valuable. For teaching, as much as I enjoy LiveCode I would have to suggest that if I were in charge of such decisions for a school district I would choose Python or JavaScript as a beginning language, because they're both entirely free and so widely used that the skills will be more immediately transferable to professional work if the student wishes to pursue that. Of course this isn't to suggest that LC can't be used professionally. On the contrary, it's been a key component of my own profession for more than a decade. But in a world in which most popular languages are free and open (C, C++, Lua, Ruby, PHP, JavaScript, Python, etc.) it becomes difficult to justify LC as a first language in cost-sensitive settings like public schools, no matter how valuable it is as a second language. All of those languages can be used on a Raspberry Pi. I've been parting out low-cost systems for running LiveCode on x86, and so far the cheapest system I can come up with using off-the-shelf parts from outlets like NewEgg is about US$160. While that's many times more expensive than the Pi it's also a much more capable system, with 2 GB RAM and a 30 GB SSD driven by a Via PV530 (which has a Passmark score roughly on par with the Atom 230 I use here in my Lenovo Q110 as a test server; not a powerhouse, but quite adequate for such needs). And with the x86 instruction set it can run not only LiveCode but pretty much any other x86 program; one can even enjoy the simplicity of installing new software from the Ubuntu Software Center, as opposed to the Raspberry Pi experience which will likely require some competence with Bash to use effectively. So while Raspberry Pi is a bit of a non-starter for serious GUI development such as LiveCode excels at, here you provide an interesting alternative: > If they do not, all is not lost since the > Android/ARM gadgets are also in freefall as far as prices are concerned. > When I attended the MIT ARM > Dev Conference in February, Eben was very candid about how the Foundation's > objectives vis-a-vis hardware had changed. Originally, they wanted > everything to be sourced in the U.K., I believe. But they soon found out > that this was not going to be cost effective , and after much debate, > decided to OEM from China. Well, the Raspberry may be the cheapest computer > in the world, but you need display, keyboard, etc., and that adds $ to the > cost. > > If you do a diligent Google search, you will find OEMs in China offering > Android tablets at a cost of between $75 and $90 at the time I am posting > this--it drops every few days! What is the advantage of an Android tablet? > Most of them throw in the wireless interface and you do not need a display > or keyboard. So, you may not get the world's tiniest SBC/COM but you > certainly get a very low power, high res display all-in-one gadget, somewhat > more "open" than the Pi [it was my understanding from the MIT presentation > that certain parts of the Raspberry hardware engine , esp display drivers > and graphics, were proprietary.] The Android tablets are all fairly generic > standard "clones."! Thus, LiveCode will run effortlessly on these low cost > machines, as I have determined from my tests. (Make sure that the OS is > > 2.3 though!) On the developer list Monte Goulding suggested that we end-users consider pitching in to develop an IDE suitable for use on Android, in the hopes that if such an IDE were available RunRev may see the benefit in allow the development version of the engine to be run there. This is no small feat, however, since the single-window nature of mobile UIs will require us to re-think nearly everything about what an IDE means, either settling for intensely modal UIs or dynamically copying groups of IDE controls into the developer's stack as it's being developed. Daunting as the prospect is, I still find it attractive and would be willing to lend a hand if someone were in a position to take the lead on such an effort. > A final remark, again based on my testing, check out this company (Genesi > http://www.genesi-usa.com/products http://www.genesi-usa.com/products ) > that makes the EFIKA, A FULL ARM SBC IN A slim CASE/box that weighs approx > 250 g, has a HDMI port, a USB port, Wired AND wireless ethernet, and a SD > card slot , runs Linux off internal flash RAM but boots Android (build > supplied by Genesi) from the SD card. This elegant gadget costs $130 but I > am sure the company will look at ways to bring prices even lower. I got a > simple LiveCode app working effortlessly on the EFIKA. A tempting option, but for a development system its price is close enough to what one can assemble with low-cost x86 motherboards like the Via Nano and PV530 models that we might just spend the extra $30 and take a few minutes to snap together the parts from NewEgg. With an x86-based system you can use the existing LiveCode IDE right now. And for just a few dollars more you could build a system using the Atom D525 for performance on par with some Core 2 Duo systems, or even better use the latest Cedar Trail Atom CPUs like the D2700 built with a 32nm process to deliver two cores with hyperthreaded performance with a maximum TDP of just 10W. For a quick comparison of such options, check out these mobos: Via PV530 CPU, 20W TDP, 100 Mbps Ethernet, US$56.99 Atom D525 CPU, 13W TDP, Gigabit Ethernet, US$74.99 Atom D2700 CPU, 10W TDP, Gigabit Ethernet, US$79.99 I've been accumulating some info on low-cost systems like this which I'll be sharing with the community in some articles at LiveCodeJournal.com soon. With prices ranging from $160 to $400, there's a surprising variety of very useful low-power systems that can run the LiveCode IDE, along with LAMP and pretty much anything else you'd need in a research server. > Pardon the grammar and punctuation, and I am sorry if I have violated any > post etiquette or posted in the wrong forum--I do not post very often. Not to worry: your English is far better than that of many Americans. ;) -- 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 mazzapaoloitaly at gmail.com Mon Apr 23 11:23:12 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 23 Apr 2012 17:23:12 +0200 Subject: Augmented reality In-Reply-To: <35285FD2-2AEC-4AD4-BC27-C3D3762CE159@sweattechnologies.com> References: <651543FF-28B9-40E3-94CA-2E95FDC9B1F5@gmail.com> <35285FD2-2AEC-4AD4-BC27-C3D3762CE159@sweattechnologies.com> Message-ID: Monte you are right, it is too early ask for samples. However, in theory, do you think is it possible to create an Augmented Reality application using your external to manage the Relevant Points on the map? All the best Paolo From mazzapaoloitaly at gmail.com Mon Apr 23 11:37:01 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 23 Apr 2012 17:37:01 +0200 Subject: Streaming video in a multi platform application Message-ID: What's the best solution in LiveCode to show Streaming Videos ? Consider an application (for Mac, Windows and Mobile) with a player/window to show videos coming from a Streaming Server. The iOS video player is reliable? How can I show videos in a Windows and MAC applications ? All the best Paolo From dan at clearvisiontech.com Mon Apr 23 11:43:09 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 23 Apr 2012 08:43:09 -0700 Subject: in-App Reviews Message-ID: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> Greetings! I would like to prompt the user to rate my app. Something like every 10 launches the app throws a dialog asking the user if they want to leave a positive review. If they tap "Yes", note that somewhere so we don't as them again. How do you do this? Several questions come to mind: (1) Do you just go to the app's url? Launching Safari with the app's url (http://itunes.apple.com/us/app/id123456789) (2) How do you get the app ID that Apple assigns your app when it's approved? Has anyone done something like this? If so, how did you do it! Thanks in advance! -Dan From m.schonewille at economy-x-talk.com Mon Apr 23 11:59:13 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2012 17:59:13 +0200 Subject: Streaming video in a multi platform application In-Reply-To: References: Message-ID: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> Hi Paolo, I don't know what is "best", but the rtsp protocol with a video format that QuickTime understands works fine on Mac and Windows, provided that QuickTime is installed. I would expect this to work on iOS as well but I haven't tried that with LC yet. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 23-apr-2012, om 17:37 heeft paolo mazza het volgende geschreven: > What's the best solution in LiveCode to show Streaming Videos ? > Consider an application (for Mac, Windows and Mobile) with a > player/window to show videos coming from a Streaming Server. > > The iOS video player is reliable? > How can I show videos in a Windows and MAC applications ? > > All the best > Paolo From bobs at twft.com Mon Apr 23 12:09:42 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 23 Apr 2012 09:09:42 -0700 Subject: in-App Reviews In-Reply-To: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> References: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> Message-ID: <388C38A5-AE18-4AC8-9194-65EE60A406DA@twft.com> Just make sure you give the user a Never Ask Me Again option. An app that keeps asking me to review it or upgrade it is irritating to me. Parallels does that, and they do have a Don't Ask Again checkbox, but it only applies to THAT particular version of Parallels, and when there is a minor update, it resets the ad. Grrrr!!! Bob On Apr 23, 2012, at 8:43 AM, Dan Friedman wrote: > Greetings! > > I would like to prompt the user to rate my app. Something like every 10 launches the app throws a dialog asking the user if they want to leave a positive review. If they tap "Yes", note that somewhere so we don't as them again. How do you do this? > > Several questions come to mind: > > (1) Do you just go to the app's url? Launching Safari with the app's url (http://itunes.apple.com/us/app/id123456789) > (2) How do you get the app ID that Apple assigns your app when it's approved? > > Has anyone done something like this? If so, how did you do it! > > Thanks in advance! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Apr 23 12:13:52 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 23 Apr 2012 12:13:52 -0400 Subject: in-App Reviews In-Reply-To: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> References: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> Message-ID: <194F5DBA-4F06-4923-BC1F-694F2E3557B4@verizon.net> You can use a shared object to note whether the user has previously clicked on your Write Review button, or perhaps on the Never Ask Me Again button. Here's the code I use to go directly from within my app to the list of reviews for the app in the App Store app: public function toreview() { goURL("itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=514220257"); } public function goURL(url:String) { navigateToURL(new URLRequest(url),"_blank"); } The 514220257 is the code for my app, you will know your ID as you start to enter details in the App Store. The Upload App part comes later than when you are given the ID, so you can do one last build with the correct link. From jacque at hyperactivesw.com Mon Apr 23 12:15:55 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Apr 2012 11:15:55 -0500 Subject: in-App Reviews In-Reply-To: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> References: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> Message-ID: <4F95803B.2020501@hyperactivesw.com> On 4/23/12 10:43 AM, Dan Friedman wrote: > Greetings! > > I would like to prompt the user to rate my app. Something like every > 10 launches the app throws a dialog asking the user if they want to > leave a positive review. I'd think twice about that. At least on Android, people detest it and will degrade the app rating if the developer spams them with requests for reviews. Some people have deleted the app entirely because of it and left a scathing review. If they get irritated when your dialog pops up, you've provided a convenient way for them to go directly to the App Store and tell you off. A better approach is to put something into an About screen or possibly the settings card that provides a link to the app store URL. People don't seem to mind that so much. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Mon Apr 23 12:52:21 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 23 Apr 2012 12:52:21 -0400 Subject: in-App Reviews In-Reply-To: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> References: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> Message-ID: <33B52CBC-FDD7-4D20-9366-B3422CFE2A30@verizon.net> My answer no doubt confused everyone! There is someone on a Flash list I'm on that has a similar name to Dan, and I though I was reading that list. The solution still applies, in LiveCode you should be able to do this: launch url "itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=514220257" where the 514220257 part would be your app's ID. However, in the Simulator it seems not to work. Not sure if it will work on a device. From richmondmathewson at gmail.com Mon Apr 23 13:11:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 20:11:46 +0300 Subject: Journalism Message-ID: <4F958D52.2000206@gmail.com> "There are now over 60 universities in the UK offering BA honours degrees in journalism." http://www.city.ac.uk/arts/journalism Leeds: http://ics.leeds.ac.uk/ug/ "Journalism Studies at Sheffield also ranked 1st under the Times Good University Guide 2009 subject league table for Communications and Media Studies." http://www.shef.ac.uk/journalism/prospectiveug http://www.shef.ac.uk/journalism/prospectiveug/ba_structure GERMANY: http://www.djs-online.de/ From tolistim at me.com Mon Apr 23 13:17:45 2012 From: tolistim at me.com (Tim Jones) Date: Mon, 23 Apr 2012 10:17:45 -0700 Subject: Journalism In-Reply-To: <4F958D52.2000206@gmail.com> References: <4F958D52.2000206@gmail.com> Message-ID: <283D41A9-B4CF-414B-98EF-E4CE109F8956@me.com> Spam??? Someone's email account has been hacked? Otherwise, how is this apropos to LiveCode? On Apr 23, 2012, at 10:11 AM, Richmond wrote: > "There are now over 60 universities in the UK offering BA honours degrees in journalism." From richmondmathewson at gmail.com Mon Apr 23 13:28:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Apr 2012 20:28:40 +0300 Subject: Journalism In-Reply-To: <283D41A9-B4CF-414B-98EF-E4CE109F8956@me.com> References: <4F958D52.2000206@gmail.com> <283D41A9-B4CF-414B-98EF-E4CE109F8956@me.com> Message-ID: <4F959148.3030409@gmail.com> On 04/23/2012 08:17 PM, Tim Jones wrote: Err; sorry; nobody's e-mail has been hacked, but my fingers slipped and posted this message to the wrong place. > Spam??? Someone's email account has been hacked? > > Otherwise, how is this apropos to LiveCode? > > On Apr 23, 2012, at 10:11 AM, Richmond wrote: > >> "There are now over 60 universities in the UK offering BA honours degrees in journalism." > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Mon Apr 23 13:33:00 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 23 Apr 2012 10:33:00 -0700 (PDT) Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: <1335202380229-4581155.post@n4.nabble.com> Roger Guay wrote > > Hi All, > > RadialDialOmatic is a utility I created to make nice (even if I say so > myself) Radial Dials. With RevOnLine still down, I'm afraid you will have > to go to my downloads page to get it: > > Roger > Roger, your stuff is always so cool! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Radial-Dial-Making-Utility-tp4571602p4581155.html Sent from the Revolution - User mailing list archive at Nabble.com. From mazzapaoloitaly at gmail.com Mon Apr 23 16:13:25 2012 From: mazzapaoloitaly at gmail.com (Paolo Mazza) Date: Mon, 23 Apr 2012 22:13:25 +0200 Subject: Streaming video in a multi platform application In-Reply-To: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> References: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> Message-ID: <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> Hi Mark, Unfortunately most of win-pc have not Quick Time. Any other solution? All the best Paolo Il giorno 23/apr/2012, alle ore 17:59, Mark Schonewille ha scritto: > Hi Paolo, > > I don't know what is "best", but the rtsp protocol with a video format that QuickTime understands works fine on Mac and Windows, provided that QuickTime is installed. > > I would expect this to work on iOS as well but I haven't tried that with LC yet. > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > > Download Color Converter at http://www.color-converter.com > > Op 23-apr-2012, om 17:37 heeft paolo mazza het volgende geschreven: > >> What's the best solution in LiveCode to show Streaming Videos ? >> Consider an application (for Mac, Windows and Mobile) with a >> player/window to show videos coming from a Streaming Server. >> >> The iOS video player is reliable? >> How can I show videos in a Windows and MAC applications ? From francois.chaplais at mines-paristech.fr Mon Apr 23 16:31:35 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 23 Apr 2012 22:31:35 +0200 Subject: Streaming video in a multi platform application In-Reply-To: <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> References: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> Message-ID: <229415BD-7B4A-416D-AC65-B8C05215B215@mines-paristech.fr> my son is a student in 3D and video effects, and his teachers advise the students to export their video to .mp4 format for best compatibility, which is I think MPEG 4 without the quicktime embedding. The following movie has been finalized on windows and plays fine in Safari on my mac. Give it a try for testing if you like. http://www.graphisme-chaplais.fr/Graphisme_Chaplais/Videos_files/Atelier_Demo_1.mp4 I realize this is not streaming in the strict sense, but the remark on file format should hold. Best, Fran?ois Le 23 avr. 2012 ? 22:13, Paolo Mazza a ?crit : > Hi Mark, > Unfortunately most of win-pc have not Quick Time. Any other solution? > All the best > Paolo > > Il giorno 23/apr/2012, alle ore 17:59, Mark Schonewille ha scritto: > >> Hi Paolo, >> >> I don't know what is "best", but the rtsp protocol with a video format that QuickTime understands works fine on Mac and Windows, provided that QuickTime is installed. >> >> I would expect this to work on iOS as well but I haven't tried that with LC yet. >> >> -- >> >> Economy-x-Talk >> Consultancy and Software Engineering >> http://economy-x-talk.com >> >> Download Color Converter at http://www.color-converter.com >> >> Op 23-apr-2012, om 17:37 heeft paolo mazza het volgende geschreven: >> >>> What's the best solution in LiveCode to show Streaming Videos ? >>> Consider an application (for Mac, Windows and Mobile) with a >>> player/window to show videos coming from a Streaming Server. >>> >>> The iOS video player is reliable? >>> How can I show videos in a Windows and MAC applications ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Apr 23 16:40:12 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 24 Apr 2012 06:40:12 +1000 Subject: Augmented reality In-Reply-To: References: <651543FF-28B9-40E3-94CA-2E95FDC9B1F5@gmail.com> <35285FD2-2AEC-4AD4-BC27-C3D3762CE159@sweattechnologies.com> Message-ID: <04E39FF3-9812-413F-AFDA-6C65FEB2378C@sweattechnologies.com> Hi Paolo You get callbacks when the use selects, deselects and taps the annotation callout. One thing you could do is have the map in part of your screen and when the user selects an annotation ask a question about that location on the other part of the screen. If they get the answer right you could add another annotation to the map for the next step in the game. Is that the kind of thing you mean? You could also calculate their proximity to the annotation before letting them see the question. Cheers On 24/04/2012, at 1:23 AM, paolo mazza wrote: > Monte you are right, it is too early ask for samples. > However, in theory, do you think is it possible to create an Augmented > Reality application using your external to manage the Relevant Points > on the map? > All the best > Paolo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From francois.chaplais at mines-paristech.fr Mon Apr 23 16:39:18 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 23 Apr 2012 22:39:18 +0200 Subject: Streaming video in a multi platform application In-Reply-To: <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> References: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> Message-ID: <5D077AA7-F004-40B7-BBE4-AA386025FD36@mines-paristech.fr> It also plays on the iPhone (I just checked) F. Le 23 avr. 2012 ? 22:13, Paolo Mazza a ?crit : > Hi Mark, > Unfortunately most of win-pc have not Quick Time. Any other solution? > All the best > Paolo From niconiko at gmail.com Mon Apr 23 19:18:11 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 24 Apr 2012 08:18:11 +0900 Subject: reposition single-line text to the left or right? Message-ID: Hello All, On the keyboard I made for my Android app, a typed letter gets added after the last typed letter onto a single-line text field (locked and wrap off). When the string of letters reaches the field's far-right, newly typed letters of course get added but out of sight off-field. Is there an LC way (without relying on horizontal scroll) to move left the text-string/line as each new letter gets added to the end of the string? Likewise, shifted right when deleting last letters? Thanks. -- Nicolas Cueto From lan.kc.macmail at gmail.com Mon Apr 23 20:39:09 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 24 Apr 2012 08:39:09 +0800 Subject: Working with seconds, what am I missing? In-Reply-To: References: <3BA1964F-3AF5-4472-854E-62D5655A6D02@me.com> Message-ID: On Mon, Apr 23, 2012 at 5:05 PM, Andrew Henshaw wrote: > > Its odd as I had expected livecode to convert the seconds to and from a > date in the same way as all the online tools that convert unix time based > on seconds since the epoch, but apparently it does depend on which format > you convert to as to what time it is. > > I think you may have just needed to do a little more checking. I went to this website: http://www.epochconverter.com/ and input your number: 1335049200 and it came up with, as you say: 21 Apr 2012 23:00:00 GMT, BUT it also came up with 22 Apr 2012 07 19:00:00 which is the time corrected for the time zone I'm currently in. I then test in Terminal on OS X with: $ date -r 1335049200 and the it came back: Sun 22 Apr 2012 19:00:00 EDT - a local time, NOT a GMT time. I then tested using the -u option: $ date -ur 1335049200 and it came back: Sat 21 Apr 2012 23:00:00 UTC - as per your online converters. All you are seeing when you use an online converter is that they've probably set the -u option so the output is UTC (GMT) rather than the default time zone, which would have been where ever the server is located. What you don't appreciate is that this is because they haven't gone to the trouble, as www.epochconverter.com obviously did, to write the extra code to search your computer to find what time zone you're in to output the conversion into something more usable to you. The helpful people at RunRev have done that for you with LiveCode. Terminal and LiveCode (which I'm guessing is simply using OS X underlying Unix for the answer) base all their 'seconds' on the same Epoch as the online Unix converters you have used. The only difference is, Terminal and LiveCode KNOW what time zone your computer is in so give you the answer relative to your time zone. This is actually what you want for ALL date and time manipulation presented to a user. Where dates and time become tricky is when you are trying to compare them between different users located around the world. My general rule of thumb is: If you are only interested in avoiding confusion surround date formats (is 2/4/12 2nd Apr or Feb 4th) then use dateItems. If time is involved, the start with internet date (as it includes the UTC (GMT) offset) and then convert to dateItems and apply appropriate UTC conversions. If you haven't gathered, I love LiveCode and dateItems. It makes it so easy to figure out what date and time it was 83 days 98 hours 76 min ago in India, which has an offset of UTC + 5hrs 30 min. Actually it's not that hard with seconds, but dateItems just gel with my simple mind. HTH From lan.kc.macmail at gmail.com Mon Apr 23 21:04:21 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 24 Apr 2012 09:04:21 +0800 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F9516BA.8070201@gmail.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> Message-ID: On Mon, Apr 23, 2012 at 4:45 PM, Richmond wrote: > > Blast! I am trying to find a way so that I don't have a file "floating > about" on somebody's system that they can just flush away to > reset the 30 day limit on my DEMO. > I'm assuming then you must have some sort of licensing system for those who wish to go beyond the demo. How does this work? Surely your demo licensing system must be based aound it. I'm out of my depth here because I only develop for a very small circle of users (more like a dot really;-) so licensing isn't an issue, but I thought the whole concept of the Splash stack was to get around the limitation of a stack not being able to save to itself. Once you have a Splash-Working stack arrangement you can save your rego info in an encrypted sub-stack, as a customProp so it isn't available to prying eyes to throw away or amend. From lvhdgc7 at gmail.com Mon Apr 23 23:20:25 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 23 Apr 2012 20:20:25 -0700 (PDT) Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: <1335237625137-4582321.post@n4.nabble.com> Soooo easy! Thanks! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Radial-Dial-Making-Utility-tp4571602p4582321.html Sent from the Revolution - User mailing list archive at Nabble.com. From barrysum at bigpond.net.au Mon Apr 23 23:53:54 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Tue, 24 Apr 2012 13:53:54 +1000 Subject: LC for Android: Retrieve center lat n lng from LC browser using google maps? Message-ID: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> Hi all, I'm using the LC for Android browser. I've got a web page .html that will allow me to pin point a specific location on a Google map. The HTML will display the lat n lng of that address and the closest matching address. I would like to be able to access that info. And perhaps save to a db or send an email or sms with it etc. I'm trying to screen scrape that info off the page. I see that LC HTMLText property is available for the desktop browser versions but not for the Android browser. Anyone have any ideas on how to screen scrape or to retrieve that HTML data for use in LiveCode for Android? Or perhaps suggest another method? tia http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable -markers.html All my best, Barry G. Sumpter From stephenREVOLUTION2 at barncard.com Tue Apr 24 00:23:18 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 23 Apr 2012 21:23:18 -0700 Subject: [OT] The State Of HTML5 Video UPDATE Message-ID: http://www.longtailvideo.com/html5/ this is an update of Longtail's comprehensive and concise report about the state of HTML5 and the browsers that support it. The numbers have changed significantly. I've found this company's HTML5 media player (JWPlayer) to be one of the best performing and most compatible for web based media delivery. And they update versions regularly. -- Stephen Barncard San Francisco Ca. USA more about sqb From mazzapaoloitaly at gmail.com Tue Apr 24 03:14:14 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 24 Apr 2012 09:14:14 +0200 Subject: Streaming video in a multi platform application In-Reply-To: <5D077AA7-F004-40B7-BBE4-AA386025FD36@mines-paristech.fr> References: <755DEBE9-CE13-414E-A143-ADF5C6F337EE@economy-x-talk.com> <4C6D1FEB-3325-4471-A3A6-59456561B890@gmail.com> <5D077AA7-F004-40B7-BBE4-AA386025FD36@mines-paristech.fr> Message-ID: Fran?ois, very nice video. I agree on the MPEG 4 format for best compatibility given the fact that HTML5 (iOS), flash player and quicktime player accept this format. So, as far as the browser are concerned, you can use this format to broadcast a video (also in streaming ) to all the platforms. But how can I manage video streaming in a LC application in the most relevant platforms? I know there is a specific library for iOS and it is supposed to work fine. What about the Mac and PC-Windows platforms? It seems to me that the video player of LC does not manage MPEG 4 video streaming. Then, what about windows PC without quicktime? Thank you all, Paolo 2012/4/23 Fran?ois Chaplais : > It also plays on the iPhone (I just checked) > F. > Le 23 avr. 2012 ? 22:13, Paolo Mazza a ?crit : > >> Hi Mark, >> Unfortunately most of win-pc have not Quick Time. Any other solution? >> All the best >> Paolo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mazzapaoloitaly at gmail.com Tue Apr 24 03:39:23 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 24 Apr 2012 09:39:23 +0200 Subject: [OT] The State Of HTML5 Video UPDATE In-Reply-To: References: Message-ID: Stephen, do you use RevBrowser and the JWPlayer to deliver video in LC applications? There are at least 2 other video players managing HTML5 video: videojs - http://videojs.com/ flowplayer - http://flowplayer.org/ You can have a look at this web page: http://www.virtualmeeting.info/AAA/AAA1/ProvaVideoJS_flashc.html It works with most of the browsers supporting HTML5. I set up also some basic Javascript commands to start and stop the video (that you can send form the LC app) . However, I do not understand why, if I open this page from rev-bowser in a LC application, most of the time in windows PC I can not see the video .It depends on the browser installed in the PC? What about if I have installed more than one browser? Have you experienced these problems also using JWPlayer from revBrowser in LC apps ? All the best Paolo On Tue, Apr 24, 2012 at 6:23 AM, stephen barncard wrote: > http://www.longtailvideo.com/html5/ > > this is an update of Longtail's comprehensive and concise report about the > state of HTML5 and the browsers that support it. The numbers have > changed significantly. > > I've found this company's HTML5 media player (JWPlayer) to be one of the > best performing and most compatible for web based media delivery. And they > update versions regularly. > > -- > > > > 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 henshaw at me.com Tue Apr 24 05:38:33 2012 From: henshaw at me.com (Andrew Henshaw) Date: Tue, 24 Apr 2012 10:38:33 +0100 Subject: in-App Reviews In-Reply-To: <33B52CBC-FDD7-4D20-9366-B3422CFE2A30@verizon.net> References: <79BD0D96-7195-474D-9307-DEB4D23EDA9E@clearvisiontech.com> <33B52CBC-FDD7-4D20-9366-B3422CFE2A30@verizon.net> Message-ID: <9A32FAD5-6A5E-46C1-889F-74D33E107197@me.com> Thats pretty much what I use. I can confirm it does not work in the simulator, but works fine on the device. As part of the other discussion as to how annoying it can be, I wrote a routine that counts up how many times the app has been used and the box is never shown unless the user has been using it for more than 2 weeks, and has started the app at least x times. It then pops up and answer box and offers the choices to rate now, remind later or never ask again. This seems to work as only people who continue to use my apps ever get the reminder, and generally they leave the best reviews. Newbies just get to use the app. Andy On 23 Apr 2012, at 17:52, Colin Holgate wrote: > My answer no doubt confused everyone! There is someone on a Flash list I'm on that has a similar name to Dan, and I though I was reading that list. The solution still applies, in LiveCode you should be able to do this: > > launch url "itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=514220257" > > where the 514220257 part would be your app's ID. > > However, in the Simulator it seems not to work. Not sure if it will work on a device. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Apr 24 06:57:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 24 Apr 2012 20:57:04 +1000 Subject: Free upgrade from mergZXing to mergExt Message-ID: Hi There's still a few people that purchased mergZXing that haven't responded to my emails offering them registration urls fro mergExt. If you purchased mergZXing and you never received one of my emails then please contact me off list. PS mergExt now includes a free unlock code for sQuiRt the 100% LiveCode QR Code Generaator made by Spladh21. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From richmondmathewson at gmail.com Tue Apr 24 08:36:49 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Apr 2012 15:36:49 +0300 Subject: Time-Stamping Demo programs #2 In-Reply-To: References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> Message-ID: <4F969E61.20405@gmail.com> On 24/04/12 04:04, Kay C Lan wrote: > On Mon, Apr 23, 2012 at 4:45 PM, Richmondwrote: > >> Blast! I am trying to find a way so that I don't have a file "floating >> about" on somebody's system that they can just flush away to >> reset the 30 day limit on my DEMO. >> > I'm assuming then you must have some sort of licensing system for those who > wish to go beyond the demo. How does this work? Surely your demo licensing > system must be based aound it. > > I'm out of my depth here because I only develop for a very small circle of > users (more like a dot really;-) so licensing isn't an issue, but I thought > the whole concept of the Splash stack was to get around the limitation of a > stack not being able to save to itself. Once you have a Splash-Working > stack arrangement you can save your rego info in an encrypted sub-stack, as > a customProp so it isn't available to prying eyes to throw away or amend. They can, however, throw away the substack (because, as far as I can work out, it cannot be a substack - so cannot be hidden inside a standalone's file structure - but a free-standing stack), at which point a standalone would recreate the stack with an updated time-stamp. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Apr 24 10:12:10 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 24 Apr 2012 10:12:10 -0400 Subject: LC for Android: Retrieve center lat n lng from LC browser using google maps? In-Reply-To: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> References: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> Message-ID: <59D8ECBC-6768-44F9-9389-E188BF33130C@gmail.com> On Apr 23, 2012, at 11:53 PM, Barry G. Sumpter wrote: > Hi all, > > I'm using the LC for Android browser. > I've got a web page .html that will allow me to pin point a specific > location on a Google map. > The HTML will display the lat n lng of that address and the closest matching > address. > I would like to be able to access that info. > And perhaps save to a db or send an email or sms with it etc. > > I'm trying to screen scrape that info off the page. > > I see that LC HTMLText property is available for the desktop browser > versions but not for the Android browser. > > Anyone have any ideas on how to screen scrape or to retrieve that HTML data > for use in LiveCode for Android? > > Or perhaps suggest another method? Maybe there's something I don't know about the Android platform, but I think that put url "http://maps.google.com/whatever.html" into pageHTML will just put the HTML into the variable, no matter what the platform. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Tue Apr 24 10:13:52 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Apr 2012 07:13:52 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F9516BA.8070201@gmail.com> References: <4F9516BA.8070201@gmail.com> Message-ID: <4F96B520.8010104@fourthworld.com> Richmond wrote: > Blast! I am trying to find a way so that I don't have a file "floating > about" on somebody's system that they can just flush away to > reset the 30 day limit on my DEMO. Have you considered a non-expiring feature-limited demo instead? Time-limited trials not only are they harder to set up, but after 30 days if the user hasn't made a buying decision it's just dead weight in their hard drive, likely to be removed and eventually forgotten. But if there's some subset of functionality which could be given away for free, with the rest activated with a license key, then you have your calling card installed on the user's machine for as long as they feel it may be useful to them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at lcsql.com Tue Apr 24 10:56:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 24 Apr 2012 07:56:19 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F969E61.20405@gmail.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> Message-ID: Hi Richmond, I just went through this same thought process. I have a 30 day and functionality limits in my product but finally accepted that it's impossible to make them foolproof. In my case, I.m selling a $25 product so it doesn't make sense to spend huge amounts of time to foil the efforts of a tiny number of cheaters - the vast majority of people are honest IMHO. If I was selling a $5000 product, I'd be inclined to strengthen my legality checking. That said, it seems to me that if you include your demo date substack with your product, then if it's not there at run time, just stop execution. Pete On Apr 24, 2012 5:36 AM, "Richmond" wrote: > On 24/04/12 04:04, Kay C Lan wrote: > >> On Mon, Apr 23, 2012 at 4:45 PM, Richmond >> >wrote: >> >> Blast! I am trying to find a way so that I don't have a file "floating >>> about" on somebody's system that they can just flush away to >>> reset the 30 day limit on my DEMO. >>> >>> I'm assuming then you must have some sort of licensing system for those >> who >> wish to go beyond the demo. How does this work? Surely your demo licensing >> system must be based aound it. >> >> I'm out of my depth here because I only develop for a very small circle of >> users (more like a dot really;-) so licensing isn't an issue, but I >> thought >> the whole concept of the Splash stack was to get around the limitation of >> a >> stack not being able to save to itself. Once you have a Splash-Working >> stack arrangement you can save your rego info in an encrypted sub-stack, >> as >> a customProp so it isn't available to prying eyes to throw away or amend. >> > > They can, however, throw away the substack (because, as far as I can work > out, it cannot > be a substack - so cannot be hidden inside a standalone's file structure - > but a free-standing stack), > at which point a standalone would recreate the stack with an updated > time-stamp. > > ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 researchware.com Tue Apr 24 11:08:45 2012 From: paul at researchware.com (Paul Dupuis) Date: Tue, 24 Apr 2012 11:08:45 -0400 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F969E61.20405@gmail.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> Message-ID: <4F96C1FD.907@researchware.com> On 4/24/2012 8:36 AM, Richmond wrote: > On 24/04/12 04:04, Kay C Lan wrote: >> On Mon, Apr 23, 2012 at 4:45 PM, >> Richmondwrote: >> >>> Blast! I am trying to find a way so that I don't have a file "floating >>> about" on somebody's system that they can just flush away to >>> reset the 30 day limit on my DEMO. >>> >> I'm assuming then you must have some sort of licensing system for >> those who >> wish to go beyond the demo. How does this work? Surely your demo >> licensing >> system must be based aound it. >> >> I'm out of my depth here because I only develop for a very small >> circle of >> users (more like a dot really;-) so licensing isn't an issue, but I >> thought >> the whole concept of the Splash stack was to get around the >> limitation of a >> stack not being able to save to itself. Once you have a Splash-Working >> stack arrangement you can save your rego info in an encrypted >> sub-stack, as >> a customProp so it isn't available to prying eyes to throw away or >> amend. > > They can, however, throw away the substack (because, as far as I can > work out, it cannot > be a substack - so cannot be hidden inside a standalone's file > structure - but a free-standing stack), > at which point a standalone would recreate the stack with an updated > time-stamp. > There is no way to create a time based demo that can not be circumvented that relies on the local system's time as the user can always reset their computer's clock. Which is generally easier than trying to track down a possibly hidden file somewhere that is tracking the elapsed time. If you really want to make a time based demo, and do not want to risk a local encrypted hidden file that keeps track of the elapsed time, you need to require an internet connection and both get your time and keep track of it on a server you control. LiveCode's built in internet functions make it very easy to exchange data with a PHP or LiveCode server application to track a unique demo identifier and timestamp in a simple file or database. However, I'd agree with Richard Gaskin's post that a feature limited demo is generally a better marketing approach than a time limited demo. -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From iangmcknight at gmail.com Tue Apr 24 11:10:16 2012 From: iangmcknight at gmail.com (Ian McKnight) Date: Tue, 24 Apr 2012 16:10:16 +0100 Subject: Help finding an application path in windows In-Reply-To: References: Message-ID: Hi Ken Thanks for the suggestion - it worked perfectly when I included a last "\" at the end of the path. Regards Ian McKnight On 22 April 2012 12:50, Ken Ray wrote: > > On Apr 21, 2012, at 8:16 AM, Ian McKnight wrote: > > > Hi > > > > I'm am able to launch a file in Excel directly from LC but I do not want > to > > hard code the path to excel in my app. > > I'm not at my PC to confirm this at the moment, but according to a web > search, you should be able to do this (watch for line breaks): > > put queryRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ > CurrentVersion\App Paths\excel.exe") into tExcelPath > > > 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From jacque at hyperactivesw.com Tue Apr 24 12:11:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Apr 2012 11:11:08 -0500 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F96C1FD.907@researchware.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> Message-ID: <4F96D09C.9070009@hyperactivesw.com> On 4/24/12 10:08 AM, Paul Dupuis wrote: > However, I'd agree with Richard Gaskin's post that a feature limited > demo is generally a better marketing approach than a time limited demo. I think so too. Or even just make the program slightly annoying during launch. Graphic Converter does that and its author has been supporting himself for years with it, it's hugely popular. It isn't limited in any way. He just inserts a 10 second wait after every launch before the program becomes useable. Like most people, I used the free version for a couple of years until the ten seconds got so annoying I paid up. I've been paying for updates ever since. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 24 12:30:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Apr 2012 11:30:22 -0500 Subject: LC for Android: Retrieve center lat n lng from LC browser using google maps? In-Reply-To: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> References: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> Message-ID: <4F96D51E.7060703@hyperactivesw.com> On 4/23/12 10:53 PM, Barry G. Sumpter wrote: > I'm trying to screen scrape that info off the page. > > I see that LC HTMLText property is available for the desktop browser > versions but not for the Android browser. > > Anyone have any ideas on how to screen scrape or to retrieve that HTML data > for use in LiveCode for Android? > > Or perhaps suggest another method? I haven't tried it, but you might be able to put the url into a variable instead of into the browser control, parse the variable for the info you need, and then use mobileControlDo "load" to put the variable into the browser for display. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Apr 24 12:31:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Apr 2012 09:31:05 -0700 Subject: [OT] ROR Difference between has one and belongs to one Message-ID: <5CFF9EE4-F905-4AE5-8ED0-1668452100C0@twft.com> Hi. For anyone who has experience using Ruby on Rails, I have a friend who is redesigning the corporate web site, and he wants to use ROR. He is stumped at their way of defining relationships. He says there is a Belongs To One relationship and a Has One relationship. It sounds to me like they are talking about a one to one relationship from different directions but why that would be useful I do not know. Anyone have any wisdom on the subject? Bob From dsimpson at dotcomsolutionsinc.net Tue Apr 24 12:38:33 2012 From: dsimpson at dotcomsolutionsinc.net (David Simpson) Date: Tue, 24 Apr 2012 09:38:33 -0700 Subject: [ANN] VB6 to LiveCode Conversion Feature Message-ID: <1EE1601D-E7BB-4C3D-9BC2-798301A2F33F@dotcomsolutionsinc.net> 4-23-2012 - Fremont, California - FmPro Migrator Platinum Edition 6.68 Adds VB6 to LiveCode Conversion Feature Microsoft VB6 developers looking to switch to the LiveCode cross platform development environment can now use FmPro Migrator Platinum Edition. This new feature automates the conversion of VB6 form files and Visual Basic code into LiveCode stack files. VB6 form object scripts are converted and added to card objects. The LiveCode version of the scripts are syntactically converted to match LiveCode syntax. The dot notation used to reference properties has been replaced with the equivalent LiveCode script. However most object property names will need to be manually changed to reflect the properties of LiveCode objects. VB6 developers routinely create multiple form objects having the same name, then reference the object properties like an array. Since LiveCode objects need to be uniquely named (or referenced by their object ID) to be used within a script, the converted scripts are changed accordingly. So for instance, a property referenced like: Field.Text[1] Field.Text[2] Gets changed as follows: the plainText of field "Field[1]" the plainText of field "Field[2]" As can be seen with this example, the object names will need to be manually changed to match the unique names shown in the script. VB6 Support Form Objects Include: PictureBox ImageBox Label TextBox Frame CommandButton CheckBox OptionButton - (grouped if within a Frame) ComboBox ListBox HorizontalScrollbar VerticalScrollbar DriveListBox DirectoryListBox FileListBox Slider TabDlg (Tab Control) Demo Version Available: Select the VB6 Demo Link at the top of the BASIC to LiveCode conversion page: http://www.fmpromigrator.com/services/basic_to_livecode_service.html#vb6main Open the VB6ToLiveCode Demo.livecode stack file from within the LiveCode IDE. Select Source and Destination directories, then click the Convert button. The VB6 project will be converted, and the new stack file will be left open at the completion of the conversion process. The demo version converts up to 5 forms/scripts, with unlimited project conversion available in the full production release. FmPro Migrator Platinum Edition is priced at ($600) per developer and includes a copy of FmPro Migrator Platinum Edition for both MacOS X (Universal Binary) and Windows platforms. Existing FmPro Migrator Developer Edition customers may upgrade to FmPro Migrator Platinum Edition for $400. For more info about the VB6 to LiveCode Conversion feature, please see: http://www.fmpromigrator.com/services/basic_to_livecode_service.html#vb6main .com Solutions Inc. develops multi-platform graphical applications supporting FileMaker Pro, SQLite, Oracle, MySQL, Access, SQL Server, Sybase, DB2, OpenBase, PostgreSQL, FrontBase, Valentina, VB6 and LiveCode developers. FmPro Script Diff, compares and edits FileMaker Pro scripts. FmPro Migrator ( www.fmpromigrator.com ) converts FileMaker Pro databases to and from FileMaker Pro, SQLite Diff compares SQLite database schema and data. David Simpson www.fmpromigrator.com From ambassador at fourthworld.com Tue Apr 24 12:51:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Apr 2012 09:51:56 -0700 Subject: [ANN] VB6 to LiveCode Conversion Feature In-Reply-To: <1EE1601D-E7BB-4C3D-9BC2-798301A2F33F@dotcomsolutionsinc.net> References: <1EE1601D-E7BB-4C3D-9BC2-798301A2F33F@dotcomsolutionsinc.net> Message-ID: <4F96DA2C.8070407@fourthworld.com> Nice work, as always from you. Congrats on the launch. -- 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 bobs at twft.com Tue Apr 24 13:42:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Apr 2012 10:42:05 -0700 Subject: [ANN] VB6 to LiveCode Conversion Feature In-Reply-To: <4F96DA2C.8070407@fourthworld.com> References: <1EE1601D-E7BB-4C3D-9BC2-798301A2F33F@dotcomsolutionsinc.net> <4F96DA2C.8070407@fourthworld.com> Message-ID: <47E6A4A5-3D33-4196-B43B-665E40CE2CA7@twft.com> Yes quite an accomplishment. Now if we can get an ad running in one of the Visual Basic rags... Bob On Apr 24, 2012, at 9:51 AM, Richard Gaskin wrote: > Nice work, as always from you. Congrats on the launch. > > -- > 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 Apr 24 13:54:04 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Apr 2012 20:54:04 +0300 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F96D09C.9070009@hyperactivesw.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: <4F96E8BC.7040101@gmail.com> On 04/24/2012 07:11 PM, J. Landman Gay wrote: > On 4/24/12 10:08 AM, Paul Dupuis wrote: > >> However, I'd agree with Richard Gaskin's post that a feature limited >> demo is generally a better marketing approach than a time limited demo. > > I think so too. Or even just make the program slightly annoying during > launch. Graphic Converter does that and its author has been supporting > himself for years with it, it's hugely popular. It isn't limited in > any way. He just inserts a 10 second wait after every launch before > the program becomes useable. Like most people, I used the free version > for a couple of years until the ten seconds got so annoying I paid up. > I've been paying for updates ever since. > Thank you everyone for such a lot of advice; obviously time-stamping is a busted flush (and there I was, thinking I was being clever); so a "crippled" version the Demo will be. Richmond. From livfoss at mac.com Tue Apr 24 14:37:22 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 24 Apr 2012 19:37:22 +0100 Subject: iOS Simulator oddness Message-ID: <5F5597B0-6247-42B7-8B95-13B408AECFEE@mac.com> I've been doing some testing on an iPhone app on my newish iMac. The simulator has been working as expected. I'm now on a trip and have switched to my MacBook which AFAIK has the same development software (LC 5.5, XCode 4.2.1, Simulator 5.0 etc) - but now the simulator insists on opening in iPad portrait mode, with my app in the middle of the screen - exactly as happens when you open an iPod/iPhone app on a real iPad. If I switch the simulator to iPhone, my simulated app disappears. I can't get the simulator to open in iPhone mode. I imagine I have done something wrong with the standalone settings of my app, but what? Can anyone suggest what's happening? TIA Graham From dixonja at hotmail.co.uk Tue Apr 24 14:43:18 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 24 Apr 2012 19:43:18 +0100 Subject: iOS Simulator oddness In-Reply-To: <5F5597B0-6247-42B7-8B95-13B408AECFEE@mac.com> References: <5F5597B0-6247-42B7-8B95-13B408AECFEE@mac.com> Message-ID: Sounds like you have it set to ipad in the standalone application settings... > I've been doing some testing on an iPhone app on my newish iMac. The simulator has been working as expected. I'm now on a trip and have switched to my MacBook which AFAIK has the same development software (LC 5.5, XCode 4.2.1, Simulator 5.0 etc) - but now the simulator insists on opening in iPad portrait mode, with my app in the middle of the screen - exactly as happens when you open an iPod/iPhone app on a real iPad. If I switch the simulator to iPhone, my simulated app disappears. I can't get the simulator to open in iPhone mode. > > I imagine I have done something wrong with the standalone settings of my app, but what? Can anyone suggest what's happening? > > TIA > > Graham From coiin at verizon.net Tue Apr 24 14:45:51 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 24 Apr 2012 14:45:51 -0400 Subject: iOS Simulator oddness In-Reply-To: <5F5597B0-6247-42B7-8B95-13B408AECFEE@mac.com> References: <5F5597B0-6247-42B7-8B95-13B408AECFEE@mac.com> Message-ID: What is Test Target set to in LiveCode? From stephenREVOLUTION2 at barncard.com Tue Apr 24 15:47:17 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 24 Apr 2012 12:47:17 -0700 Subject: [OT] The State Of HTML5 Video UPDATE In-Reply-To: References: Message-ID: Hello Paolo, I just tested your link with the revBrowser demo stack and after a little loading time ( it's a long video ) it displayed and played just as well as it played in the current version of Safari browser. This works with Lion and the latest livecode version 5.5.1. dp1. I have not tested in Windows. I have a demonstration JW Player set up somewhere, I'll post so you could test. On a card in a stack desktop application on Mac, I have used the player to display/stream m4v files from a server via http: Nothing to test Windows? at the moment. sqb On Tue, Apr 24, 2012 at 00:39, paolo mazza wrote: > Stephen, > do you use RevBrowser and the JWPlayer to deliver video in LC applications? > > There are at least 2 other video players managing HTML5 video: > videojs - http://videojs.com/ > flowplayer - http://flowplayer.org/ > > You can have a look at this web page: > http://www.virtualmeeting.info/AAA/AAA1/ProvaVideoJS_flashc.html > > It works with most of the browsers supporting HTML5. > > I set up also some basic Javascript commands to start and stop the > video (that you can send form the LC app) . > > However, I do not understand why, if I open this page from rev-bowser > in a LC application, most of the time in windows PC I can not see the > video .It depends on the browser installed in the PC? > What about if I have installed more than one browser? > Have you experienced these problems also using JWPlayer from > revBrowser in LC apps ? > > All the best > Paolo > > On Tue, Apr 24, 2012 at 6:23 AM, stephen barncard > wrote: > > http://www.longtailvideo.com/html5/ > > > > this is an update of Longtail's comprehensive and concise report about > the > > state of HTML5 and the browsers that support it. The numbers have > > changed significantly. > > > > I've found this company's HTML5 media player (JWPlayer) to be one of the > > best performing and most compatible for web based media delivery. And > they > > update versions regularly. > > > > -- > > > > > > > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From barrysum at bigpond.net.au Tue Apr 24 16:47:49 2012 From: barrysum at bigpond.net.au (Barry G. Sumpter) Date: Wed, 25 Apr 2012 06:47:49 +1000 Subject: LC for Android: Retrieve center lat n lng from LC browser using google maps? Message-ID: <004301cd225b$82abd500$88037f00$@bigpond.net.au> Thanks to Peter and Jacqueline for the replies. Yes, I can get the initial content of a web page into LC. how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution http://lessons.runrev.com/s/lessons/m/4071/l/7523-how-do-i-get-the-content-o f-a-url-on-a-web-server-into-revolution In my case that would be the lat n lng of my current position. And NOT the location I'm after. I'm trying to capture the lat n lng of another location that I have centred on the map. So the map has changed say 10 times since I've initialized the map with my current position. i.e. todays' coffee shop is here and tomorrows' coffee shop is there. Each time the map changes the lat n lng and the geo location (address) data changes. So once I've decided the map is displaying the correct positions with lat n lng and address. I want to push a button and capture that latest data. Screen scraping would be the most obvious but I can't get to the text nor the HTMLText of the latest content state of the browser with LC4A. Nor can I get to the clipboard. Nor can I create java events to capture into LC4A. And further positive constructive suggestions would be greatly appreciated. tia ------------- 13. LC for Android: Retrieve center lat n lng from LC browser using google maps? (Barry G. Sumpter) 20. Re: LC for Android: Retrieve center lat n lng from LC browser using google maps? (Peter M. Brigham, MD) 26. Re: LC for Android: Retrieve center lat n lng from LC browser using google maps? (J. Landman Gay) ------------------------------ Message: 13 Date: Tue, 24 Apr 2012 13:53:54 +1000 From: "Barry G. Sumpter" To: Subject: LC for Android: Retrieve center lat n lng from LC browser using google maps? Message-ID: <000c01cd21cd$de76eac0$9b64c040$@bigpond.net.au> Content-Type: text/plain; charset="us-ascii" Hi all, I'm using the LC for Android browser. I've got a web page .html that will allow me to pin point a specific location on a Google map. The HTML will display the lat n lng of that address and the closest matching address. I would like to be able to access that info. And perhaps save to a db or send an email or sms with it etc. I'm trying to screen scrape that info off the page. I see that LC HTMLText property is available for the desktop browser versions but not for the Android browser. Anyone have any ideas on how to screen scrape or to retrieve that HTML data for use in LiveCode for Android? Or perhaps suggest another method? tia http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable -markers.html All my best, Barry G. Sumpter ------------------------------ Message: 20 Date: Tue, 24 Apr 2012 10:12:10 -0400 From: "Peter M. Brigham, MD" To: How to use LiveCode Subject: Re: LC for Android: Retrieve center lat n lng from LC browser using google maps? Message-ID: <59D8ECBC-6768-44F9-9389-E188BF33130C at gmail.com> Content-Type: text/plain; charset=us-ascii On Apr 23, 2012, at 11:53 PM, Barry G. Sumpter wrote: Maybe there's something I don't know about the Android platform, but I think that put url "http://maps.google.com/whatever.html" into pageHTML will just put the HTML into the variable, no matter what the platform. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ------------------------------ Message: 26 Date: Tue, 24 Apr 2012 11:30:22 -0500 From: "J. Landman Gay" To: How to use LiveCode Subject: Re: LC for Android: Retrieve center lat n lng from LC browser using google maps? Message-ID: <4F96D51E.7060703 at hyperactivesw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 4/23/12 10:53 PM, Barry G. Sumpter wrote: I haven't tried it, but you might be able to put the url into a variable instead of into the browser control, parse the variable for the info you need, and then use mobileControlDo "load" to put the variable into the browser for display. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ------------------------------ From irog at mac.com Tue Apr 24 18:16:05 2012 From: irog at mac.com (Roger Guay) Date: Tue, 24 Apr 2012 15:16:05 -0700 Subject: ANN: Radial Dial Making Utility In-Reply-To: References: Message-ID: <6B4235EF-1BA0-4103-B8BE-22D34DA9A178@mac.com> Thanks for the feedback, Mark and Tom. It's nice to think that I can give a little something back to this great community. BTW, I've added a sizing feature and made RadialDialOmatic pluginable. Still at my downloads page: http://web.me.com/irog/Roger_Guay/Downloads.html Cheers, Roger > > Message: 4 > Date: Mon, 23 Apr 2012 10:33:00 -0700 (PDT) > From: Mark Smith > To: use-revolution at lists.runrev.com > Subject: Re: ANN: Radial Dial Making Utility > Message-ID: <1335202380229-4581155.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Roger Guay wrote >> >> Hi All, >> >> RadialDialOmatic is a utility I created to make nice (even if I say so >> myself) Radial Dials. With RevOnLine still down, I'm afraid you will have >> to go to my downloads page to get it: >> >> Roger >> > > Roger, your stuff is always so cool! > > -- Mark > > Message: 12 > Date: Mon, 23 Apr 2012 20:20:25 -0700 (PDT) > From: tbodine > To: use-revolution at lists.runrev.com > Subject: Re: ANN: Radial Dial Making Utility > Message-ID: <1335237625137-4582321.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Soooo easy! Thanks! > Tom Bodine From lan.kc.macmail at gmail.com Wed Apr 25 07:16:36 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Apr 2012 19:16:36 +0800 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F96D09C.9070009@hyperactivesw.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: On Wed, Apr 25, 2012 at 12:11 AM, J. Landman Gay wrote: > He just inserts a 10 second wait after every launch before the program > becomes useable. Like most people, I used the free version for a couple of > years until the ten seconds got so annoying I paid up. I've been paying for > updates ever since. > > It isn't quite as simple as that; there must be some kind of date stamping because that pop-up dialogue tells you how many days you've been using the software and the more you used it, without registering, the longer the wait became. I can be a very patient person so I eventually ended up with a 99 sec countdown - it was probably longer than that but the numbers only went up to 99 - before I relented and bought two licenses and eventually a family license. Note, date stamping doesn't necessarily need to know the 'real' date and time. It could be as simple as keeping a tally of how many times the programme is started to more complex recording of the time at start and the time at quit and basing a days use on 8 hrs, or any other arbitrary figure. Yes, you are never going to beat all the cheats but by the same token you could really mess up someone's system if they thought they could simply extend their license by resetting the date to 30 days earlier. I wonder how successful archival/synchronisation/iCloud are on a system that suddenly becomes 30 days younger? I agree with the others though, I despise time limited apps because I never have 30 days to test them, I only have a day here and a day there and I spend half of it recapping what I learnt before. From kray at sonsothunder.com Wed Apr 25 10:19:29 2012 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 25 Apr 2012 09:19:29 -0500 Subject: reposition single-line text to the left or right? In-Reply-To: References: Message-ID: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> On Apr 23, 2012, at 6:18 PM, Nicolas Cueto wrote: > Hello All, > > On the keyboard I made for my Android app, a typed letter gets added > after the last typed letter onto a single-line text field (locked and > wrap off). When the string of letters reaches the field's far-right, > newly typed letters of course get added but out of sight off-field. > > Is there an LC way (without relying on horizontal scroll) to move left > the text-string/line as each new letter gets added to the end of the > string? Likewise, shifted right when deleting last letters? Well, you *could* do it by checking the formattedWidth of the field against the width of the field, and if it's larger, delete characters from the front of the text until the formattedWidth <= the width. But then you'd have to keep track of what the user entered in a custom property or variable. I noticed you say that your field is locked - if it was unlocked, then LC would just manage the hScroll of the field; I'm assuming you can't leave your field unlocked for some reason, so you can use use the same formattedWidth vs. width test and then set the hScroll of the field manually. But you mentioned "without relying on horizontal scroll"? is there a reason you don't want to use the hScroll? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From cford at mailbox.sc.edu Wed Apr 25 11:03:12 2012 From: cford at mailbox.sc.edu (Curt Ford) Date: Wed, 25 Apr 2012 11:03:12 -0400 Subject: LiveCode cgi and https? Message-ID: I have a LiveCode cgi that takes a few parameters from a form on a web page, generates a registration code from another stack on the server, and sends out an e-mail. It's working well in tests on my server (I'm using on-rev). The client has recently switched to Bluehost with an SSL certificate so we can use https for another part of the project. I've copied the files over from my server, double-checked permissions and paths, but after filling in the form I get the error: [an error occurred while processing this directive] When I test sending the data from the message box in LiveCode I get this error: [an error occurred while processing this directive] error 500 Internal Server Error Anybody know if this suggests it's connected to the fact that we now have a certificate? Would the line in the form page

need to change? I don't have full access to the error logs, unfortunately; the ones forwarded by the client don't seem to have anything relating to this cgi. thanks for any ideas.. Curt From mikedoub at gmail.com Wed Apr 25 11:15:22 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 25 Apr 2012 11:15:22 -0400 Subject: Get the members of a group Message-ID: If one has a group with a number of graphics that have been created in the group, How can I get the name or IDs of the graphics that have been created? I need to cycle thru and delete them. This is going to be obvious, but I am coming up blank. ;-) Thanks Mike From klaus at major.on-rev.com Wed Apr 25 11:24:42 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 17:24:42 +0200 Subject: Get the members of a group In-Reply-To: References: Message-ID: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> Hi Mike, Am 25.04.2012 um 17:15 schrieb Michael Doub: > If one has a group with a number of graphics that have been created in the group, How can I get the name or IDs of the graphics that have been created? I need to cycle thru and delete them. > > This is going to be obvious, but I am coming up blank. ;-) ... repeat with i = 1 to the num of grcs of grp "your group here" ## kill grc i of grp "your group here" :-) end repeat ... > Thanks > Mike Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ken at kencorey.com Wed Apr 25 11:33:01 2012 From: ken at kencorey.com (Ken Corey) Date: Wed, 25 Apr 2012 16:33:01 +0100 Subject: Economy-x-Talk's fabulous Error Parsing Service down? Message-ID: <4F98192D.8040009@kencorey.com> Anyone know why the Error Parsing service from Economy-x-Talk is down? Thanks, -Ken From coiin at verizon.net Wed Apr 25 11:34:51 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 25 Apr 2012 11:34:51 -0400 Subject: Get the members of a group In-Reply-To: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> Message-ID: <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> Should you be doing the repeat loop defending? On Apr 25, 2012, at 11:24 AM, Klaus on-rev wrote: > repeat with i = 1 to the num of grcs of grp "your group here" > ## kill grc i of grp "your group here" :-) > end repeat From bobs at twft.com Wed Apr 25 11:40:53 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 25 Apr 2012 08:40:53 -0700 Subject: Get the members of a group In-Reply-To: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> Message-ID: <2219DF7D-A4B2-46A4-94A2-289D2BE029FC@twft.com> I believe the KILL command has been deprecated. The new command is SNUFF. WAX is a synonym also. ;-) Bob On Apr 25, 2012, at 8:24 AM, Klaus on-rev wrote: > Hi Mike, > > Am 25.04.2012 um 17:15 schrieb Michael Doub: > >> If one has a group with a number of graphics that have been created in the group, How can I get the name or IDs of the graphics that have been created? I need to cycle thru and delete them. >> >> This is going to be obvious, but I am coming up blank. ;-) > > ... > repeat with i = 1 to the num of grcs of grp "your group here" > ## kill grc i of grp "your group here" :-) > end repeat > ... > >> Thanks >> Mike > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Apr 25 11:45:22 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 17:45:22 +0200 Subject: Get the members of a group In-Reply-To: <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> Message-ID: <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> Hi Colin, Am 25.04.2012 um 17:34 schrieb Colin Holgate: > Should you be doing the repeat loop defending? hehe, "defending" :-) Took me a while... Yes of course: ... put the num of grcs of grp "your group here" into tNum repeat with i = tNum down to 1 ## caress grc i of grp "your group here" :-) end repeat ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From livfoss at mac.com Wed Apr 25 11:56:05 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 25 Apr 2012 16:56:05 +0100 Subject: iOS Console Error - what does it mean? Message-ID: <330E8562-0904-47F1-8950-4E286806D994@mac.com> I don't think this is OT, since it's something arising from testing a LiveCode project. While attempting to test my iOS app, I see this in the System Log output. Can anyone say what it means, and if there is anything I can do within LC to correct it? > The view controller returned NO from -shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation. i thought at first it might be something to do with my Standalone settings, but if so, I can't see what I've changed from earlier tests where this error didn't appear. TIA Graham From coiin at verizon.net Wed Apr 25 11:57:57 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 25 Apr 2012 11:57:57 -0400 Subject: Get the members of a group In-Reply-To: <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> Message-ID: <67B6837D-3AA1-4551-B437-89AA5F565ECE@verizon.net> I updated OS recently, and it does the autocorrection as you type thing. It obviously knew better than I did about what I meant! On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: >> >> Should you be doing the repeat loop defending? > > hehe, "defending" :-) > Took me a while... From klaus at major.on-rev.com Wed Apr 25 12:06:31 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 18:06:31 +0200 Subject: Get the members of a group In-Reply-To: <67B6837D-3AA1-4551-B437-89AA5F565ECE@verizon.net> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <67B6837D-3AA1-4551-B437-89AA5F565ECE@verizon.net> Message-ID: <263911F4-579C-4A55-9935-18C9C7EE22F1@major.on-rev.com> Am 25.04.2012 um 17:57 schrieb Colin Holgate: > I updated OS recently, and it does the autocorrection as you type thing. It obviously knew better than I did about what I meant! :-D > On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: >>> Should you be doing the repeat loop defending? >> hehe, "defending" :-) >> Took me a while... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Wed Apr 25 12:08:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 25 Apr 2012 09:08:30 -0700 Subject: Get the members of a group In-Reply-To: <67B6837D-3AA1-4551-B437-89AA5F565ECE@verizon.net> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <67B6837D-3AA1-4551-B437-89AA5F565ECE@verizon.net> Message-ID: Anyone who has an iPhone must visit this site at least once: http://www.damnyouautocorrect.com/category/best-of-dyac/ Bob On Apr 25, 2012, at 8:57 AM, Colin Holgate wrote: > I updated OS recently, and it does the autocorrection as you type thing. It obviously knew better than I did about what I meant! > > > On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: > >>> >>> Should you be doing the repeat loop defending? >> >> hehe, "defending" :-) >> Took me a while... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Apr 25 12:12:29 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Apr 2012 18:12:29 +0200 Subject: Get the members of a group In-Reply-To: References: Message-ID: Hi Michael, Put these handlers somewhere at a higher level of your stack or in a library and you can easily get all objects of all groups from everywhere. http://runrev.info/Objects%20list.htm -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 25 apr 2012, at 17:15, Michael Doub wrote: > If one has a group with a number of graphics that have been created in the group, How can I get the name or IDs of the graphics that have been created? I need to cycle thru and delete them. > > This is going to be obvious, but I am coming up blank. ;-) > > Thanks > Mike > > From tolistim at me.com Wed Apr 25 12:29:13 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 25 Apr 2012 09:29:13 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: On Apr 25, 2012, at 4:16 AM, Kay C Lan wrote: > I agree with the others though, I despise time limited apps because I never have 30 days to test them, I only have a day here and a day there and I spend half of it recapping what I learnt before. Maybe the proper solution is a number of uses, rather than a number of days. That way, you could say "100 uses" and track that in a hidden file. Another option is a function that causes glitching every so often if the app is an audio app, or add a watermark or hash pattern to saved images if a graphics app until a license is installed. Tim From mikedoub at gmail.com Wed Apr 25 12:31:56 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 25 Apr 2012 12:31:56 -0400 Subject: Get the members of a group In-Reply-To: <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> Message-ID: <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> Can someone explain what is going on here? This works: Put the number of graphics of me into count repeat with i = count down to 1 if the short name of graphic i of me is not "TreeBG" then delete graphic i end if end repeat This does not: Put the number of graphics of me into count repeat with i = 1 to count if the short name of graphic i of me is not "TreeBG" then delete graphic i end if end repeat Why is the order significant? -= Mike On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: > Hi Colin, > > Am 25.04.2012 um 17:34 schrieb Colin Holgate: > >> Should you be doing the repeat loop defending? > > hehe, "defending" :-) > Took me a while... > > Yes of course: > ... > put the num of grcs of grp "your group here" into tNum > repeat with i = tNum down to 1 > ## caress grc i of grp "your group here" :-) > end repeat > ... > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Wed Apr 25 12:38:09 2012 From: tolistim at me.com (Tim Jones) Date: Wed, 25 Apr 2012 09:38:09 -0700 Subject: Get the members of a group In-Reply-To: <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> Message-ID: On Apr 25, 2012, at 9:31 AM, Michael Doub wrote: > Can someone explain what is going on here? This works: > > Put the number of graphics of me into count > repeat with i = count down to 1 > if the short name of graphic i of me is not "TreeBG" then > delete graphic i > end if > end repeat > > This does not: > Put the number of graphics of me into count > repeat with i = 1 to count > if the short name of graphic i of me is not "TreeBG" then > delete graphic i > end if > end repeat > > Why is the order significant?] As you delete, you're reducing the "count" of items and once you've deleted an item, you increment the step to that + 1. This results in skipping every other item and then overflowing the count since you've deleted items out from under yourself. By counting backwards, you keep things sane. Tim From bobs at twft.com Wed Apr 25 12:46:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 25 Apr 2012 09:46:03 -0700 Subject: Get the members of a group In-Reply-To: <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> Message-ID: <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> You delete grc 1 in the first iteration. Now grc 2 BECOMES grc 1, but the next iteration deletes grc 2! You are deleting every other grc this way. You have to start at the end and work your way backward. Think of it as taking a cracker off the bottom of the stack. Cracker 2 now becomes cracker 1. Another way is to repeat for count instead of repeat with i = 1 to count and then delete graphic 1, not I, in your count up loop. Bob On Apr 25, 2012, at 9:31 AM, Michael Doub wrote: > Can someone explain what is going on here? This works: > > Put the number of graphics of me into count > repeat with i = count down to 1 > if the short name of graphic i of me is not "TreeBG" then > delete graphic i > end if > end repeat > > This does not: > Put the number of graphics of me into count > repeat with i = 1 to count > if the short name of graphic i of me is not "TreeBG" then > delete graphic i > end if > end repeat > > Why is the order significant? > > -= Mike > > > > On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: > >> Hi Colin, >> >> Am 25.04.2012 um 17:34 schrieb Colin Holgate: >> >>> Should you be doing the repeat loop defending? >> >> hehe, "defending" :-) >> Took me a while... >> >> Yes of course: >> ... >> put the num of grcs of grp "your group here" into tNum >> repeat with i = tNum down to 1 >> ## caress grc i of grp "your group here" :-) >> end repeat >> ... >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major.on-rev.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 12:49:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 11:49:26 -0500 Subject: Economy-x-Talk's fabulous Error Parsing Service down? In-Reply-To: <4F98192D.8040009@kencorey.com> References: <4F98192D.8040009@kencorey.com> Message-ID: <4F982B16.60907@hyperactivesw.com> On 4/25/12 10:33 AM, Ken Corey wrote: > Anyone know why the Error Parsing service from Economy-x-Talk is down? I don't know, but you could use this in the mean time: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Wed Apr 25 12:55:09 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 25 Apr 2012 10:55:09 -0600 Subject: Get the members of a group In-Reply-To: <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> Message-ID: Could also do something like repeat (the number of grc of me) times delete grc 1 end repeat From mikedoub at gmail.com Wed Apr 25 13:03:31 2012 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 25 Apr 2012 13:03:31 -0400 Subject: Get the members of a group In-Reply-To: <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> Message-ID: <3572EE2E-7B90-4184-BF85-7BFB836D5901@gmail.com> So it would seem that I got lucky as the first grc that I created was the background (TreeBG) that defined the size of the control. This must have caused TreeBG to receive the lowest count. All other grc were created after so they must have received a higher count. How is this ordering tracked? Is this the layer? -= Mike On Apr 25, 2012, at 12:46 PM, Bob Sneidar wrote: > You delete grc 1 in the first iteration. Now grc 2 BECOMES grc 1, but the next iteration deletes grc 2! You are deleting every other grc this way. You have to start at the end and work your way backward. Think of it as taking a cracker off the bottom of the stack. Cracker 2 now becomes cracker 1. > > Another way is to repeat for count instead of repeat with i = 1 to count and then delete graphic 1, not I, in your count up loop. > > Bob > > > On Apr 25, 2012, at 9:31 AM, Michael Doub wrote: > >> Can someone explain what is going on here? This works: >> >> Put the number of graphics of me into count >> repeat with i = count down to 1 >> if the short name of graphic i of me is not "TreeBG" then >> delete graphic i >> end if >> end repeat >> >> This does not: >> Put the number of graphics of me into count >> repeat with i = 1 to count >> if the short name of graphic i of me is not "TreeBG" then >> delete graphic i >> end if >> end repeat >> >> Why is the order significant? >> >> -= Mike >> >> >> >> On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: >> >>> Hi Colin, >>> >>> Am 25.04.2012 um 17:34 schrieb Colin Holgate: >>> >>>> Should you be doing the repeat loop defending? >>> >>> hehe, "defending" :-) >>> Took me a while... >>> >>> Yes of course: >>> ... >>> put the num of grcs of grp "your group here" into tNum >>> repeat with i = tNum down to 1 >>> ## caress grc i of grp "your group here" :-) >>> end repeat >>> ... >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> http://www.major-k.de >>> klaus at major.on-rev.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 13:07:57 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 25 Apr 2012 11:07:57 -0600 Subject: Get the members of a group In-Reply-To: <3572EE2E-7B90-4184-BF85-7BFB836D5901@gmail.com> References: <6B9063CF-FF9E-41CC-9B4C-52422D1554A3@major.on-rev.com> <54E75FAC-714C-444E-8F71-89C94A957DAB@verizon.net> <4886112E-90C8-44B6-9941-65711E3AEFAF@major.on-rev.com> <0EDA4E89-3A9D-43CF-A45F-FA387C6387D2@gmail.com> <3B609F73-C2C2-415E-9BC7-D85F82C11A5D@twft.com> <3572EE2E-7B90-4184-BF85-7BFB836D5901@gmail.com> Message-ID: yeah layer controls that. YOu can always check the short name of the grc you are currently working with and skip whatever items you need. The count down method would be best for this. If you use the repeat (number of grc blah blah) times method you would have to have a variable and increment it on each skip starting at 1. On Wed, Apr 25, 2012 at 11:03 AM, Michael Doub wrote: > So it would seem that I got lucky as the first grc that I created was the > background (TreeBG) that defined the size of the control. This must have > caused TreeBG to receive the lowest count. All other grc were created > after so they must have received a higher count. > > How is this ordering tracked? Is this the layer? > > -= Mike > > > On Apr 25, 2012, at 12:46 PM, Bob Sneidar wrote: > > > You delete grc 1 in the first iteration. Now grc 2 BECOMES grc 1, but > the next iteration deletes grc 2! You are deleting every other grc this > way. You have to start at the end and work your way backward. Think of it > as taking a cracker off the bottom of the stack. Cracker 2 now becomes > cracker 1. > > > > Another way is to repeat for count instead of repeat with i = 1 to count > and then delete graphic 1, not I, in your count up loop. > > > > Bob > > > > > > On Apr 25, 2012, at 9:31 AM, Michael Doub wrote: > > > >> Can someone explain what is going on here? This works: > >> > >> Put the number of graphics of me into count > >> repeat with i = count down to 1 > >> if the short name of graphic i of me is not "TreeBG" then > >> delete graphic i > >> end if > >> end repeat > >> > >> This does not: > >> Put the number of graphics of me into count > >> repeat with i = 1 to count > >> if the short name of graphic i of me is not "TreeBG" then > >> delete graphic i > >> end if > >> end repeat > >> > >> Why is the order significant? > >> > >> -= Mike > >> > >> > >> > >> On Apr 25, 2012, at 11:45 AM, Klaus on-rev wrote: > >> > >>> Hi Colin, > >>> > >>> Am 25.04.2012 um 17:34 schrieb Colin Holgate: > >>> > >>>> Should you be doing the repeat loop defending? > >>> > >>> hehe, "defending" :-) > >>> Took me a while... > >>> > >>> Yes of course: > >>> ... > >>> put the num of grcs of grp "your group here" into tNum > >>> repeat with i = tNum down to 1 > >>> ## caress grc i of grp "your group here" :-) > >>> end repeat > >>> ... > >>> > >>> > >>> Best > >>> > >>> Klaus > >>> > >>> -- > >>> Klaus Major > >>> http://www.major-k.de > >>> klaus at major.on-rev.com > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 13:26:58 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 25 Apr 2012 18:26:58 +0100 Subject: iOS Simulator oddness In-Reply-To: References: Message-ID: <34DE39DE-DD0E-4646-9C21-49E32DC67DAA@mac.com> Yup, Colin, I forgot about the Test Target - I had just set the Standalone Settings to be iPhone/iPod (so not iPad) and thought that would be enough. The Test Target menu item only shows up when one isn't editing a script, which is a kind of lame excuse for forgetting about its existence. Anyway problem solved, thanks. Graham On Tue, 24 Apr 2012 14:45:51 -0400, Colin Holgate wrote: > > What is Test Target set to in LiveCode? From effendi at wanadoo.fr Wed Apr 25 13:31:28 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 25 Apr 2012 19:31:28 +0200 Subject: Time-Stamping Demo programs #2 Message-ID: <17395014-EDD7-47DD-8154-F1A5B8B26D63@wanadoo.fr> Hi from Beautiful Brittany, OK, so we wandered off the subject just a little ! Jecqueline wrote, talking about Graphic Converter : >> He just inserts a 10 second wait after every launch before the >> program >> becomes useable. Like most people, I used the free version for a >> couple of >> years until the ten seconds got so annoying I paid up. I've been >> paying for >> updates ever since. > I too used the program for free for several years, until, covered in shame for having refused such a tiny payment for such a fantastic program, I paid up, and still use Graphic Converter every day (and I feel so much better for being honest). There aren't many programs which cost so little, and yet render so many services. Thanks Mr. Lemke. - Francis From effendi at wanadoo.fr Wed Apr 25 13:45:24 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 25 Apr 2012 19:45:24 +0200 Subject: Economy-x-Talk's fabulous Error Parsing Service down? Message-ID: <433BDC08-280D-462C-A6D0-15ACB0C40BDB@wanadoo.fr> Hi from Beautiful Brittany, This is also just a little bit off the subject ...... Jacqueline wrote : > I don't know, but you could use this in the mean time: I don't like time any more than you do (because today is first day of the rest of my life !), but to call it "mean" is pushing it just a little. Time is "kind" to no one ! But, consider time at the speed of light : it stops ! .......... Just move faster ...... :>) Best Regards -Francis From klaus at major.on-rev.com Wed Apr 25 14:24:23 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 20:24:23 +0200 Subject: set cursor to none not works on Win7? Message-ID: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> Hi friends, can someone confirm that "set cursor to none;lock cursor" does not have any effect on Windows 7 (in a standalone)? Just tested and cursor did not disappear. Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Wed Apr 25 14:54:49 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 25 Apr 2012 14:54:49 -0400 Subject: set cursor to none not works on Win7? In-Reply-To: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> References: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> Message-ID: <4493D37F-81BC-4175-8682-DF73BCB5CFA9@verizon.net> It's been a long time since I tried hiding cursors on Windows, but last time I tried it seemed that Windows forces the cursor to show whenever there is any drive activity. Do you get any different behavior if the stack is locked? From m.schonewille at economy-x-talk.com Wed Apr 25 15:03:48 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Apr 2012 21:03:48 +0200 Subject: Economy-x-Talk's fabulous Error Parsing Service down? In-Reply-To: <4F98192D.8040009@kencorey.com> References: <4F98192D.8040009@kencorey.com> Message-ID: <0339AA13-50B1-46E8-916F-D2F325F0674F@economy-x-talk.com> Hi Ken, Yes, it looks like something is broken. It will get fixed eventually, I just can't say when. If you have an iPhone, you might like this http://qery.us/v4 app. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 25 apr 2012, at 17:33, Ken Corey wrote: > Anyone know why the Error Parsing service from Economy-x-Talk is down? > > Thanks, > > -Ken From richmondmathewson at gmail.com Wed Apr 25 15:09:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Apr 2012 22:09:40 +0300 Subject: Building Win standalones on a Mac Message-ID: <4F984BF4.8080409@gmail.com> I've had this problem before, but a long time ago: Building a standalone for Windows on a Mac PPC the build fails (4.5) with this: Build failed for Windows: could not load doc icon. This is nonsense as I had selected "Use None" for a document icon. From klaus at major.on-rev.com Wed Apr 25 15:11:45 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 21:11:45 +0200 Subject: set cursor to none not works on Win7? In-Reply-To: <4493D37F-81BC-4175-8682-DF73BCB5CFA9@verizon.net> References: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> <4493D37F-81BC-4175-8682-DF73BCB5CFA9@verizon.net> Message-ID: Hi Colin, Am 25.04.2012 um 20:54 schrieb Colin Holgate: > It's been a long time since I tried hiding cursors on Windows, but last time I tried it seemed that Windows forces the cursor to show whenever there is any drive activity. Do you get any different behavior if the stack is locked? "stack is locked"? Sorry, no capisce :-) I need to do this when a video is playing. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Wed Apr 25 15:21:16 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Apr 2012 21:21:16 +0200 Subject: Building Win standalones on a Mac In-Reply-To: <4F984BF4.8080409@gmail.com> References: <4F984BF4.8080409@gmail.com> Message-ID: Hi Richmond, I have the same problem. I have modified the standalone application settings window to allow me to enter the path to the icon file manually. When I enter the absolute path for both icons by dragging the icon files into the fields, all works fine. It simply doesn't work if I don't specify a doc icon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 25 apr 2012, at 21:09, Richmond wrote: > I've had this problem before, but a long time ago: > > Building a standalone for Windows on a Mac PPC the build fails (4.5) > with this: > > Build failed for Windows: could not load doc icon. > > This is nonsense as I had selected "Use None" for a document icon. From coiin at verizon.net Wed Apr 25 15:25:38 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 25 Apr 2012 15:25:38 -0400 Subject: set cursor to none not works on Win7? In-Reply-To: References: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> <4493D37F-81BC-4175-8682-DF73BCB5CFA9@verizon.net> Message-ID: <05F95B1D-3918-49AE-B01B-B6E261A84B37@verizon.net> On Apr 25, 2012, at 3:11 PM, Klaus on-rev wrote: > "stack is locked"? > Sorry, no capisce :-) > I meant that the "can't modify" box in the stack inspector would be checked. From klaus at major.on-rev.com Wed Apr 25 15:32:16 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Apr 2012 21:32:16 +0200 Subject: set cursor to none not works on Win7? In-Reply-To: <05F95B1D-3918-49AE-B01B-B6E261A84B37@verizon.net> References: <70CE43AC-84E0-4004-AD2F-4BF20762E7F5@major.on-rev.com> <4493D37F-81BC-4175-8682-DF73BCB5CFA9@verizon.net> <05F95B1D-3918-49AE-B01B-B6E261A84B37@verizon.net> Message-ID: <66E443AC-E86A-4528-8F4B-9309A9FC5F9C@major.on-rev.com> Hi Colin, Am 25.04.2012 um 21:25 schrieb Colin Holgate: > On Apr 25, 2012, at 3:11 PM, Klaus on-rev wrote: > >> "stack is locked"? >> Sorry, no capisce :-) > I meant that the "can't modify" box in the stack inspector would be checked. Aha! :-) No same result... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mcgrath3 at mac.com Wed Apr 25 17:03:20 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 25 Apr 2012 17:03:20 -0400 Subject: iOS Console Error - what does it mean? In-Reply-To: <330E8562-0904-47F1-8950-4E286806D994@mac.com> References: <330E8562-0904-47F1-8950-4E286806D994@mac.com> Message-ID: <0FDF0B41-A4AE-4EEE-947C-2AB63F4EB1CE@mac.com> Graham, I haven't had time to test yet but I think something changed in the latest version(s) of LC with regard to autorotate. I had to add the set allowed orientations to a very simple stack in order to get it to rotate correctly. I didn't need to add this before: on preopenstack iphoneSetAllowedOrientations "Portrait,Portrait Upside Down,Landscape Left,Landscape Right" end preopenstack So at least put portrait in for allowed orientations and see if it goes away: iphoneSetAllowedOrientations "Portrait" -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 25, 2012, at 11:56 AM, Graham Samuel wrote: > I don't think this is OT, since it's something arising from testing a LiveCode project. While attempting to test my iOS app, I see this in the System Log output. Can anyone say what it means, and if there is anything I can do within LC to correct it? > >> The view controller returned NO from -shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation. > > i thought at first it might be something to do with my Standalone settings, but if so, I can't see what I've changed from earlier tests where this error didn't appear. > > 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 jacque at hyperactivesw.com Wed Apr 25 18:51:54 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 17:51:54 -0500 Subject: Casey is now in the App Store Message-ID: <4F98800A.1020001@hyperactivesw.com> Casey's Solitaire has migrated to the App Store. :) If you have an iPad you can grab it here: If you like the game, a review would be much appreciated. The Android versions are also available at the Amazon Market and the Google Play Store: I love LiveCode. I never could have done this otherwise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Apr 25 19:01:20 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Apr 2012 20:01:20 -0300 Subject: Casey is now in the App Store In-Reply-To: <4F98800A.1020001@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> Message-ID: Congrats Jacque!!!! =) On Wed, Apr 25, 2012 at 7:51 PM, J. Landman Gay wrote: > Casey's Solitaire has migrated to the App Store. :) If you have an iPad > you can grab it here: > > > > > > If you like the game, a review would be much appreciated. The Android > versions are also available at the Amazon Market and the Google Play Store: > > > > > > I love LiveCode. I never could have done this otherwise. > > -- > 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://fon.nu -- minimalist url shortening service. From niconiko at gmail.com Wed Apr 25 19:31:58 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 26 Apr 2012 08:31:58 +0900 Subject: reposition single-line text to the left or right? In-Reply-To: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> References: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> Message-ID: A Son of Thunder asked: > ? is there a reason you don't want to use the hScroll? Laziness. My app is for Android, and being still new to that platform, I avoid as much as possible scrollable objects (even with the help of MobGUI). Pragmatism. 90% of the time the field only needs a single word to be entered. And personal taste (mostly?). Just plumb don't like horizontal-scroll! Thanks for the solution, Ken. -- Nicolas Cueto From jacque at hyperactivesw.com Wed Apr 25 19:32:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 18:32:56 -0500 Subject: Casey is now in the App Store In-Reply-To: References: <4F98800A.1020001@hyperactivesw.com> Message-ID: <4F9889A8.9000001@hyperactivesw.com> On 4/25/12 6:01 PM, Andre Garzia wrote: > Congrats Jacque!!!! Thanks Andre. I was positive Apple would reject it for something silly, I've heard so many reports here about that. I was prepared for disappointment, and when it got in I didn't quite know what to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Apr 25 19:41:44 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Apr 2012 20:41:44 -0300 Subject: Casey is now in the App Store In-Reply-To: <4F9889A8.9000001@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> <4F9889A8.9000001@hyperactivesw.com> Message-ID: On Wed, Apr 25, 2012 at 8:32 PM, J. Landman Gay wrote: > On 4/25/12 6:01 PM, Andre Garzia wrote: > >> Congrats Jacque!!!! >> > > Thanks Andre. I was positive Apple would reject it for something silly, > I've heard so many reports here about that. I was prepared for > disappointment, and when it got in I didn't quite know what to do. > > Please let us know about how it goes! I am interest in how you perceive the differences between Google Play, Amazon AppStore and iTunes App Store. =) > > -- > 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://fon.nu -- minimalist url shortening service. From scott at tactilemedia.com Wed Apr 25 19:45:53 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 25 Apr 2012 16:45:53 -0700 Subject: Casey is now in the App Store In-Reply-To: <4F98800A.1020001@hyperactivesw.com> Message-ID: See, Apple wasn't quite as bad as you were expecting :-) Congrats on your release (purchased on Android). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jacque Landman Gay wrote: > Casey's Solitaire has migrated to the App Store. :) If you have an iPad > you can grab it here: > > > > If you like the game, a review would be much appreciated. The Android > versions are also available at the Amazon Market and the Google Play Store: > > > > I love LiveCode. I never could have done this otherwise. From sc at sahores-conseil.com Wed Apr 25 19:57:44 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 26 Apr 2012 01:57:44 +0200 Subject: Casey is now in the App Store In-Reply-To: <4F98800A.1020001@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> Message-ID: <59700685-65B6-4F8D-B6B2-F538C039C6B6@sahores-conseil.com> Congrats Jacque. Works very smooth on iPad 1 and green scores comes up ;D Le 26 avr. 2012 ? 00:51, J. Landman Gay a ?crit : > Casey's Solitaire has migrated to the App Store. :) If you have an iPad you can grab it here: > > > > If you like the game, a review would be much appreciated. The Android versions are also available at the Amazon Market and the Google Play Store: > > > > I love LiveCode. I never could have done this otherwise. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Wed Apr 25 20:20:39 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 19:20:39 -0500 Subject: Casey is now in the App Store In-Reply-To: References: Message-ID: <4F9894D7.1050309@hyperactivesw.com> On 4/25/12 6:45 PM, Scott Rossi wrote: > See, Apple wasn't quite as bad as you were expecting :-) Yeah. You hear so much here: problems with software setup, problems with provisioning, problems with rejection, problems with Apple's picky rules. It's pretty intimidating. It was difficult, or maybe it was just scary, but I have a client with aspirations and I needed to know how it worked. I think after you've done it once, the worst is over. Andre: I don't know how the App Store sales will go, but since I went into this knowing I wouldn't retire on the income, I don't mind saying how the Android sales are doing. I sold 10 copies of Casey at the Google Play Store immediately after I posted the announcement. A week or two later I sold one more. And that's that. It hasn't budged since. On Amazon I sold a handful right at first, and then it's been maybe one or two a week or so. Amazon says I've sold 30 so far. Google gives you nice statistics: totals, several kinds of graphs, what types of devices are running the app, how many copies were installed in total and how many are still active, how that compares with other apps, and lots of other stuff. You can download a spreadsheet if you want. Amazon reporting is terrible. You can get a little line graph of sales over time and the total number of sales and that's about it. Google gives you payout dates and cash totals, Amazon doesn't say a word about that, and I have no idea when I will get paid. They sent me 8 dollars a while ago though. If you look at the percentages, Amazon is way ahead. If you look at my totals, well, don't look at the totals. But I mostly did it to learn how, and that was worth a lot. I knew going in that a solitaire game wasn't going to be the next Angry Birds, even though both do involve some kind of bird crap. I might have made more sales if I'd called the game "Poopy Cards". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 25 20:24:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 19:24:02 -0500 Subject: Casey is now in the App Store In-Reply-To: <59700685-65B6-4F8D-B6B2-F538C039C6B6@sahores-conseil.com> References: <4F98800A.1020001@hyperactivesw.com> <59700685-65B6-4F8D-B6B2-F538C039C6B6@sahores-conseil.com> Message-ID: <4F9895A2.7070008@hyperactivesw.com> On 4/25/12 6:57 PM, Pierre Sahores wrote: > Congrats Jacque. Works very smooth on iPad 1 and green scores comes up ;D Thank you. You won? Wow, that's not easy. Congratulations. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 25 20:32:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 19:32:04 -0500 Subject: reposition single-line text to the left or right? In-Reply-To: References: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> Message-ID: <4F989784.6080202@hyperactivesw.com> On 4/25/12 6:31 PM, Nicolas Cueto wrote: > A Son of Thunder asked: > >> ? is there a reason you don't want to use the hScroll? > > Laziness. My app is for Android, and being still new to that platform, > I avoid as much as possible scrollable objects (even with the help of > MobGUI). I did something like this once: on rawKeyUp pKey -- check for eligible field here if you need to, then: if the formattedHeight of fld x > the width of fld x then set the textalign of fld x to "right" else set the textalign of fld x to "left" end if end rawKeyUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Wed Apr 25 20:52:07 2012 From: tereza at califex.com (Tereza Snyder) Date: Wed, 25 Apr 2012 19:52:07 -0500 Subject: Casey is now in the App Store In-Reply-To: <4F9894D7.1050309@hyperactivesw.com> References: <4F9894D7.1050309@hyperactivesw.com> Message-ID: <7EFB4980-EB20-40DC-85AE-9AE23EE0B79D@califex.com> On Apr 25, 2012, at 7:20 PM, J. Landman Gay wrote: > On 4/25/12 6:45 PM, Scott Rossi wrote: >> See, Apple wasn't quite as bad as you were expecting :-) > ... > I might have made more sales if I'd called the game "Poopy Cards". > Anything with "poop" sells! Tho I guess in the UK it?s "poo". Poopy Parrot Patience! I look forward to wasting spending some time with Casey! t -- Tereza Snyder Califex Software, Inc. From sc at sahores-conseil.com Wed Apr 25 20:57:48 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 26 Apr 2012 02:57:48 +0200 Subject: Casey is now in the App Store In-Reply-To: <4F9895A2.7070008@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> <59700685-65B6-4F8D-B6B2-F538C039C6B6@sahores-conseil.com> <4F9895A2.7070008@hyperactivesw.com> Message-ID: Installed on my Galaxy S2 too. At least, a great piece of software on both iOS and Android sides ;-) Le 26 avr. 2012 ? 02:24, J. Landman Gay a ?crit : > On 4/25/12 6:57 PM, Pierre Sahores wrote: >> Congrats Jacque. Works very smooth on iPad 1 and green scores comes up ;D > > Thank you. You won? Wow, that's not easy. Congratulations. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From terry.judd at unimelb.edu.au Wed Apr 25 21:57:33 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 26 Apr 2012 01:57:33 +0000 Subject: Slow write to sqlite on usb sticks Message-ID: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> We're finding that it's very slow to write even small amounts of data from Livecode to a sqlite file when the Livecode app and the db file are on a usb stick (the db stores a local copy of the user's messages as they are downloaded from a server). It seems to be something that is peculiar to the usb setup as it works very quickly when run from a hard drive (less that 1 second for 40 messages vs 20-30 seconds on the usb stick). Has anyone experienced anything similar and/or does anyone have any suggestions as to how we might speed the process up? I'm currently downloading the messages (as xml), converting them to an array (from, to, subject, body, attachments etc.) and then writing each to the sqlite db within a repeat loop and then closing the db connection. Terry... From Mark_Smith at cpe.umanitoba.ca Wed Apr 25 22:03:34 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 25 Apr 2012 19:03:34 -0700 (PDT) Subject: Casey is now in the App Store In-Reply-To: <4F98800A.1020001@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> Message-ID: <1335405814401-4588673.post@n4.nabble.com> J. Landman Gay wrote > > Casey's Solitaire has migrated to the App Store. :) If you have an iPad > you can grab it here: > Hi Jacque, I just discovered I'm lousy at solitaire! Nicely done game though, very nice indeed. In fairness, I've not given the parrot a chance to help. So there is still room for optimism :) Good luck with sales, they will be well deserved. --M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Casey-is-now-in-the-App-Store-tp4588341p4588673.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Apr 25 22:04:35 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Apr 2012 19:04:35 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F96D09C.9070009@hyperactivesw.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: <16817127062.20120425190435@ahsoftware.net> Jacque- Tuesday, April 24, 2012, 9:11:08 AM, you wrote: > I think so too. Or even just make the program slightly annoying during > launch. Graphic Converter does that and its author has been supporting > himself for years with it, it's hugely popular. It isn't limited in any > way. He just inserts a 10 second wait after every launch before the > program becomes useable. Like most people, I used the free version for a > couple of years until the ten seconds got so annoying I paid up. I've > been paying for updates ever since. I go the annoying route as well. I don't want to release crippled versions of software because you can't get a good sense of what a program does if it doesn't do it properly. I hate it when people do that. I also don't want to bother with time-limited releases, because they're not foolproof and I'd waste more time coming up with some complex scheme for it and some idiot would come along and break it in thirty seconds. So I have a randomizer routine that comes into play every launches, disables the program until the next launch, and presents a nag screen urging the user to purchase a license and stop the annoyance. The randomizer function is in a protected substack that also contains key functions without which the program won't work. That prevents getting around the randomizer function by stepping past the code or removing the substack. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Apr 25 22:06:32 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Apr 2012 19:06:32 -0700 Subject: Casey is now in the App Store In-Reply-To: <1335405814401-4588673.post@n4.nabble.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> Message-ID: <4817244875.20120425190632@ahsoftware.net> Mark- Wednesday, April 25, 2012, 7:03:34 PM, you wrote: > In fairness, I've not given the parrot a chance to help. Help? Help? OMG - you don't know what you're in for! -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Wed Apr 25 22:14:44 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 25 Apr 2012 19:14:44 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F9513AB.5040406@gmail.com> References: <4F9513AB.5040406@gmail.com> Message-ID: <021903E4-5BAF-43B5-9AB5-E3C9124DD1B1@mac.com> Richmond, I don't know what your program does but if it allows the user to store data you could embed the timestamp in the data. This is what I do with InfoWallet. The program InfoWallet itself isn't really timestamped but data files it creates are. When the datafile is created it gets a date stamp and that stamp is compared to the current date each time the file is opened. I give the users 50 days instead of 30 and if the 50 days are passed then the data file is simply not opened but the data itself is intact. Once the user purchases a license key the program no longer pays any attention to the date the file was created and they get access to all their entered data and can use it forever. If the user passes the 50 days and still wants to experiment with the software then can simply create another data file but they would be starting the data from scratch. Because of this, the only functional limitation of the trial version is the inability to export the data back out. If I allowed that, the user could simply keep exporting and then importing into a new data file. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 23, 2012, at 1:32 AM, Richmond wrote: > Um: > > --30 Day code-- > > if the fld "STAMP" of stack "STAMP" is empty then > set the lockScreen to true > put the seconds into into fld "STAMP" of stack "STAMP" > save stack "STAMP" > set the lockScreen to false > end if > > put the seconds into DAZE30 > put fld "STAMP" of stack "STAMP" into TSTAMP > if DAZE30 > (TSTAMP + 2592000) then > set the vis of img "TIME IS UP CHUM" to true > end if > > --End 30 Day code-- > > This works very well in a stack (where stack "STAMP" is a substack of my mainstack), > > will it work in a standalone? > > [NOT unless I remove that double 'into' . . . :) ] > > or, put another way, > > will the standalone save the time-stamp data in the substack? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 22:18:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 21:18:38 -0500 Subject: Casey is now in the App Store In-Reply-To: <7EFB4980-EB20-40DC-85AE-9AE23EE0B79D@califex.com> References: <4F9894D7.1050309@hyperactivesw.com> <7EFB4980-EB20-40DC-85AE-9AE23EE0B79D@califex.com> Message-ID: <4F98B07E.7020204@hyperactivesw.com> On 4/25/12 7:52 PM, Tereza Snyder wrote: > Poopy Parrot Patience! It scans well. It may be too close to the now-forbidden "fart apps" though. > > I look forward to wasting spending some time with Casey! Sometimes after a hard week, even poo looks good. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Apr 25 22:19:17 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Apr 2012 19:19:17 -0700 Subject: [OT] ROR Difference between has one and belongs to one In-Reply-To: <5CFF9EE4-F905-4AE5-8ED0-1668452100C0@twft.com> References: <5CFF9EE4-F905-4AE5-8ED0-1668452100C0@twft.com> Message-ID: <86818009796.20120425191917@ahsoftware.net> Bob- Tuesday, April 24, 2012, 9:31:05 AM, you wrote: > Hi. For anyone who has experience using Ruby on Rails, I have a > friend who is redesigning the corporate web site, and he wants to > use ROR. He is stumped at their way of defining relationships. He > says there is a Belongs To One relationship and a Has One > relationship. It sounds to me like they are talking about a one to > one relationship from different directions but why that would be > useful I do not know. Anyone have any wisdom on the subject? Typically in object-oriented design you're presented with the choice between subclassing an existing object (making a new object with all the properties of the original, but with a few additions or differences) or creating an aggregate object which contains two or more other objects. The textbook answer to when you do one and when you do the other comes down to: if you have a "has a" relationship then you make a complex object if you have a "is a" relationship then you subclass an existing one For instance, if you want to create a button with a blue background, you'd use a button object and change its properties. That would be an "is a" relationship. You wouldn't make a group with a button and a blue graphic overlay object to do the trick. Rails also has the concept of "convention over configuration", which is basically "we've already figured out the best way to do things, so don't get creative here." The idea being that if you have to go and configure things they'll break, so just use the frameworks the way they're written, and design your application around rails rather than trying to integrate rails into your application. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Apr 25 22:20:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 21:20:26 -0500 Subject: Casey is now in the App Store In-Reply-To: <1335405814401-4588673.post@n4.nabble.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> Message-ID: <4F98B0EA.3020807@hyperactivesw.com> On 4/25/12 9:03 PM, Mark Smith wrote: > I just discovered I'm lousy at solitaire! Turn on all the cheats. Really. Otherwise it's almost impossible to win. It isn't just you. > Nicely done game though, very nice indeed. > In fairness, I've not given the parrot a chance to help. > So there is still room for optimism :) Oh, I wouldn't be too sure...keep an eye on the face cards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Wed Apr 25 22:29:01 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 26 Apr 2012 11:29:01 +0900 Subject: reposition single-line text to the left or right? In-Reply-To: <4F989784.6080202@hyperactivesw.com> References: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> <4F989784.6080202@hyperactivesw.com> Message-ID: > on rawKeyUp pKey > ?-- check for eligible field here if you need to, then: > ?if the formattedHeight of fld x > the width of fld x then > ? ?set the textalign of fld x to "right" > ?else > ? ?set the textalign of fld x to "left" > ?end if > end rawKeyUp > Elegant and simple solution. (But changed "formattedHeight" to "formattedWidth"). Thank you, Jacque! -- Nicolas Cueto From jacque at hyperactivesw.com Wed Apr 25 23:03:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Apr 2012 22:03:50 -0500 Subject: reposition single-line text to the left or right? In-Reply-To: References: <64800443-E30A-4A52-BD98-0628970B235D@sonsothunder.com> <4F989784.6080202@hyperactivesw.com> Message-ID: <4F98BB16.4090803@hyperactivesw.com> On 4/25/12 9:29 PM, Nicolas Cueto wrote: >> on rawKeyUp pKey >> -- check for eligible field here if you need to, then: >> if the formattedHeight of fld x> the width of fld x then >> set the textalign of fld x to "right" >> else >> set the textalign of fld x to "left" >> end if >> end rawKeyUp >> > > Elegant and simple solution. (But changed "formattedHeight" to > "formattedWidth"). Oops, sorry. I'm bird-brained tonight. Glad you caught that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Apr 26 01:59:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Apr 2012 22:59:18 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: Hi Terry, Are you wrapping all 40 (or however many INSERTS) into one transaction? By which I mean there should be a BEGIN before the repeat loop starts and a COMMIT after it finishes. That definitely helps with performance and also allows you to ROLLBACK if any of the INSERTs fail. I doubt that would make fix the huge timing difference but worth a try if you're not already doing it. Only other thing I can think of is to try different combinations of LC and the db on disk/USB - might narrow down which of the two is causing the problem. Pete lcSQL Software On Wed, Apr 25, 2012 at 6:57 PM, Terry Judd wrote: > We're finding that it's very slow to write even small amounts of data from > Livecode to a sqlite file when the Livecode app and the db file are on a > usb stick (the db stores a local copy of the user's messages as they are > downloaded from a server). It seems to be something that is peculiar to the > usb setup as it works very quickly when run from a hard drive (less that 1 > second for 40 messages vs 20-30 seconds on the usb stick). Has anyone > experienced anything similar and/or does anyone have any suggestions as to > how we might speed the process up? > > I'm currently downloading the messages (as xml), converting them to an > array (from, to, subject, body, attachments etc.) and then writing each to > the sqlite db within a repeat loop and then closing the db connection. > > 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 ken at kencorey.com Thu Apr 26 02:01:00 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 26 Apr 2012 07:01:00 +0100 Subject: Casey is now in the App Store In-Reply-To: <4F9889A8.9000001@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> <4F9889A8.9000001@hyperactivesw.com> Message-ID: <4F98E49C.2030708@kencorey.com> Why, dear girl, you run to the bank cackling with the huge pots of money about to head your way. Rovio who? *grin* -Ken On 26/04/2012 00:32, J. Landman Gay wrote: > On 4/25/12 6:01 PM, Andre Garzia wrote: >> Congrats Jacque!!!! > > Thanks Andre. I was positive Apple would reject it for something silly, > I've heard so many reports here about that. I was prepared for > disappointment, and when it got in I didn't quite know what to do. > From terry.judd at unimelb.edu.au Thu Apr 26 02:20:42 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 26 Apr 2012 06:20:42 +0000 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: On 26/04/2012, at 3:59 PM, Peter Haworth wrote: Hi Terry, Are you wrapping all 40 (or however many INSERTS) into one transaction? By which I mean there should be a BEGIN before the repeat loop starts and a COMMIT after it finishes. That definitely helps with performance and also allows you to ROLLBACK if any of the INSERTs fail. Hi Pete - thanks for the suggestion, at the moment I'm doing 40 separate inserts, like this... put the cUpdateMessagesSQL of this cd into tSQL # my insert statement put revOpenDatabase("sqlite", pLocalPath, , , , ) into connectionID repeat for each line tRecord in pData # 1 message per line # do some formatting stuff here put merge(tSQL) into tSQL1 revExecuteSQL connectionID, tSQL1 end repeat revCloseDatabase connectionID I doubt that would make fix the huge timing difference but worth a try if you're not already doing it. Yes, submitting them all at once could well help. I'm no SQL expert though. How do I format the data and statement so that I'm submitting multiple records at once? Terry... Only other thing I can think of is to try different combinations of LC and the db on disk/USB - might narrow down which of the two is causing the problem. Pete lcSQL Software On Wed, Apr 25, 2012 at 6:57 PM, Terry Judd >wrote: We're finding that it's very slow to write even small amounts of data from Livecode to a sqlite file when the Livecode app and the db file are on a usb stick (the db stores a local copy of the user's messages as they are downloaded from a server). It seems to be something that is peculiar to the usb setup as it works very quickly when run from a hard drive (less that 1 second for 40 messages vs 20-30 seconds on the usb stick). Has anyone experienced anything similar and/or does anyone have any suggestions as to how we might speed the process up? I'm currently downloading the messages (as xml), converting them to an array (from, to, subject, body, attachments etc.) and then writing each to the sqlite db within a repeat loop and then closing the db connection. 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 26 03:40:53 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Apr 2012 10:40:53 +0300 Subject: Building Win standalones on a Mac In-Reply-To: References: <4F984BF4.8080409@gmail.com> Message-ID: <4F98FC05.6070603@gmail.com> The really odd thing is that I tried to build a Windows standalone in VirtualBox running Windows XP (LC 4.5) and got the same problem about doc icons. When I selected the .ico file I have for my standalone as the doc icon as well it did not 'take'. > Hi Richmond, > > I have the same problem. I have modified the standalone application settings window to allow me to enter the path to the icon file manually. When I enter the absolute path for both icons by dragging the icon files into the fields, all works fine. It simply doesn't work if I don't specify a doc icon. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > We will have room for new projects after 1 June. Contact me now and be first in line. > > On 25 apr 2012, at 21:09, Richmond wrote: > >> I've had this problem before, but a long time ago: >> >> Building a standalone for Windows on a Mac PPC the build fails (4.5) >> with this: >> >> Build failed for Windows: could not load doc icon. >> >> This is nonsense as I had selected "Use None" for a document icon. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Thu Apr 26 04:23:56 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 26 Apr 2012 16:23:56 +0800 Subject: Time-Stamping Demo programs #2 In-Reply-To: <4F96D09C.9070009@hyperactivesw.com> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: On Wed, Apr 25, 2012 at 12:11 AM, J. Landman Gay wrote: > Graphic Converter does that and its author has been supporting himself for > years with it, it's hugely popular. It isn't limited in any way. > > I don't know that Mike Bombich supports himself off the 'donations' to Carbon Copy Cloner, but it's another hugely popular shareware that isn't feature limited in anyway. He does keep track of how many times you use it because every now and then at the end of a back-up a nag screen comes up to remind you how many times you've used it and to suggest you donate. The only difference between the pre-donation version and the post-donation version is you can choose to hide the banner ads displayed in the progress window. Weirdly enough all the ads are from Other World Computing, of which I'm a regular customer, so they were never a bother for me, so even after I donated I clicked on the button to continue displaying the banner ads so I could keep up with the latest specials from OWC. Donations range from U$15-100, it's your choice. From lan.kc.macmail at gmail.com Thu Apr 26 04:55:34 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 26 Apr 2012 16:55:34 +0800 Subject: Slow write to sqlite on usb sticks In-Reply-To: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: Hi Terry, Strange you should raise this as I was just wondering myself why SD cards are so slow when they have no mechanical parts. You don't mention if the HD you were using was internal or external, but on my own system I get the following benchmarks: Internal HD - 99 MB/s External eSATA (via cardbus adapter) - 81 MB/s External FW800 - 58 MB/s Exernal FW400 - 32 MB/s * External USB 2.0 - 26 MB/s * SD Card (via card bus adaptor) - 11 MB/s * same HD, same enclosure, dual port. I've seen a youTube video (so it must be true;-) which showed a benchtest between a USB stick and an SD card and the USB stick was about 1 MB/s slower. I don't have a usb stick to benchtest, but because of the video, when I bought my last SD card it was the fasted I could find - they have a speed rating which I can't recall right now. The above is not accurate because to be a true test of bus interface speed the HD should be the same, and in this case I've used 3 different HDs, 1 x Internal, 1 x eSATA & FW800, and the last one in a dual port enclosure. I believe though that it gives a ball park figure of what you can expect, and so anacdotally a USB stick is about 10 times slower than an internal HD. This doesn't fully explain your performance drop, but I believe it explains a good portion of it. It also explains why downloading photos off the SD card takes soooooo loooooonnnnggggggggg...... I still don't understand why though.... there are no moving parts? On Thu, Apr 26, 2012 at 9:57 AM, Terry Judd wrote: > We're finding that it's very slow to write even small amounts of data from > Livecode to a sqlite file when the Livecode app and the db file are on a > usb stick (the db stores a local copy of the user's messages as they are > downloaded from a server). It seems to be something that is peculiar to the > usb setup as it works very quickly when run from a hard drive (less that 1 > second for 40 messages vs 20-30 seconds on the usb stick). Has anyone > experienced anything similar and/or does anyone have any suggestions as to > how we might speed the process up? > > I'm currently downloading the messages (as xml), converting them to an > array (from, to, subject, body, attachments etc.) and then writing each to > the sqlite db within a repeat loop and then closing the db connection. > > 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 terry.judd at unimelb.edu.au Thu Apr 26 06:01:11 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 26 Apr 2012 10:01:11 +0000 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au>, Message-ID: <90D393A2-3FC6-4FBC-BB6B-006A68610EAE@unimelb.edu.au> Interesting stats Kay. I have a feeling that not all USB memory sticks are equal either. The no-name ones we give out to students (8 GB) are relatively cheap and definitely don't perform as well as a couple of name brand sticks I have lying around. I don't think we even get close to 11 MB/s out of these cheapies. Terry... On 26/04/2012, at 6:59 PM, "Kay C Lan" wrote: > Hi Terry, > > Strange you should raise this as I was just wondering myself why SD cards > are so slow when they have no mechanical parts. You don't mention if the HD > you were using was internal or external, but on my own system I get the > following benchmarks: > > Internal HD - 99 MB/s > External eSATA (via cardbus adapter) - 81 MB/s > External FW800 - 58 MB/s > Exernal FW400 - 32 MB/s * > External USB 2.0 - 26 MB/s * > SD Card (via card bus adaptor) - 11 MB/s > > * same HD, same enclosure, dual port. > > I've seen a youTube video (so it must be true;-) which showed a benchtest > between a USB stick and an SD card and the USB stick was about 1 MB/s > slower. I don't have a usb stick to benchtest, but because of the video, > when I bought my last SD card it was the fasted I could find - they have a > speed rating which I can't recall right now. > > The above is not accurate because to be a true test of bus interface speed > the HD should be the same, and in this case I've used 3 different HDs, 1 x > Internal, 1 x eSATA & FW800, and the last one in a dual port enclosure. > > I believe though that it gives a ball park figure of what you can expect, > and so anacdotally a USB stick is about 10 times slower than an internal > HD. This doesn't fully explain your performance drop, but I believe it > explains a good portion of it. > > It also explains why downloading photos off the SD card takes soooooo > loooooonnnnggggggggg...... > > I still don't understand why though.... there are no moving parts? > > On Thu, Apr 26, 2012 at 9:57 AM, Terry Judd wrote: > >> We're finding that it's very slow to write even small amounts of data from >> Livecode to a sqlite file when the Livecode app and the db file are on a >> usb stick (the db stores a local copy of the user's messages as they are >> downloaded from a server). It seems to be something that is peculiar to the >> usb setup as it works very quickly when run from a hard drive (less that 1 >> second for 40 messages vs 20-30 seconds on the usb stick). Has anyone >> experienced anything similar and/or does anyone have any suggestions as to >> how we might speed the process up? >> >> I'm currently downloading the messages (as xml), converting them to an >> array (from, to, subject, body, attachments etc.) and then writing each to >> the sqlite db within a repeat loop and then closing the db connection. >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 07:39:58 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Apr 2012 13:39:58 +0200 Subject: Building Win standalones on a Mac In-Reply-To: <4F98FC05.6070603@gmail.com> References: <4F984BF4.8080409@gmail.com> <4F98FC05.6070603@gmail.com> Message-ID: <49AE636A-51AD-42FA-9D6C-9CB9663ED974@economy-x-talk.com> Richmond, Why is that odd? Same Standalone Builder. Same scripts. Same bugs. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 26 apr 2012, at 09:40, Richmond wrote: > The really odd thing is that I tried to build a Windows standalone in VirtualBox running > Windows XP (LC 4.5) and got the same problem about doc icons. From ambassador at fourthworld.com Thu Apr 26 10:39:42 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 26 Apr 2012 07:39:42 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: <90D393A2-3FC6-4FBC-BB6B-006A68610EAE@unimelb.edu.au> References: <90D393A2-3FC6-4FBC-BB6B-006A68610EAE@unimelb.edu.au> Message-ID: <4F995E2E.6080404@fourthworld.com> Terry Judd wrote: > I have a feeling that not all USB memory sticks are equal either. Indeed, not by a long shot. Given that db writes require a lot of jumping around in the internal b-tree, there's only so much that can be done to speed them up. But for sustain read/write operations, I've found significant variance among thumb drives. Last year I picked up this XPorter Rage because the reviews raved about its unusual quad-channel USB interface - over a single port it opens up four logical transfer channels that make fuller use of the connection to provide a big speed boost for the sort of "sneakernet" transfers and quick backups I do: Patriot Xporter XT Rage 16 GB USB 2.0 When copying lots of small files the performance isn't as noticeable due to the general overhead of USB and the nature of flash drives, but for sustained read/writes it's able to use the one-time hit in setting up the connection quite efficiently for overall great performance, far beyond any other flash drive I've used. -- 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 bobs at twft.com Thu Apr 26 11:26:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 08:26:04 -0700 Subject: Casey is now in the App Store In-Reply-To: <1335405814401-4588673.post@n4.nabble.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> Message-ID: <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> After reading the directions, I am still a little sketchy as to how the parrot "helps" exactly. I thought he just poops on cards and messes up the order? Bob On Apr 25, 2012, at 7:03 PM, Mark Smith wrote: > > J. Landman Gay wrote >> >> Casey's Solitaire has migrated to the App Store. :) If you have an iPad >> you can grab it here: >> > > Hi Jacque, > I just discovered I'm lousy at solitaire! > Nicely done game though, very nice indeed. > In fairness, I've not given the parrot a chance to help. > So there is still room for optimism :) > > Good luck with sales, they will be well deserved. > > --M > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Casey-is-now-in-the-App-Store-tp4588341p4588673.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 Thu Apr 26 11:38:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 08:38:27 -0700 Subject: [OT] ROR Difference between has one and belongs to one In-Reply-To: <86818009796.20120425191917@ahsoftware.net> References: <5CFF9EE4-F905-4AE5-8ED0-1668452100C0@twft.com> <86818009796.20120425191917@ahsoftware.net> Message-ID: <4C2B8E06-11AA-4BDF-A09A-41473B1678A3@twft.com> Thanks Mark! That helps a lot! I will forward this to the web guy. Bob On Apr 25, 2012, at 7:19 PM, Mark Wieder wrote: > Bob- > > Tuesday, April 24, 2012, 9:31:05 AM, you wrote: > >> Hi. For anyone who has experience using Ruby on Rails, I have a >> friend who is redesigning the corporate web site, and he wants to >> use ROR. He is stumped at their way of defining relationships. He >> says there is a Belongs To One relationship and a Has One >> relationship. It sounds to me like they are talking about a one to >> one relationship from different directions but why that would be >> useful I do not know. Anyone have any wisdom on the subject? > > Typically in object-oriented design you're presented with the choice > between subclassing an existing object (making a new object with all > the properties of the original, but with a few additions or > differences) or creating an aggregate object which contains two or > more other objects. The textbook answer to when you do one and when > you do the other comes down to: > > if you have a "has a" relationship then you make a complex object > if you have a "is a" relationship then you subclass an existing one > > For instance, if you want to create a button with a blue background, > you'd use a button object and change its properties. That would be an > "is a" relationship. You wouldn't make a group with a button and a > blue graphic overlay object to do the trick. > > Rails also has the concept of "convention over configuration", which > is basically "we've already figured out the best way to do things, so > don't get creative here." The idea being that if you have to go and > configure things they'll break, so just use the frameworks the way > they're written, and design your application around rails rather than > trying to integrate rails into your application. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Apr 26 11:49:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 08:49:29 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: <16817127062.20120425190435@ahsoftware.net> References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> <16817127062.20120425190435@ahsoftware.net> Message-ID: <4096DA54-4FBB-4CBF-AD84-84FC4DBCAEA8@twft.com> My approach to buying shareware is if I try something and it helps me do something I need to do, I go buy it, even if I do not need to do that thing again. It's a matter of integrity to me. I think there are a lot of people like that, but I know there are also a lot of other people who think if they can get away with not paying anyone anytime for anything they have done, they will try to do that. I have lost a lot of respect for people I once thought of as friends over this. So I guess my point is, you will never change a person. All you can do is try to target the ones who have integrity, and consider the rest to be a waste of atmosphere. :-) Bob On Apr 25, 2012, at 7:04 PM, Mark Wieder wrote: > Jacque- > > Tuesday, April 24, 2012, 9:11:08 AM, you wrote: > >> I think so too. Or even just make the program slightly annoying during >> launch. Graphic Converter does that and its author has been supporting >> himself for years with it, it's hugely popular. It isn't limited in any >> way. He just inserts a 10 second wait after every launch before the >> program becomes useable. Like most people, I used the free version for a >> couple of years until the ten seconds got so annoying I paid up. I've >> been paying for updates ever since. > > I go the annoying route as well. I don't want to release crippled > versions of software because you can't get a good sense of what a > program does if it doesn't do it properly. I hate it when people do > that. I also don't want to bother with time-limited releases, because > they're not foolproof and I'd waste more time coming up with some > complex scheme for it and some idiot would come along and break it in > thirty seconds. > > So I have a randomizer routine that comes into play every > launches, disables the program until the next launch, and presents a > nag screen urging the user to purchase a license and stop the > annoyance. The randomizer function is in a protected substack that > also contains key functions without which the program won't work. That > prevents getting around the randomizer function by stepping past the > code or removing the substack. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Apr 26 11:50:58 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 08:50:58 -0700 Subject: Time-Stamping Demo programs #2 In-Reply-To: References: <4F9513AB.5040406@gmail.com> <984F24BF-BA5F-4A80-9AC4-EC36A27B2D47@economy-x-talk.com> <4F9516BA.8070201@gmail.com> <4F969E61.20405@gmail.com> <4F96C1FD.907@researchware.com> <4F96D09C.9070009@hyperactivesw.com> Message-ID: Yeah CCC has saved my buttocks a few times, and I use it a lot, so I "donated" a few times already. Bob On Apr 26, 2012, at 1:23 AM, Kay C Lan wrote: > On Wed, Apr 25, 2012 at 12:11 AM, J. Landman Gay > wrote: > >> Graphic Converter does that and its author has been supporting himself for >> years with it, it's hugely popular. It isn't limited in any way. >> >> I don't know that Mike Bombich supports himself off the 'donations' to > Carbon Copy Cloner, but it's another hugely popular shareware that isn't > feature limited in anyway. He does keep track of how many times you use it > because every now and then at the end of a back-up a nag screen comes up to > remind you how many times you've used it and to suggest you donate. > > The only difference between the pre-donation version and the post-donation > version is you can choose to hide the banner ads displayed in the progress > window. Weirdly enough all the ads are from Other World Computing, of which > I'm a regular customer, so they were never a bother for me, so even after I > donated I clicked on the button to continue displaying the banner ads so I > could keep up with the latest specials from OWC. > > Donations range from U$15-100, it's your choice. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 13:17:17 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Apr 2012 10:17:17 -0700 Subject: Building Win standalones on a Mac In-Reply-To: <4F98FC05.6070603@gmail.com> References: <4F984BF4.8080409@gmail.com> <4F98FC05.6070603@gmail.com> Message-ID: <90871889265.20120426101717@ahsoftware.net> Richmond- Thursday, April 26, 2012, 12:40:53 AM, you wrote: > The really odd thing is that I tried to build a Windows standalone in > VirtualBox running > Windows XP (LC 4.5) and got the same problem about doc icons. I just recently started having similar problems. Building a Windows standalone halts for many seconds at "loading icons" and then continues, luckily, to the end. I don't know what the standalone builder is doing during this period. Interestingly, I can take that same stack and build a Windows standalone on linux immediately. No delay. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Apr 26 13:37:42 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Apr 2012 10:37:42 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: Hi Terry, You can still do individual INSERTS, just need a few lines of extra code at the start and end of your code. Here's an amended version of your code with the BEGIN/ROLLBACK/COMMIT in place. put the cUpdateMessagesSQL of this cd into tSQL # my insert statement put revOpenDatabase("sqlite", pLocalPath, , , , ) into connectionID --- Start an sqlite transaction revExecuteSQL connectionID,"BEGIN TRANSACTION" repeat for each line tRecord in pData # 1 message per line # do some formatting stuff here put merge(tSQL) into tSQL1 revExecuteSQL connectionID, tSQL1 --Check for an error and back out the INSERTS if the result is not an integer then revExecuteSQL connectionID,"ROLLBACK" -- Do whatever error tidy up is necessary here exit top end if end repeat -- Commit the INSERTs to disk revExecuteSQL connectionID,"COMMIT" revCloseDatabase connectionID SQLIte automatically starts/commits a transaction around individual statements if you haven't explicitly defined one with a BEGIN statement. There's disk i/o overhead involved in committing a transaction to disk and in your case, that overhead happens 40 times. With the BEGIN/COMMIT in place, it only happens once and since the performance problem seems to be related to the slow transfer speed of USB drives, that should help. The error check/ROLLBACK code will result in none of your INSERTs being written to disk if an error occurs on any of them. With the code you have right now, if you got an error on an INSERT, you'd be left with the INSERTs processed before the error on disk. Depending on your application, that may or may not be a problem. If you'd rather leave the successful INSERTs in the database, remove the ROLLBACK line and change the "exit top" to "exit repeat", that way the COMMIT at the end of the repeat will still be executed. If you have any indexes defined on columns in the table you're inserting into, that will incur extra disk overhead too. Indexes are great for fast retrieval and normally their overhead during INSERTs isn't an issue but it seems that using a USB drive magnifies the effect of every disk i/o so that could be a problem. Have you tried SELECTing data from this table yet? How does that performance compare? As far as INSERTing multiple rows at the same time, SQLite recently enhanced the INSERT command to allow that. You can specify multiple sets of column values with the VALUES clause: INSERT INTO tableA (Col1,Col2) VALUES ('abc','def'),('ghi',jkl'), etc I haven't experimented with that syntax yet to know if it provides any performance improvements. I don't remember which version of SQLite that was introduced in so it's possible that Livecode doesn't include the required version of the SQLite library. There are other things you can do to reduce i/o but I suggest you try the above first and see if it makes any difference. Pete lcSQL Software On Wed, Apr 25, 2012 at 11:20 PM, Terry Judd wrote: > > On 26/04/2012, at 3:59 PM, Peter Haworth wrote: > > Hi Terry, > Are you wrapping all 40 (or however many INSERTS) into one transaction? By > which I mean there should be a BEGIN before the repeat loop starts and a > COMMIT after it finishes. That definitely helps with performance and also > allows you to ROLLBACK if any of the INSERTs fail. > > Hi Pete - thanks for the suggestion, at the moment I'm doing 40 separate > inserts, like this... > > put the cUpdateMessagesSQL of this cd into tSQL # my insert statement > put revOpenDatabase("sqlite", pLocalPath, , , , ) into connectionID > repeat for each line tRecord in pData # 1 message per line > # do some formatting stuff here > put merge(tSQL) into tSQL1 > revExecuteSQL connectionID, tSQL1 > end repeat > revCloseDatabase connectionID > > I doubt that would make fix the huge timing difference but worth a try if > you're not already doing it. > > Yes, submitting them all at once could well help. I'm no SQL expert > though. How do I format the data and statement so that I'm submitting > multiple records at once? > > Terry... > > Only other thing I can think of is to try different combinations of LC and > the db on disk/USB - might narrow down which of the two is causing the > problem. > > Pete > lcSQL Software > > > > On Wed, Apr 25, 2012 at 6:57 PM, Terry Judd >wrote: > > We're finding that it's very slow to write even small amounts of data from > Livecode to a sqlite file when the Livecode app and the db file are on a > usb stick (the db stores a local copy of the user's messages as they are > downloaded from a server). It seems to be something that is peculiar to the > usb setup as it works very quickly when run from a hard drive (less that 1 > second for 40 messages vs 20-30 seconds on the usb stick). Has anyone > experienced anything similar and/or does anyone have any suggestions as to > how we might speed the process up? > > I'm currently downloading the messages (as xml), converting them to an > array (from, to, subject, body, attachments etc.) and then writing each to > the sqlite db within a repeat loop and then closing the db connection. > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 14:11:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Apr 2012 21:11:46 +0300 Subject: Building Win standalones on a Mac In-Reply-To: <90871889265.20120426101717@ahsoftware.net> References: <4F984BF4.8080409@gmail.com> <4F98FC05.6070603@gmail.com> <90871889265.20120426101717@ahsoftware.net> Message-ID: <4F998FE2.2020602@gmail.com> I have tried building Windows standalones using 4.5 (which, until I make some money out of the thing is as far as I can go) on Mac, Linux and Win with no joy. I have no problem with 4.0; except that it mucks around with PNG images that have transparent areas. So . . . Does anybody have any advice about building standalones using Metacard with the 4.5 engines for different platforms than that on which Metacard is running at that moment? From jacque at hyperactivesw.com Thu Apr 26 14:16:10 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Apr 2012 13:16:10 -0500 Subject: Casey is now in the App Store In-Reply-To: <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> Message-ID: <4F9990EA.1060800@hyperactivesw.com> On 4/26/12 10:26 AM, Bob Sneidar wrote: > After reading the directions, I am still a little sketchy as to how > the parrot "helps" exactly. I thought he just poops on cards and > messes up the order? Yes. "Help" is a euphemism. There's one instance where sometimes it can work to your advantage. If you can't remember where a card is located, sometimes Casey will pull it out by chance and give you a clue which talon to focus on. The real Casey was so "helpful" when I played solitaire that I had to write the computer version in self defense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Apr 26 16:27:40 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Apr 2012 23:27:40 +0300 Subject: Building Win standalones on a Mac In-Reply-To: <90871889265.20120426101717@ahsoftware.net> References: <4F984BF4.8080409@gmail.com> <4F98FC05.6070603@gmail.com> <90871889265.20120426101717@ahsoftware.net> Message-ID: <4F99AFBC.4080002@gmail.com> "The 'mcstandalonebuilder.rev' file cannot be found. It needs to be put into the mccomponents' folder at the same level as the 'mctools' stack." Joy! NONE at all. From richmondmathewson at gmail.com Thu Apr 26 16:42:07 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Apr 2012 23:42:07 +0300 Subject: Building Win standalones on a Mac In-Reply-To: References: <4F984BF4.8080409@gmail.com> Message-ID: <4F99B31F.2040500@gmail.com> You saved my life Man! Just changed the field characteristics of the app icon and the doc icon flds: i.e. deselected "lock text" and selected "focusable". A wonderful trick that saved me a lot of aggro. Thanks a million. > Hi Richmond, > > I have the same problem. I have modified the standalone application settings window to allow me to enter the path to the icon file manually. When I enter the absolute path for both icons by dragging the icon files into the fields, all works fine. It simply doesn't work if I don't specify a doc icon. > > -- > Best regards, > > Mark Schonewille > > From terry.judd at unimelb.edu.au Thu Apr 26 17:38:57 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 26 Apr 2012 21:38:57 +0000 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> , Message-ID: <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> Wow, thanks Pete - I'll definitely give this method a try. Terry.. On 27/04/2012, at 3:38 AM, "Peter Haworth" wrote: > Hi Terry, > You can still do individual INSERTS, just need a few lines of extra code at > the start and end of your code. Here's an amended version of your code > with the BEGIN/ROLLBACK/COMMIT in place. > > put the cUpdateMessagesSQL of this cd into tSQL # my insert statement > put revOpenDatabase("sqlite", pLocalPath, , , , ) into connectionID > > --- Start an sqlite transaction > revExecuteSQL connectionID,"BEGIN TRANSACTION" > > repeat for each line tRecord in pData # 1 message per line > # do some formatting stuff here > put merge(tSQL) into tSQL1 > revExecuteSQL connectionID, tSQL1 > > --Check for an error and back out the INSERTS > if the result is not an integer then > revExecuteSQL connectionID,"ROLLBACK" > -- Do whatever error tidy up is necessary here > exit top > end if > > end repeat > > -- Commit the INSERTs to disk > revExecuteSQL connectionID,"COMMIT" > > revCloseDatabase connectionID > > SQLIte automatically starts/commits a transaction around individual > statements if you haven't explicitly defined one with a BEGIN statement. > There's disk i/o overhead involved in committing a transaction to disk and > in your case, that overhead happens 40 times. With the BEGIN/COMMIT in > place, it only happens once and since the performance problem seems to be > related to the slow transfer speed of USB drives, that should help. > > The error check/ROLLBACK code will result in none of your INSERTs being > written to disk if an error occurs on any of them. With the code you have > right now, if you got an error on an INSERT, you'd be left with the INSERTs > processed before the error on disk. Depending on your application, that > may or may not be a problem. If you'd rather leave the successful INSERTs > in the database, remove the ROLLBACK line and change the "exit top" to > "exit repeat", that way the COMMIT at the end of the repeat will still be > executed. > > If you have any indexes defined on columns in the table you're inserting > into, that will incur extra disk overhead too. Indexes are great for fast > retrieval and normally their overhead during INSERTs isn't an issue but it > seems that using a USB drive magnifies the effect of every disk i/o so that > could be a problem. Have you tried SELECTing data from this table yet? > How does that performance compare? > > As far as INSERTing multiple rows at the same time, SQLite recently > enhanced the INSERT command to allow that. You can specify multiple sets > of column values with the VALUES clause: > > INSERT INTO tableA (Col1,Col2) VALUES ('abc','def'),('ghi',jkl'), etc > > I haven't experimented with that syntax yet to know if it provides any > performance improvements. I don't remember which version of SQLite that > was introduced in so it's possible that Livecode doesn't include the > required version of the SQLite library. > > There are other things you can do to reduce i/o but I suggest you try the > above first and see if it makes any difference. > > Pete > lcSQL Software > > > > On Wed, Apr 25, 2012 at 11:20 PM, Terry Judd wrote: > >> >> On 26/04/2012, at 3:59 PM, Peter Haworth wrote: >> >> Hi Terry, >> Are you wrapping all 40 (or however many INSERTS) into one transaction? By >> which I mean there should be a BEGIN before the repeat loop starts and a >> COMMIT after it finishes. That definitely helps with performance and also >> allows you to ROLLBACK if any of the INSERTs fail. >> >> Hi Pete - thanks for the suggestion, at the moment I'm doing 40 separate >> inserts, like this... >> >> put the cUpdateMessagesSQL of this cd into tSQL # my insert statement >> put revOpenDatabase("sqlite", pLocalPath, , , , ) into connectionID >> repeat for each line tRecord in pData # 1 message per line >> # do some formatting stuff here >> put merge(tSQL) into tSQL1 >> revExecuteSQL connectionID, tSQL1 >> end repeat >> revCloseDatabase connectionID >> >> I doubt that would make fix the huge timing difference but worth a try if >> you're not already doing it. >> >> Yes, submitting them all at once could well help. I'm no SQL expert >> though. How do I format the data and statement so that I'm submitting >> multiple records at once? >> >> Terry... >> >> Only other thing I can think of is to try different combinations of LC and >> the db on disk/USB - might narrow down which of the two is causing the >> problem. >> >> Pete >> lcSQL Software >> >> >> >> On Wed, Apr 25, 2012 at 6:57 PM, Terry Judd > >wrote: >> >> We're finding that it's very slow to write even small amounts of data from >> Livecode to a sqlite file when the Livecode app and the db file are on a >> usb stick (the db stores a local copy of the user's messages as they are >> downloaded from a server). It seems to be something that is peculiar to the >> usb setup as it works very quickly when run from a hard drive (less that 1 >> second for 40 messages vs 20-30 seconds on the usb stick). Has anyone >> experienced anything similar and/or does anyone have any suggestions as to >> how we might speed the process up? >> >> I'm currently downloading the messages (as xml), converting them to an >> array (from, to, subject, body, attachments etc.) and then writing each to >> the sqlite db within a repeat loop and then closing the db connection. >> >> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 17:58:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 14:58:29 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> , <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> Message-ID: <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> Yes, transactions... good! I need to incorporate them into my app when I am ready to go into production (as if I will ever get to that point!). Bob On Apr 26, 2012, at 2:38 PM, Terry Judd wrote: > Wow, thanks Pete - I'll definitely give this method a try. > > Terry.. From pete at lcsql.com Thu Apr 26 18:14:38 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Apr 2012 15:14:38 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> Message-ID: I think you're using mySQL Bob? If so, be aware that BEGIN and END are also the means by which you lock the database. Doesn't matter too much with sqlite because it's basically a single user db but with multi user dbs like mySQL (actually just about any db other than sqlite), locking is a whole other story! Pete lcSQL Software On Thu, Apr 26, 2012 at 2:58 PM, Bob Sneidar wrote: > Yes, transactions... good! I need to incorporate them into my app when I > am ready to go into production (as if I will ever get to that point!). > > Bob > > > On Apr 26, 2012, at 2:38 PM, Terry Judd wrote: > > > Wow, thanks Pete - I'll definitely give this method a try. > > > > 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 bobs at twft.com Thu Apr 26 18:22:07 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 15:22:07 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> Message-ID: <6FCD7BC3-872F-48DF-82BD-088F16A1FEBF@twft.com> Oh thanks. I was aware that beginning a transaction made the database writable by only the client who began the transaction, but does it lock people out of reads as well? In the past I would manually lock a database while inserting records or before doing a transactional update, so that I could mark a particular master record as read only. I would then unlock the database and update as necessary to minimize the impact on other users. I did this only because that was what an old app called SBT written in Foxpro used to do, and that was all I knew at the time, but with transactions, maybe I don't need to worry about that anymore. Bob On Apr 26, 2012, at 3:14 PM, Peter Haworth wrote: > I think you're using mySQL Bob? If so, be aware that BEGIN and END are > also the means by which you lock the database. Doesn't matter too much > with sqlite because it's basically a single user db but with multi user dbs > like mySQL (actually just about any db other than sqlite), locking is a > whole other story! > > Pete > lcSQL Software > > > > On Thu, Apr 26, 2012 at 2:58 PM, Bob Sneidar wrote: > >> Yes, transactions... good! I need to incorporate them into my app when I >> am ready to go into production (as if I will ever get to that point!). >> >> Bob >> >> >> On Apr 26, 2012, at 2:38 PM, Terry Judd wrote: >> >>> Wow, thanks Pete - I'll definitely give this method a try. >>> >>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 26 18:59:29 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 27 Apr 2012 07:59:29 +0900 Subject: filename path over local network Message-ID: Hello All, All the wrong terminology I'm sure for something very basic. At my place of work, there's a server to which my computer can connect via those blue LAN cables. I know it can connect because I can navigate to it using the Windows OS navigator, for example, to transfer files back and forth. Now, within my stack, I have an image object. If I set the filename to a jpg that's on my computer, no problem. But, if within the object's property-inspector I navigate to that same file but on the server, there's a problem. Assuming passwords and such are the cause, how do I configure things so that, like my computer's file navigator, LC and my LC stacks too can connect to what I assume is a password protected server. Many thanks. -- Nicolas Cueto From bobs at twft.com Thu Apr 26 19:10:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 16:10:15 -0700 Subject: filename path over local network In-Reply-To: References: Message-ID: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> If I understand you correctly, you want to connect to reference an image file on a server. I think this is a bad idea, but if your os has the share mounted, just browse to the file and choose it. You will have to have that share mounted every time you open a card with that image though. It's better if you have a project folder and you either put your images in that or inside an images folder inside the project folder (that's the method I prefer). Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Apr 26, 2012, at 15:59, Nicolas Cueto wrote: > Hello All, > > All the wrong terminology I'm sure for something very basic. > > At my place of work, there's a server to which my computer can connect via > those blue LAN cables. I know it can connect because I can navigate to it > using the Windows OS navigator, for example, to transfer files back and > forth. > > Now, within my stack, I have an image object. If I set the filename to a > jpg that's on my computer, no problem. But, if within the object's > property-inspector I navigate to that same file but on the server, there's > a problem. > > Assuming passwords and such are the cause, how do I configure things so > that, like my computer's file navigator, LC and my LC stacks too can > connect to what I assume is a password protected server. > > Many thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Apr 26 19:22:38 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Apr 2012 16:22:38 -0700 Subject: filename path over local network In-Reply-To: References: Message-ID: <1265B5A8-FD7E-428E-A4CC-E78FF7493CDF@twft.com> I just tested this. You can reference a file on a file server, but the volume must be mounted for the image file to work. I tried to reference the file by manually typing in the afp URL. (I assume it works the same way with a Windows share using SMB. To the OS X file system, once the volume is mounted it's pretty much the same thing). This made Livecode very, very angry. I had to force quit it. So to reiterate, DON'T DO THAT! Put the file somewhere local to your stack file. :-) Bob On Apr 26, 2012, at 3:59 PM, Nicolas Cueto wrote: > Hello All, > > All the wrong terminology I'm sure for something very basic. > > At my place of work, there's a server to which my computer can connect via > those blue LAN cables. I know it can connect because I can navigate to it > using the Windows OS navigator, for example, to transfer files back and > forth. > > Now, within my stack, I have an image object. If I set the filename to a > jpg that's on my computer, no problem. But, if within the object's > property-inspector I navigate to that same file but on the server, there's > a problem. > > Assuming passwords and such are the cause, how do I configure things so > that, like my computer's file navigator, LC and my LC stacks too can > connect to what I assume is a password protected server. > > Many thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Thu Apr 26 19:36:26 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 27 Apr 2012 08:36:26 +0900 Subject: filename path over local network In-Reply-To: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> References: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> Message-ID: Thanks for responding, Bob. > If I understand you correctly, you want to connect to reference an image > file on a server. Yes. > I think this is a bad idea, but if your os has the share > mounted, just browse to the file and choose it. I think I already tried this, ie, by browsing to the jpg file within the LC IDE using the property inspector for the image object. No luck. But I can use the IDE's "File > Image import" to browse and import the jpg from the server. Anyway, your next point seemed to have more potential, i.e., > It's better if you have a project folder and you either put your images in > that or inside an images folder inside the project folder (that's the method > I prefer). And where would that project folder be located? on my computer? on the server? Dumb question it seems, but... If you mean "on my computer", that's my current setup. The problem is, the stack's gonna be a standalone running on the 30+ computers at the computer-lab of another school. And, rather than accessing JPGs, it's 5-40Mb MPG videos, which videos my standalone, as it currently is setup, downloads from my webhost account to a local folder. So, I was thinking that, rather than overload my onrev account, I could re-configure my stack/standalone so that the videos could be retrieved (or streamed?) from that computer-lab's server. That way, I could package the videos into one large zipped file, and the standalone/installer in a separate much smaller zipped file for download. Off to classes. -- Nicolas Cueto From pete at lcsql.com Thu Apr 26 19:36:24 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Apr 2012 16:36:24 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: <6FCD7BC3-872F-48DF-82BD-088F16A1FEBF@twft.com> References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> <6FCD7BC3-872F-48DF-82BD-088F16A1FEBF@twft.com> Message-ID: Once again, this varies form db to db. Even sqlite3 can now allow readers while the db is locked by setting the Write Ahead Locking pragma. For mySQL, there is a LOCK and an UNLOCK command which allow you to lock individual tables for read and/or write access, as well as BEGIN and END, which lock the whole database. There's a discussion on how LOCK/UNLOCK and BEGIN/END work here but I'd be inclined to use LOCK and UNLOCK rather than BEGIN/END for more granularity unless you are carrying out some admin task for which you need exclusive access to the whole db. I don't know anything about locking on other SQL implementations (yet!). Pete lcSQL Software On Thu, Apr 26, 2012 at 3:22 PM, Bob Sneidar wrote: > Oh thanks. I was aware that beginning a transaction made the database > writable by only the client who began the transaction, but does it lock > people out of reads as well? In the past I would manually lock a database > while inserting records or before doing a transactional update, so that I > could mark a particular master record as read only. I would then unlock the > database and update as necessary to minimize the impact on other users. I > did this only because that was what an old app called SBT written in Foxpro > used to do, and that was all I knew at the time, but with transactions, > maybe I don't need to worry about that anymore. > > Bob > > > On Apr 26, 2012, at 3:14 PM, Peter Haworth wrote: > > > I think you're using mySQL Bob? If so, be aware that BEGIN and END are > > also the means by which you lock the database. Doesn't matter too much > > with sqlite because it's basically a single user db but with multi user > dbs > > like mySQL (actually just about any db other than sqlite), locking is a > > whole other story! > > > > Pete > > lcSQL Software > > > > > > > > On Thu, Apr 26, 2012 at 2:58 PM, Bob Sneidar wrote: > > > >> Yes, transactions... good! I need to incorporate them into my app when I > >> am ready to go into production (as if I will ever get to that point!). > >> > >> Bob > >> > >> > >> On Apr 26, 2012, at 2:38 PM, Terry Judd wrote: > >> > >>> Wow, thanks Pete - I'll definitely give this method a try. > >>> > >>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 26 20:40:32 2012 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 27 Apr 2012 09:40:32 +0900 Subject: filename path over local network In-Reply-To: References: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> Message-ID: I just realized I was asking the wrong question. Rather than streaming the video, I simply have my stack copy the files from the server to the local computer. Just tried it successfully using the LC IDE to import a txt file onto a card as a field object. Now, to figure out how to get that path to the server within the standalone... and whether or not the Japanese characters in the pathname will muck up things somewhat. Cheers. -- Nicolas Cueto From mwieder at ahsoftware.net Thu Apr 26 20:45:04 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Apr 2012 17:45:04 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> <6FCD7BC3-872F-48DF-82BD-088F16A1FEBF@twft.com> Message-ID: <27898756609.20120426174504@ahsoftware.net> Pete- Thursday, April 26, 2012, 4:36:24 PM, you wrote: > Once again, this varies form db to db. Even sqlite3 can now allow readers > while the db is locked by setting the Write Ahead Locking pragma. ...and don't even ask about how msAccess locks things... -- -Mark Wieder mwieder at ahsoftware.net From tsj at unimelb.edu.au Thu Apr 26 22:29:35 2012 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 27 Apr 2012 12:29:35 +1000 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: On 27/04/2012, at 3:37 AM, Peter Haworth wrote: > Hi Terry, > You can still do individual INSERTS, just need a few lines of extra > code at > the start and end of your code. Here's an amended version of your > code > with the BEGIN/ROLLBACK/COMMIT in place. Peter - using the BEGIN/COMMIT form seems to have sped up things considerably. Applying individual inserts the 'old' way created a temporary journal file for each insert - actually two, as attachments were handled separately to the message content. Now just two journal files are created and the total write time has been reduced from over a minute (on some very slow USB sticks) to just a few seconds. I can certainly live with that. Thanks again, Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From pete at lcsql.com Thu Apr 26 23:02:35 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Apr 2012 20:02:35 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> Message-ID: Glad it worked for you Terry. Sometimes the performance hits on this stuff aren't obvious until you have to deal with slow i/o speeds. Pete lcSQL Software On Thu, Apr 26, 2012 at 7:29 PM, Terry Judd wrote: > > On 27/04/2012, at 3:37 AM, Peter Haworth wrote: > > Hi Terry, >> >> You can still do individual INSERTS, just need a few lines of extra code >> at >> the start and end of your code. Here's an amended version of your code >> with the BEGIN/ROLLBACK/COMMIT in place. >> > > Peter - using the BEGIN/COMMIT form seems to have sped up things > considerably. Applying individual inserts the 'old' way created a temporary > journal file for each insert - actually two, as attachments were handled > separately to the message content. Now just two journal files are created > and the total write time has been reduced from over a minute (on some very > slow USB sticks) to just a few seconds. I can certainly live with that. > > Thanks again, > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Education Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From benr_mc at cogapp.com Fri Apr 27 08:16:37 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 27 Apr 2012 13:16:37 +0100 Subject: Casey is now in the App Store In-Reply-To: <4F9990EA.1060800@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> <4F9990EA.1060800@hyperactivesw.com> Message-ID: <4F9A8E25.9020707@cogapp.com> On 26/04/2012 19:16, J. Landman Gay wrote: > Yes. "Help" is a euphemism. There's one instance where sometimes it can work > to your advantage. If you can't remember where a card is located, sometimes > Casey will pull it out by chance and give you a clue which talon to focus on. > > The real Casey was so "helpful" when I played solitaire that I had to write > the computer version in self defense. I've got the app on iPad - well done! - but I was a bit disappointed that Casey seems invisible. The cards move, but you can't see the claw or beak. Are you sure that this isn't an imaginary parrot? (Admittedly, there are visible traces sometimes left on the cards...) From Mark_Smith at cpe.umanitoba.ca Fri Apr 27 09:41:02 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 27 Apr 2012 06:41:02 -0700 (PDT) Subject: Casey is now in the App Store In-Reply-To: <4F9990EA.1060800@hyperactivesw.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> <4F9990EA.1060800@hyperactivesw.com> Message-ID: <1335534062331-4592705.post@n4.nabble.com> J. Landman Gay wrote > > > Yes. "Help" is a euphemism. There's one instance where sometimes it can > > Hi Jacque, As soon as I posted I wanted to edit the message and quote "help" as well, but then Mark Wieder's response was soooo funny I was happy to let it stand :) Thanks for the tip on the cheats. Will give it a go. -- M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Casey-is-now-in-the-App-Store-tp4588341p4592705.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Apr 27 12:07:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Apr 2012 09:07:33 -0700 Subject: filename path over local network In-Reply-To: References: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> Message-ID: <0B5C64A1-D303-414B-82F1-0DD9CEF79E58@twft.com> I think then that for streaming videos, you need a setup card where you can configure the path to the movie files. When your app starts up, you will need to mount that volume if it is not local. There are shell commands for Windows to do that, as well as *NIX based systems. I do not think that LC has a command or function for mounting shares, but I could be wrong. Applescript can also be used for OS X. For Windows however, you can use this syntax for creating a mapped drive letter in the shell: NET USE G: \\\ /YES The /YES switch means persistence, meaning next time the user logs in it will try to remount the share. I wouldn't worry about user names and passwords. It's up to the local admin to make sure that the user has access to the resources. Anyway, based on your result from mounting the share, you can inform your user when a mount point fails, and either quit the app or else inform the user that streaming videos are not available until the share is mounted. You can have a button on your setup page which attempts to mount the share where the videos are. That would be my approach I think. On Mac OS X server using AFP browsing to an image file in the properties palette worked for me. The path was relative however, meaning it looked something like /./../../Volumes etc. As I said I tried the URL in the form afp:/// and that made LC lockup. I had to force quit at that point. I think an absolute path like /Volumes/ might work, but I didn't try it. For Windows you would either reference a mapped drive and then use a full path, or else you could use the backslash notation \\\\. That would mean that each app instance would store the path to the video files locally, not have it be some universal setting in a database somewhere. I hesitate to say this because it complicates things, but what some software developers do is they install an app on a server, and then when users launch the app from the server, the first time it installs the local app and other resources it needs to run. This allows them to have a config file on the server that can be read telling the client apps where to find all the resources. It also allows the auto install of updates, by checking to see if the local version is the current version. It's just another way of going about it. Bob On Apr 26, 2012, at 4:36 PM, Nicolas Cueto wrote: > Thanks for responding, Bob. > >> If I understand you correctly, you want to connect to reference an image >> file on a server. > > Yes. > >> I think this is a bad idea, but if your os has the share >> mounted, just browse to the file and choose it. > > I think I already tried this, ie, by browsing to the jpg file within > the LC IDE using the property inspector for the image object. No luck. > But I can use the IDE's "File > Image import" to browse and import the > jpg from the server. > > Anyway, your next point seemed to have more potential, i.e., > >> It's better if you have a project folder and you either put your images in >> that or inside an images folder inside the project folder (that's the method >> I prefer). > > And where would that project folder be located? on my computer? on the > server? Dumb question it seems, but... > > If you mean "on my computer", that's my current setup. The problem is, > the stack's gonna be a standalone running on the 30+ computers at the > computer-lab of another school. And, rather than accessing JPGs, it's > 5-40Mb MPG videos, which videos my standalone, as it currently is > setup, downloads from my webhost account to a local folder. So, I was > thinking that, rather than overload my onrev account, I could > re-configure my stack/standalone so that the videos could be retrieved > (or streamed?) from that computer-lab's server. That way, I could > package the videos into one large zipped file, and the > standalone/installer in a separate much smaller zipped file for > download. > > Off to classes. > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Apr 27 12:09:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Apr 2012 09:09:40 -0700 Subject: filename path over local network In-Reply-To: References: <1F73FE0F-F6CF-4796-B9C1-634578398F1E@twft.com> Message-ID: If the videos are relatively short that might be a good approach. If they are large, or the network is an older one, say with 10 Mbit switches, it could be a problem with time to load. I think it should be doable to stream the videos from the server. You just need a method to ensure the volume is mounted before proceeding. Bob On Apr 26, 2012, at 5:40 PM, Nicolas Cueto wrote: > I just realized I was asking the wrong question. Rather than streaming > the video, I simply have my stack copy the files from the server to > the local computer. Just tried it successfully using the LC IDE to > import a txt file onto a card as a field object. > > Now, to figure out how to get that path to the server within the > standalone... and whether or not the Japanese characters in the > pathname will muck up things somewhat. > > Cheers. > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Apr 27 12:11:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Apr 2012 09:11:16 -0700 Subject: Slow write to sqlite on usb sticks In-Reply-To: References: <2D62A77C-DBAA-4AD2-ADC4-1BC81A70B707@unimelb.edu.au> <9EC9E27B-90AF-478C-9D56-AB9BFA2C28B4@unimelb.edu.au> <86FB0F00-1B6E-43D3-BE7E-8A05C6B87FED@twft.com> <6FCD7BC3-872F-48DF-82BD-088F16A1FEBF@twft.com> Message-ID: <66A55BBE-34F6-498B-84B8-8E83F264C8F3@twft.com> Thanks Pete very informative. I will have a look at that link today. Bob On Apr 26, 2012, at 4:36 PM, Peter Haworth wrote: > Once again, this varies form db to db. Even sqlite3 can now allow readers > while the db is locked by setting the Write Ahead Locking pragma. > > For mySQL, there is a LOCK and an UNLOCK command which allow you to lock > individual tables for read and/or write access, as well as BEGIN and END, > which lock the whole database. There's a discussion on how LOCK/UNLOCK and > BEGIN/END work here > but > I'd be inclined to use LOCK and UNLOCK rather than BEGIN/END for more > granularity unless you are carrying out some admin task for which you need > exclusive access to the whole db. > > I don't know anything about locking on other SQL implementations (yet!). > > Pete > lcSQL Software > > > > On Thu, Apr 26, 2012 at 3:22 PM, Bob Sneidar wrote: > >> Oh thanks. I was aware that beginning a transaction made the database >> writable by only the client who began the transaction, but does it lock >> people out of reads as well? In the past I would manually lock a database >> while inserting records or before doing a transactional update, so that I >> could mark a particular master record as read only. I would then unlock the >> database and update as necessary to minimize the impact on other users. I >> did this only because that was what an old app called SBT written in Foxpro >> used to do, and that was all I knew at the time, but with transactions, >> maybe I don't need to worry about that anymore. >> >> Bob >> >> >> On Apr 26, 2012, at 3:14 PM, Peter Haworth wrote: >> >>> I think you're using mySQL Bob? If so, be aware that BEGIN and END are >>> also the means by which you lock the database. Doesn't matter too much >>> with sqlite because it's basically a single user db but with multi user >> dbs >>> like mySQL (actually just about any db other than sqlite), locking is a >>> whole other story! >>> >>> Pete >>> lcSQL Software >>> >>> >>> >>> On Thu, Apr 26, 2012 at 2:58 PM, Bob Sneidar wrote: >>> >>>> Yes, transactions... good! I need to incorporate them into my app when I >>>> am ready to go into production (as if I will ever get to that point!). >>>> >>>> Bob >>>> >>>> >>>> On Apr 26, 2012, at 2:38 PM, Terry Judd wrote: >>>> >>>>> Wow, thanks Pete - I'll definitely give this method a try. >>>>> >>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 27 13:39:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Apr 2012 20:39:35 +0300 Subject: [OT] Instructional Video Message-ID: <4F9AD9D7.9010509@gmail.com> All the stuff I read on doing this seemed a bit difficult, so I designed my own method: 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. http://en.wikipedia.org/wiki/IMac_G3 2. Have a VGA to RCA converter connected to the Video-mirroring connexion at the back of the iMac. http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 3. Have the VGA to RCA converter feeding into a Miglia video converter. http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg 4. Have a Firewire cable running from the Migla box to a Firewire card on another computer (in this case a Pentium 4 running Xubuntu 12.04). http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg 5. Capture Firewire video using Open Source software on PC. This has the advantage that you are not trying to do 2 things at the same time on a single computer. I have also done the same, not so satisfactorily by capturing Firewire Video with iMovie on a macMini PPC. From tolistim at me.com Fri Apr 27 13:57:44 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 27 Apr 2012 10:57:44 -0700 Subject: [OT] Instructional Video In-Reply-To: <4F9AD9D7.9010509@gmail.com> References: <4F9AD9D7.9010509@gmail.com> Message-ID: <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> On Apr 27, 2012, at 10:39 AM, Richmond wrote: > All the stuff I read on doing this seemed a bit difficult, so I designed > my own method: > > 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. > > http://en.wikipedia.org/wiki/IMac_G3 > > 2. Have a VGA to RCA converter connected to the Video-mirroring connexion at the back of the iMac. > > http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 > > 3. Have the VGA to RCA converter feeding into a Miglia video converter. > > http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg > > 4. Have a Firewire cable running from the Migla box to a Firewire card on another computer (in this case a Pentium 4 running Xubuntu 12.04). > > http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg > > 5. Capture Firewire video using Open Source software on PC. > > This has the advantage that you are not trying to do 2 things at the same time on a single computer. > > I have also done the same, not so satisfactorily by capturing Firewire Video with iMovie on a macMini PPC. I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, I edit in Final Cut Pro, but that's just to add splash. No cables, one machine, everything just works (and I can choose to only record a portion of the screen). http://www.ambrosiasw.com/utilities/snapzprox/ Tim From richmondmathewson at gmail.com Fri Apr 27 14:26:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Apr 2012 21:26:16 +0300 Subject: [OT] Instructional Video In-Reply-To: <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> Message-ID: <4F9AE4C8.6050706@gmail.com> On 04/27/2012 08:57 PM, Tim Jones wrote: > On Apr 27, 2012, at 10:39 AM, Richmond wrote: > >> All the stuff I read on doing this seemed a bit difficult, so I designed >> my own method: >> >> 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. >> >> http://en.wikipedia.org/wiki/IMac_G3 >> >> 2. Have a VGA to RCA converter connected to the Video-mirroring connexion at the back of the iMac. >> >> http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 >> >> 3. Have the VGA to RCA converter feeding into a Miglia video converter. >> >> http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg >> >> 4. Have a Firewire cable running from the Migla box to a Firewire card on another computer (in this case a Pentium 4 running Xubuntu 12.04). >> >> http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg >> >> 5. Capture Firewire video using Open Source software on PC. >> >> This has the advantage that you are not trying to do 2 things at the same time on a single computer. >> >> I have also done the same, not so satisfactorily by capturing Firewire Video with iMovie on a macMini PPC. > I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, I edit in Final Cut Pro, but that's just to add splash. No cables, one machine, everything just works I wonder how many computer people will actually have "everything just works" on their tombstones; every time I see that I get a really bad case of the creeps. > (and I can choose to only record a portion of the screen). You probably do; but I have NO money and piles of old hardware . . . :) I also prefer to leave the PC running Xubuntu to just get on with video capture while I get on with what I want to end up on the video over on the iMac. I then record my sound using a Logitech USB mike. > http://www.ambrosiasw.com/utilities/snapzprox/ $69 !!! http://recordmydesktop.sourceforge.net/about.php FREE > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Apr 27 14:37:26 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 27 Apr 2012 11:37:26 -0700 Subject: [OT] Instructional Video In-Reply-To: <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> Message-ID: Folks, I've been using Quicktime to make screen recordings which seems to work OK but sounds like I may be missing something? Pete lcSQL Software On Fri, Apr 27, 2012 at 10:57 AM, Tim Jones wrote: > On Apr 27, 2012, at 10:39 AM, Richmond wrote: > > > All the stuff I read on doing this seemed a bit difficult, so I designed > > my own method: > > > > 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. > > > > http://en.wikipedia.org/wiki/IMac_G3 > > > > 2. Have a VGA to RCA converter connected to the Video-mirroring > connexion at the back of the iMac. > > > > > http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 > > > > 3. Have the VGA to RCA converter feeding into a Miglia video converter. > > > > > http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg > > > > 4. Have a Firewire cable running from the Migla box to a Firewire card > on another computer (in this case a Pentium 4 running Xubuntu 12.04). > > > > http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg > > > > 5. Capture Firewire video using Open Source software on PC. > > > > This has the advantage that you are not trying to do 2 things at the > same time on a single computer. > > > > I have also done the same, not so satisfactorily by capturing Firewire > Video with iMovie on a macMini PPC. > > I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, > I edit in Final Cut Pro, but that's just to add splash. No cables, one > machine, everything just works (and I can choose to only record a portion > of the screen). > > http://www.ambrosiasw.com/utilities/snapzprox/ > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Apr 27 14:38:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Apr 2012 13:38:31 -0500 Subject: Casey is now in the App Store In-Reply-To: <1335534062331-4592705.post@n4.nabble.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> <4F9990EA.1060800@hyperactivesw.com> <1335534062331-4592705.post@n4.nabble.com> Message-ID: <4F9AE7A7.3040606@hyperactivesw.com> On 4/27/12 8:41 AM, Mark Smith wrote: > As soon as I posted I wanted to edit the message and quote "help" as well, > but then Mark Wieder's response was soooo funny I was happy to let it stand > :) I saved it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 27 14:39:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Apr 2012 13:39:42 -0500 Subject: Casey is now in the App Store In-Reply-To: <4F9A8E25.9020707@cogapp.com> References: <4F98800A.1020001@hyperactivesw.com> <1335405814401-4588673.post@n4.nabble.com> <6210581C-F447-4E1C-96A7-8BE8A8732B2E@twft.com> <4F9990EA.1060800@hyperactivesw.com> <4F9A8E25.9020707@cogapp.com> Message-ID: <4F9AE7EE.3040009@hyperactivesw.com> On 4/27/12 7:16 AM, Ben Rubinstein wrote: > I've got the app on iPad - well done! - but I was a bit disappointed > that Casey seems invisible. The cards move, but you can't see the claw > or beak. > > Are you sure that this isn't an imaginary parrot? He just moves really, really fast. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Apr 27 14:41:51 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Apr 2012 21:41:51 +0300 Subject: [OT] Instructional Video In-Reply-To: References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> Message-ID: <4F9AE86F.1020008@gmail.com> On 04/27/2012 09:37 PM, Peter Haworth wrote: > Folks, > I've been using Quicktime to make screen recordings which seems to work OK > but sounds like I may be missing something? No, I don't think you have; but maybe I have. > Pete > lcSQL Software The whole point (!) behind my 'odd' method is that it lets me use one machine for the screen capture and another for the stuff captured; this point seems to have been overlooked by both yourself and Tim Jones. > > > > On Fri, Apr 27, 2012 at 10:57 AM, Tim Jones wrote: > >> On Apr 27, 2012, at 10:39 AM, Richmond wrote: >> >>> All the stuff I read on doing this seemed a bit difficult, so I designed >>> my own method: >>> >>> 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. >>> >>> http://en.wikipedia.org/wiki/IMac_G3 >>> >>> 2. Have a VGA to RCA converter connected to the Video-mirroring >> connexion at the back of the iMac. >>> >> http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 >>> 3. Have the VGA to RCA converter feeding into a Miglia video converter. >>> >>> >> http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg >>> 4. Have a Firewire cable running from the Migla box to a Firewire card >> on another computer (in this case a Pentium 4 running Xubuntu 12.04). >>> http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg >>> >>> 5. Capture Firewire video using Open Source software on PC. >>> >>> This has the advantage that you are not trying to do 2 things at the >> same time on a single computer. >>> I have also done the same, not so satisfactorily by capturing Firewire >> Video with iMovie on a macMini PPC. >> >> I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, >> I edit in Final Cut Pro, but that's just to add splash. No cables, one >> machine, everything just works (and I can choose to only record a portion >> of the screen). >> >> http://www.ambrosiasw.com/utilities/snapzprox/ >> >> Tim >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Fri Apr 27 14:44:05 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 27 Apr 2012 11:44:05 -0700 Subject: [OT] Instructional Video In-Reply-To: <4F9AE4C8.6050706@gmail.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> <4F9AE4C8.6050706@gmail.com> Message-ID: On Apr 27, 2012, at 11:26 AM, Richmond wrote: > On 04/27/2012 08:57 PM, Tim Jones wrote: > >> I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, I edit in Final Cut Pro, but that's just to add splash. No cables, one machine, everything just works > > I wonder how many computer people will actually have "everything just works" on their tombstones; every time I see that I get > a really bad case of the creeps. Well, I've been doing it this way for around 5 years and it has "just worked", so I don't expect that it will appear on my tombstone... >> (and I can choose to only record a portion of the screen). > > You probably do; but I have NO money and piles of old hardware . . . :) And in exchange, for those who don't have your piles of old hardware, a $69 solution that runs on the hardware that we do have is a bargain. > I also prefer to leave the PC running Xubuntu to just get on with video capture while I get on with what I want to > end up on the video over on the iMac. But, with Snapz Pro X running, you're doing the same thing - one button click and SPX gets out of the way, capturing everything on your system - including the system audio and the mic track. > I then record my sound using a Logitech USB mike. I used to use one of these, but got the Yeti for my WebEx sessions. >> http://www.ambrosiasw.com/utilities/snapzprox/ > > $69 !!! But, if I have to buy all of the hardware that you mention (which I don't have), even used prices add up to far more than $69 :-). Tim From dixonja at hotmail.co.uk Fri Apr 27 14:47:17 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 27 Apr 2012 19:47:17 +0100 Subject: [OT] Instructional Video In-Reply-To: <4F9AE86F.1020008@gmail.com> References: <4F9AD9D7.9010509@gmail.com>, <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com>, , <4F9AE86F.1020008@gmail.com> Message-ID: Richmond... Don't go shooting the messengers as I guess they were not aware of your stated 'micawber' like situation or your predicament of being surrounded by mountains of unfashionable hardware... they are just trying to help...:-) Dixie > Date: Fri, 27 Apr 2012 21:41:51 +0300 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: [OT] Instructional Video > > On 04/27/2012 09:37 PM, Peter Haworth wrote: > > Folks, > > I've been using Quicktime to make screen recordings which seems to work OK > > but sounds like I may be missing something? > > No, I don't think you have; but maybe I have. > > > Pete > > lcSQL Software > > The whole point (!) behind my 'odd' method is that it lets me use one > machine for the screen capture and another for the stuff captured; > this point seems to have been overlooked by both yourself and Tim Jones. > > > > > > > > > On Fri, Apr 27, 2012 at 10:57 AM, Tim Jones wrote: > > > >> On Apr 27, 2012, at 10:39 AM, Richmond wrote: > >> > >>> All the stuff I read on doing this seemed a bit difficult, so I designed > >>> my own method: > >>> > >>> 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. > >>> > >>> http://en.wikipedia.org/wiki/IMac_G3 > >>> > >>> 2. Have a VGA to RCA converter connected to the Video-mirroring > >> connexion at the back of the iMac. > >>> > >> http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 > >>> 3. Have the VGA to RCA converter feeding into a Miglia video converter. > >>> > >>> > >> http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg > >>> 4. Have a Firewire cable running from the Migla box to a Firewire card > >> on another computer (in this case a Pentium 4 running Xubuntu 12.04). > >>> http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg > >>> > >>> 5. Capture Firewire video using Open Source software on PC. > >>> > >>> This has the advantage that you are not trying to do 2 things at the > >> same time on a single computer. > >>> I have also done the same, not so satisfactorily by capturing Firewire > >> Video with iMovie on a macMini PPC. > >> > >> I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, > >> I edit in Final Cut Pro, but that's just to add splash. No cables, one > >> machine, everything just works (and I can choose to only record a portion > >> of the screen). > >> > >> http://www.ambrosiasw.com/utilities/snapzprox/ > >> > >> Tim > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tolistim at me.com Fri Apr 27 14:47:45 2012 From: tolistim at me.com (Tim Jones) Date: Fri, 27 Apr 2012 11:47:45 -0700 Subject: [OT] Instructional Video In-Reply-To: <4F9AE86F.1020008@gmail.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> <4F9AE86F.1020008@gmail.com> Message-ID: On Apr 27, 2012, at 11:41 AM, Richmond wrote: > On 04/27/2012 09:37 PM, Peter Haworth wrote: >> Folks, >> I've been using Quicktime to make screen recordings which seems to work OK >> but sounds like I may be missing something? > > No, I don't think you have; but maybe I have. > >> Pete >> lcSQL Software > > The whole point (!) behind my 'odd' method is that it lets me use one machine for the screen capture and another for the stuff captured; > this point seems to have been overlooked by both yourself and Tim Jones. I didn't miss that. I simply believe that since SPX runs seamlessly on ONE system, why go to all of the trouble of multiple machines and cables? I know it's fun to put old things into service as a project, but why bother in a case like this? Tim From pete at lcsql.com Fri Apr 27 15:16:08 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 27 Apr 2012 12:16:08 -0700 Subject: [OT] Instructional Video In-Reply-To: <4F9AE86F.1020008@gmail.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> <4F9AE86F.1020008@gmail.com> Message-ID: Uh... no I didn't overlook it, I'm simply asking what the pros are about doing it that way versus using Quicktime on one computer, that's all. Pete lcSQL Software On Fri, Apr 27, 2012 at 11:41 AM, Richmond wrote: > The whole point (!) behind my 'odd' method is that it lets me use one > machine for the screen capture and another for the stuff captured; > this point seems to have been overlooked by both yourself and Tim Jones. > From jacque at hyperactivesw.com Fri Apr 27 15:46:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Apr 2012 14:46:28 -0500 Subject: [OT] Instructional Video In-Reply-To: References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> <4F9AE86F.1020008@gmail.com> Message-ID: <4F9AF794.1060407@hyperactivesw.com> On 4/27/12 2:16 PM, Peter Haworth wrote: > Uh... no I didn't overlook it, I'm simply asking what the pros are about > doing it that way versus using Quicktime on one computer, that's all. I use Screenium: I didn't know QT could do screen capture. I'll have to look into that, though Screenium is so versatile that I'll probably stick with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Apr 27 16:06:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Apr 2012 13:06:16 -0700 Subject: [OT] Instructional Video In-Reply-To: <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> Message-ID: <13FDF2B7-E1B0-4FDD-92CD-C5E322AA5407@twft.com> I also use Snapz Pro. I am very satisfied with it. Bob On Apr 27, 2012, at 10:57 AM, Tim Jones wrote: > I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, I edit in Final Cut Pro, but that's just to add splash. No cables, one machine, everything just works (and I can choose to only record a portion of the screen). > > http://www.ambrosiasw.com/utilities/snapzprox/ > > Tim From richmondmathewson at gmail.com Fri Apr 27 16:15:08 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Apr 2012 23:15:08 +0300 Subject: [OT] Instructional Video In-Reply-To: References: <4F9AD9D7.9010509@gmail.com>, <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com>, , <4F9AE86F.1020008@gmail.com> Message-ID: <4F9AFE4C.8060107@gmail.com> On 04/27/2012 09:47 PM, John Dixon wrote: > Richmond... > > Don't go shooting the messengers as I guess they were not aware of your stated 'micawber' like situation or your predicament of being surrounded by mountains of unfashionable hardware... they are just trying to help...:-) I am not shooting anyone; only presenting an alternative way of going about something. > > Dixie > >> Date: Fri, 27 Apr 2012 21:41:51 +0300 >> From: richmondmathewson at gmail.com >> To: use-livecode at lists.runrev.com >> Subject: Re: [OT] Instructional Video >> >> On 04/27/2012 09:37 PM, Peter Haworth wrote: >>> Folks, >>> I've been using Quicktime to make screen recordings which seems to work OK >>> but sounds like I may be missing something? >> No, I don't think you have; but maybe I have. >> >>> Pete >>> lcSQL Software >> The whole point (!) behind my 'odd' method is that it lets me use one >> machine for the screen capture and another for the stuff captured; >> this point seems to have been overlooked by both yourself and Tim Jones. >> >>> >>> >>> On Fri, Apr 27, 2012 at 10:57 AM, Tim Jones wrote: >>> >>>> On Apr 27, 2012, at 10:39 AM, Richmond wrote: >>>> >>>>> All the stuff I read on doing this seemed a bit difficult, so I designed >>>>> my own method: >>>>> >>>>> 1. Use Livecode based standalone on a G3 iMac running Mac OS 10.4.11. >>>>> >>>>> http://en.wikipedia.org/wiki/IMac_G3 >>>>> >>>>> 2. Have a VGA to RCA converter connected to the Video-mirroring >>>> connexion at the back of the iMac. >>>> http://www.amazon.co.uk/1-8M-VGA-LEAD-CABLE-LAPTOP/dp/B000P3NZ68/ref=sr_1_1?ie=UTF8&qid=1335547503&sr=8-1 >>>>> 3. Have the VGA to RCA converter feeding into a Miglia video converter. >>>>> >>>>> >>>> http://www.dvforums.com/pressflow/sites/dvforums.com/files/resize/remote/069622209bf5a4b37402f51b59e3275a-628x249.jpg >>>>> 4. Have a Firewire cable running from the Migla box to a Firewire card >>>> on another computer (in this case a Pentium 4 running Xubuntu 12.04). >>>>> http://www.pcshopper.com.au/files/images/thumbnails/t_43370.jpg >>>>> >>>>> 5. Capture Firewire video using Open Source software on PC. >>>>> >>>>> This has the advantage that you are not trying to do 2 things at the >>>> same time on a single computer. >>>>> I have also done the same, not so satisfactorily by capturing Firewire >>>> Video with iMovie on a macMini PPC. >>>> >>>> I use Snapz Pro X on my existing system with a Blue Yeti mic. Of course, >>>> I edit in Final Cut Pro, but that's just to add splash. No cables, one >>>> machine, everything just works (and I can choose to only record a portion >>>> of the screen). >>>> >>>> http://www.ambrosiasw.com/utilities/snapzprox/ >>>> >>>> Tim >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 28 02:51:41 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Apr 2012 09:51:41 +0300 Subject: Devawriter Pro; first complete release Message-ID: <4F9B937D.70108@gmail.com> I am proud to announce this: http://andregarzia.on-rev.com/richmond/dwriterpro.html Richmond Mathewson. From palcibiades-first at yahoo.co.uk Sat Apr 28 03:23:16 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 28 Apr 2012 00:23:16 -0700 (PDT) Subject: Devawriter Pro; first complete release In-Reply-To: <4F9B937D.70108@gmail.com> References: <4F9B937D.70108@gmail.com> Message-ID: <1335597795972-4594341.post@n4.nabble.com> Richmond, congratulations. One can tell that this has been a long haul. Its not something I will ever use, but Sanskrit scholars will probably be very grateful to you. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Devawriter-Pro-first-complete-release-tp4594311p4594341.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Apr 28 03:56:09 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Apr 2012 10:56:09 +0300 Subject: Devawriter Pro; first complete release In-Reply-To: <1335597795972-4594341.post@n4.nabble.com> References: <4F9B937D.70108@gmail.com> <1335597795972-4594341.post@n4.nabble.com> Message-ID: <4F9BA299.4070000@gmail.com> On 28/04/12 10:23, Peter Alcibiades wrote: > Richmond, congratulations. One can tell that this has been a long haul. Its > not something I will ever use, but Sanskrit scholars will probably be very > grateful to you. Well, between you, me and the rest of the Livecode Use-List (Ha, ha, ha), my attention is focussed right now on making a few bob out of all that work; whether I will or not only time will tell. As you will have seen from a previous posting; William Heath Robinson's ghost and I are now going to hook up the coat-hangers, pots and pans to make a few instructional videos to go with the thing. Oh . . . While I'm here, there was one chap claiming he was able to record screen activity on a Mac JUST using Quicktime. Please, if you are reading this; do tell! > > Peter > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Devawriter-Pro-first-complete-release-tp4594311p4594341.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Apr 28 04:35:00 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Apr 2012 11:35:00 +0300 Subject: OT: talking to yourself on a Mac. Message-ID: <4F9BABB4.7020509@gmail.com> Sorry; no square brackets on the keyboards at school: KeyNeeds keyboard; educationally wonderful for typing on the Use-List; a bit dicky. http://andregarzia.on-rev.com/richmond/school.html -------------------------------------------------------------------------------- This is really wonderful: http://cycling74.com/soundflower-landing-page/ From richmondmathewson at gmail.com Sat Apr 28 07:09:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Apr 2012 14:09:32 +0300 Subject: [OT] Instructional Video #2 In-Reply-To: <4F9AD9D7.9010509@gmail.com> References: <4F9AD9D7.9010509@gmail.com> Message-ID: <4F9BCFEC.1030507@gmail.com> Hey, it's cheap-jack-corner: Freeseer for Linux, Windows and Macintosh: http://freeseer.github.com/ Recordmydesktop for Linux : http://recordmydesktop.sourceforge.net/about.php Note about Quicktime: Quicktime X will 'do' screencasts; but, only iff you are runnimg Mac OS 10.6 or higher. From peterwawood at gmail.com Sat Apr 28 07:32:25 2012 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 28 Apr 2012 19:32:25 +0800 Subject: Devawriter Pro; first complete release In-Reply-To: <4F9B937D.70108@gmail.com> References: <4F9B937D.70108@gmail.com> Message-ID: <5E34B700-6512-4455-929D-0CBBE70C6D2F@gmail.com> Congratulations Richmond. You have chosen a quite unique niche market that may be much larger than seems at first impressions. I do hope that you are rich rewarded. Regards Peter On 28 Apr 2012, at 14:51, Richmond wrote: > I am proud to announce this: > > http://andregarzia.on-rev.com/richmond/dwriterpro.html > > Richmond Mathewson. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From downs.david.j at gmail.com Sat Apr 28 08:38:07 2012 From: downs.david.j at gmail.com (J. Downs) Date: Sat, 28 Apr 2012 07:38:07 -0500 Subject: [OT] Instructional Video In-Reply-To: <4F9AF794.1060407@hyperactivesw.com> References: <4F9AD9D7.9010509@gmail.com> <0DFE99A9-F4A1-453E-BD11-BBE2A723C32F@me.com> <4F9AE86F.1020008@gmail.com> <4F9AF794.1060407@hyperactivesw.com> Message-ID: <2E27260F-AF28-4F6B-8EA4-7C94D4B3B7D2@gmail.com> > I use Screenium: > > > I didn't know QT could do screen capture. I'll have to look into that, though Screenium is so versatile that I'll probably stick with it. Nice one, Jacque. I like the integrated editing. I plan to take a look. I have been using Screenflick 2... ?and a Blue Snowball... ?with high quality results. Last I heard, Quicktime couldn't do screen captures under certain circumstances (e.g., when DVD Player is running). Many of the other recording applications don't have such limitations and a friendlier UI. J. From pete at lcsql.com Sat Apr 28 12:50:44 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 28 Apr 2012 09:50:44 -0700 Subject: Devawriter Pro; first complete release In-Reply-To: <1335597795972-4594341.post@n4.nabble.com> References: <4F9B937D.70108@gmail.com> <1335597795972-4594341.post@n4.nabble.com> Message-ID: HI Richmond, That was me. There's not much to tell really: run Quicktime and select "New Screen Recording" from the File menu (you can also do a movie recording or an audio recording). There are choices for which mic to us and medium or high video quality. Then click the record button and your off and running. A "stop Recording" button will appear in your menu bar, or you can click command-control-esc to stop. I'm on OS X 10.6.8 and the Quicktime version is 10.0. I don't think this capability has always been there in Quicktime so older versions may not have it. Pete lcSQL Software PS Congratulations on getting your product out! On Sat, Apr 28, 2012 at 12:23 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Richmond, congratulations. One can tell that this has been a long haul. > Its > not something I will ever use, but Sanskrit scholars will probably be very > grateful to you. > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Devawriter-Pro-first-complete-release-tp4594311p4594341.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Apr 28 12:50:44 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 28 Apr 2012 09:50:44 -0700 Subject: Devawriter Pro; first complete release In-Reply-To: <1335597795972-4594341.post@n4.nabble.com> References: <4F9B937D.70108@gmail.com> <1335597795972-4594341.post@n4.nabble.com> Message-ID: HI Richmond, That was me. There's not much to tell really: run Quicktime and select "New Screen Recording" from the File menu (you can also do a movie recording or an audio recording). There are choices for which mic to us and medium or high video quality. Then click the record button and your off and running. A "stop Recording" button will appear in your menu bar, or you can click command-control-esc to stop. I'm on OS X 10.6.8 and the Quicktime version is 10.0. I don't think this capability has always been there in Quicktime so older versions may not have it. Pete lcSQL Software PS Congratulations on getting your product out! On Sat, Apr 28, 2012 at 12:23 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > Richmond, congratulations. One can tell that this has been a long haul. > Its > not something I will ever use, but Sanskrit scholars will probably be very > grateful to you. > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Devawriter-Pro-first-complete-release-tp4594311p4594341.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Apr 28 13:12:03 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Apr 2012 12:12:03 -0500 Subject: Devawriter Pro; first complete release In-Reply-To: <4F9B937D.70108@gmail.com> References: <4F9B937D.70108@gmail.com> Message-ID: <4F9C24E3.1090104@hyperactivesw.com> On 4/28/12 1:51 AM, Richmond wrote: > I am proud to announce this: > > http://andregarzia.on-rev.com/richmond/dwriterpro.html Congratulations! I know this has been a long haul for you, and you must be very satisfied now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Apr 28 15:12:12 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 28 Apr 2012 12:12:12 -0700 Subject: Checking for an internet connectio Message-ID: Just put together a procedure for checking for software updates from my SQLiteAdmin program. All works great but I'm wondering the best way to check if there is an internet connection. I tried this out by disconnecting my computer from my wireless router and I got an"invalid host address" message from libURLErrorData as soon as I called libURLDownloadToFile. I can easily check for that of course but it sounds like that message could come back in other circumstances so wondering if there's some other way to check for an internet connection before attempting a download. Pete lcSQL Software From revdev at pdslabs.net Sat Apr 28 15:30:48 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 28 Apr 2012 12:30:48 -0700 Subject: Checking for an internet connectio In-Reply-To: References: Message-ID: <4F9C4568.6030104@pdslabs.net> Hi Peter, I use "ping" to see if a given server is available. There are fewer bad things that can happen using this approach than trying to get a URL. The following code came from a recent project (slightly modified to protect the innocent) - watch line wraps: on mouseUp answer "Connection status =" && app_connectionStatus("google.com") end mouseUp function app_connectionStatus pTargetDomain -- attempt to ping the ctrainweb.com server switch (the platform) case "MacOS" put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput put the result into tResult break case "Win32" -- PD 20100411 set the hideConsoleWindows to true put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput put the result into tResult break default -- all other OSes answer "This app cannot run on the" && the platform && "platform." put param(0) & colon && the platform && "platform not supported" into tResult break end switch -- check for connection failure if tResult <> empty then return false -- failed else -- connected, but how well? set the itemDel to comma if the platform = "Win32" then get tShellOutput filter it with "*(0% loss)*" else -- Mac repeat for each item tFilter in "* 0% packet loss*,* 0.0% packet loss*" -- for different OS versons get tShellOutput filter it with tFilter if it <> empty then exit repeat end repeat end if return (it <> empty) end if end app_connectionStatus HTH Phil Davis On 4/28/12 12:12 PM, Peter Haworth wrote: > Just put together a procedure for checking for software updates from my > SQLiteAdmin program. All works great but I'm wondering the best way to > check if there is an internet connection. I tried this out by > disconnecting my computer from my wireless router and I got an"invalid host > address" message from libURLErrorData as soon as I called > libURLDownloadToFile. > > I can easily check for that of course but it sounds like that message could > come back in other circumstances so wondering if there's some other way to > check for an internet connection before attempting a download. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From pete at lcsql.com Sat Apr 28 16:24:26 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 28 Apr 2012 13:24:26 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9C4568.6030104@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> Message-ID: Great, thanks a lot Phil, I'll give that a whirl. Pete lcSQL Software On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: > Hi Peter, > > I use "ping" to see if a given server is available. There are fewer bad > things that can happen using this approach than trying to get a URL. The > following code came from a recent project (slightly modified to protect the > innocent) - watch line wraps: > > > on mouseUp > answer "Connection status =" && app_connectionStatus("google.**com > ") > end mouseUp > > > > function app_connectionStatus pTargetDomain > > -- attempt to ping the ctrainweb.com server > switch (the platform) > case "MacOS" > put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput > put the result into tResult > break > case "Win32" -- PD 20100411 > set the hideConsoleWindows to true > put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput > put the result into tResult > break > default -- all other OSes > answer "This app cannot run on the" && the platform && > "platform." > put param(0) & colon && the platform && "platform not > supported" into tResult > break > end switch > > -- check for connection failure > if tResult <> empty > then return false -- failed > else -- connected, but how well? > set the itemDel to comma > if the platform = "Win32" > then > get tShellOutput > filter it with "*(0% loss)*" > else -- Mac > repeat for each item tFilter in "* 0% packet loss*,* 0.0% > packet loss*" -- for different OS versons > get tShellOutput > filter it with tFilter > if it <> empty then exit repeat > end repeat > end if > return (it <> empty) > end if > end app_connectionStatus > > > HTH > Phil Davis > > > > > On 4/28/12 12:12 PM, Peter Haworth wrote: > >> Just put together a procedure for checking for software updates from my >> SQLiteAdmin program. All works great but I'm wondering the best way to >> check if there is an internet connection. I tried this out by >> disconnecting my computer from my wireless router and I got an"invalid >> host >> address" message from libURLErrorData as soon as I called >> libURLDownloadToFile. >> >> I can easily check for that of course but it sounds like that message >> could >> come back in other circumstances so wondering if there's some other way to >> check for an internet connection before attempting a download. >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > -- > Phil Davis > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Apr 28 16:33:32 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 28 Apr 2012 13:33:32 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9C4568.6030104@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> Message-ID: <14962984.20120428133332@ahsoftware.net> Phil- Saturday, April 28, 2012, 12:30:48 PM, you wrote: > default -- all other OSes > answer "This app cannot run on the" && the platform && > "platform." Wot, no linux? :-( -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Sat Apr 28 18:40:14 2012 From: dsc at swcp.com (Dar Scott) Date: Sat, 28 Apr 2012 16:40:14 -0600 Subject: Checking for an internet connectio In-Reply-To: References: <4F9C4568.6030104@pdslabs.net> Message-ID: <061C1B08-E8C6-4158-8E80-20850713EB18@swcp.com> Hi, Peter, I like Phil's solution, but it does answer a slightly different question from you said you want to ask. I think it is a better question. It answers not only if there is an Internet connection but also whether your update server is online and reachable. That might be more of the question you wanted your script to ask. It does not say whether there are ftp/http services available on your download server. You might want to check with a quick ping by hand to make sure icmp services are available on you server (which they are likely to be). Dar On Apr 28, 2012, at 2:24 PM, Peter Haworth wrote: > Great, thanks a lot Phil, I'll give that a whirl. > Pete > lcSQL Software > > > > On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: > >> Hi Peter, >> >> I use "ping" to see if a given server is available. There are fewer bad >> things that can happen using this approach than trying to get a URL. The >> following code came from a recent project (slightly modified to protect the >> innocent) - watch line wraps: >> >> >> on mouseUp >> answer "Connection status =" && app_connectionStatus("google.**com >> ") >> end mouseUp >> >> >> >> function app_connectionStatus pTargetDomain >> >> -- attempt to ping the ctrainweb.com server >> switch (the platform) >> case "MacOS" >> put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput >> put the result into tResult >> break >> case "Win32" -- PD 20100411 >> set the hideConsoleWindows to true >> put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput >> put the result into tResult >> break >> default -- all other OSes >> answer "This app cannot run on the" && the platform && >> "platform." >> put param(0) & colon && the platform && "platform not >> supported" into tResult >> break >> end switch >> >> -- check for connection failure >> if tResult <> empty >> then return false -- failed >> else -- connected, but how well? >> set the itemDel to comma >> if the platform = "Win32" >> then >> get tShellOutput >> filter it with "*(0% loss)*" >> else -- Mac >> repeat for each item tFilter in "* 0% packet loss*,* 0.0% >> packet loss*" -- for different OS versons >> get tShellOutput >> filter it with tFilter >> if it <> empty then exit repeat >> end repeat >> end if >> return (it <> empty) >> end if >> end app_connectionStatus >> >> >> HTH >> Phil Davis >> >> >> >> >> On 4/28/12 12:12 PM, Peter Haworth wrote: >> >>> Just put together a procedure for checking for software updates from my >>> SQLiteAdmin program. All works great but I'm wondering the best way to >>> check if there is an internet connection. I tried this out by >>> disconnecting my computer from my wireless router and I got an"invalid >>> host >>> address" message from libURLErrorData as soon as I called >>> libURLDownloadToFile. >>> >>> I can easily check for that of course but it sounds like that message >>> could >>> come back in other circumstances so wondering if there's some other way to >>> check for an internet connection before attempting a download. >>> >>> Pete >>> lcSQL Software >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> >> -- >> Phil Davis >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bryan at deepfoo.com Sat Apr 28 18:48:11 2012 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 28 Apr 2012 18:48:11 -0400 Subject: problem for the ancients - headless cgi mode and images Message-ID: <4F9C73AB.9080008@deepfoo.com> Folks, This is aimed at people who know the vagaries of the headless cgi mode of old. I am trying to set an image in a headless stack and then get its imagedata. In other words, setting it to "http://blurf.com/myremote.jpg" It does not appear to be working. Is this because the stack had no access to http? Is there a way around this at all? The server is ancient bsd. I do have a modern rev server account, but I have no idea how to use the existing stack in that context. The user needs to be able to pass a web URL (not a local one) to the stack, which will then return a text string as a result. From revdev at pdslabs.net Sat Apr 28 20:59:59 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 28 Apr 2012 17:59:59 -0700 Subject: Checking for an internet connectio In-Reply-To: <14962984.20120428133332@ahsoftware.net> References: <4F9C4568.6030104@pdslabs.net> <14962984.20120428133332@ahsoftware.net> Message-ID: <4F9C928F.5080102@pdslabs.net> Sorry to disappoint, Mark. I'm certainly not anti-Linux; heck, Linus Torvalds and I have the same barber! But I don't have a Linux machine and don't really know enough about the different flavors to know what 'ping' format(s) to use. BUT - feel free to offer a 'case' statement that handles Linux! Phil On 4/28/12 1:33 PM, Mark Wieder wrote: > Phil- > > Saturday, April 28, 2012, 12:30:48 PM, you wrote: > >> default -- all other OSes >> answer "This app cannot run on the"&& the platform&& >> "platform." > Wot, no linux? :-( > -- Phil Davis From jacque at hyperactivesw.com Sat Apr 28 23:34:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Apr 2012 22:34:49 -0500 Subject: [OT] Server doesn't send response code Message-ID: <4F9CB6D9.4080800@hyperactivesw.com> I'm not sure who to ask about this. If someone knows where the problem is, I'll ask in an appropriate forum somewhere. I've implemented PayPal's Instant Payment Notification system using an old-style CGI on my (non-rev) server. It works fine. Paypal sends a notification, my cgi responds, Paypal sends "validated", and I process the order. The data always comes in and I always get the validation response. That should be the end of it. But PayPal's sandbox test tool consistently shows an error and replies "IPN delivery failed. Unable to connect to the specified URL. Please verify the URL and try again." Obviously it did find my server and URL, because my script received the data and has responded back to Paypal, which in turn has responded with a validation. So I set up a test button on a fake web page and used their sandbox accounts to "buy" from myself. Paypal sends its message, my cgi gets the data, sends it back, it's validated, and then Paypal starts resending the notification every 2 minutes forever until I turn off the system. The IPN docs say Paypal will resend notifications until it gets a response. When I look at the IPN history, there is no server response code for any of the messages (it should be 200.) The response code field is just empty. So I think what's happening is my server isn't acknowledging receipt of the messages, which causes Paypal to think it can't reach me, and it keeps resending. Is the problem a header I should be using? A server problem? Some kind of block somewhere? ISP setup? Anyone know where I should start looking? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 28 23:38:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Apr 2012 22:38:31 -0500 Subject: problem for the ancients - headless cgi mode and images In-Reply-To: <4F9C73AB.9080008@deepfoo.com> References: <4F9C73AB.9080008@deepfoo.com> Message-ID: <4F9CB7B7.4080804@hyperactivesw.com> On 4/28/12 5:48 PM, Bryan McCormick wrote: > Folks, > > This is aimed at people who know the vagaries of the headless cgi mode > of old. > > I am trying to set an image in a headless stack and then get its > imagedata. In other words, setting it to "http://blurf.com/myremote.jpg" > > It does not appear to be working. Is this because the stack had no > access to http? I think it's because CGIs do not load the graphical interface, so they don't load or draw any images. I'm not sure there's a way around that, unless you can read in the raw binary file and work with it that way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sun Apr 29 07:20:56 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 29 Apr 2012 13:20:56 +0200 Subject: [OT] Server doesn't send response code In-Reply-To: <4F9CB6D9.4080800@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> Message-ID: Hi Jacque, Where exactly is the CGI sending the return message? The URL should start with ssl://www.sandbox.paypal.com/... I do this with PHP and that has worked fine for years. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 29 apr 2012, at 05:34, J. Landman Gay wrote: > I'm not sure who to ask about this. If someone knows where the problem is, I'll ask in an appropriate forum somewhere. > > I've implemented PayPal's Instant Payment Notification system using an old-style CGI on my (non-rev) server. It works fine. Paypal sends a notification, my cgi responds, Paypal sends "validated", and I process the order. The data always comes in and I always get the validation response. That should be the end of it. > > But PayPal's sandbox test tool consistently shows an error and replies "IPN delivery failed. Unable to connect to the specified URL. Please verify the URL and try again." Obviously it did find my server and URL, because my script received the data and has responded back to Paypal, which in turn has responded with a validation. > > So I set up a test button on a fake web page and used their sandbox accounts to "buy" from myself. Paypal sends its message, my cgi gets the data, sends it back, it's validated, and then Paypal starts resending the notification every 2 minutes forever until I turn off the system. The IPN docs say Paypal will resend notifications until it gets a response. When I look at the IPN history, there is no server response code for any of the messages (it should be 200.) The response code field is just empty. > > So I think what's happening is my server isn't acknowledging receipt of the messages, which causes Paypal to think it can't reach me, and it keeps resending. > > Is the problem a header I should be using? A server problem? Some kind of block somewhere? ISP setup? Anyone know where I should start looking? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Apr 29 13:18:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 10:18:58 -0700 Subject: Checking for an internet connectio In-Reply-To: <061C1B08-E8C6-4158-8E80-20850713EB18@swcp.com> References: <4F9C4568.6030104@pdslabs.net> <061C1B08-E8C6-4158-8E80-20850713EB18@swcp.com> Message-ID: Thanks Dar. You're right, Phil's solution answers a better question than the one I asked since it kills two birds with one stone - is there an internet connection and is the server responding. Pete lcSQL Software On Sat, Apr 28, 2012 at 3:40 PM, Dar Scott wrote: > Hi, Peter, > > I like Phil's solution, but it does answer a slightly different question > from you said you want to ask. I think it is a better question. It > answers not only if there is an Internet connection but also whether your > update server is online and reachable. That might be more of the question > you wanted your script to ask. It does not say whether there are ftp/http > services available on your download server. > > You might want to check with a quick ping by hand to make sure icmp > services are available on you server (which they are likely to be). > > Dar > > > On Apr 28, 2012, at 2:24 PM, Peter Haworth wrote: > > > Great, thanks a lot Phil, I'll give that a whirl. > > Pete > > lcSQL Software > > > > > > > > On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: > > > >> Hi Peter, > >> > >> I use "ping" to see if a given server is available. There are fewer bad > >> things that can happen using this approach than trying to get a URL. The > >> following code came from a recent project (slightly modified to protect > the > >> innocent) - watch line wraps: > >> > >> > >> on mouseUp > >> answer "Connection status =" && app_connectionStatus("google.**com< > http://google.com> > >> ") > >> end mouseUp > >> > >> > >> > >> function app_connectionStatus pTargetDomain > >> > >> -- attempt to ping the ctrainweb.com server > >> switch (the platform) > >> case "MacOS" > >> put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput > >> put the result into tResult > >> break > >> case "Win32" -- PD 20100411 > >> set the hideConsoleWindows to true > >> put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput > >> put the result into tResult > >> break > >> default -- all other OSes > >> answer "This app cannot run on the" && the platform && > >> "platform." > >> put param(0) & colon && the platform && "platform not > >> supported" into tResult > >> break > >> end switch > >> > >> -- check for connection failure > >> if tResult <> empty > >> then return false -- failed > >> else -- connected, but how well? > >> set the itemDel to comma > >> if the platform = "Win32" > >> then > >> get tShellOutput > >> filter it with "*(0% loss)*" > >> else -- Mac > >> repeat for each item tFilter in "* 0% packet loss*,* 0.0% > >> packet loss*" -- for different OS versons > >> get tShellOutput > >> filter it with tFilter > >> if it <> empty then exit repeat > >> end repeat > >> end if > >> return (it <> empty) > >> end if > >> end app_connectionStatus > >> > >> > >> HTH > >> Phil Davis > >> > >> > >> > >> > >> On 4/28/12 12:12 PM, Peter Haworth wrote: > >> > >>> Just put together a procedure for checking for software updates from my > >>> SQLiteAdmin program. All works great but I'm wondering the best way to > >>> check if there is an internet connection. I tried this out by > >>> disconnecting my computer from my wireless router and I got an"invalid > >>> host > >>> address" message from libURLErrorData as soon as I called > >>> libURLDownloadToFile. > >>> > >>> I can easily check for that of course but it sounds like that message > >>> could > >>> come back in other circumstances so wondering if there's some other > way to > >>> check for an internet connection before attempting a download. > >>> > >>> Pete > >>> lcSQL Software > >>> ______________________________**_________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > >>> > >>> > >> -- > >> Phil Davis > >> > >> > >> ______________________________**_________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Apr 29 13:31:56 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 10:31:56 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9C928F.5080102@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> <14962984.20120428133332@ahsoftware.net> <4F9C928F.5080102@pdslabs.net> Message-ID: Yes, Linux would be a useful addition. I googled linux ping and found the man page which says the format would be: "ping -c 1 -w 5" && pTargetDomain" ...yet a third variation! Pete lcSQL Software On Sat, Apr 28, 2012 at 5:59 PM, Phil Davis wrote: > Sorry to disappoint, Mark. I'm certainly not anti-Linux; heck, Linus > Torvalds and I have the same barber! But I don't have a Linux machine and > don't really know enough about the different flavors to know what 'ping' > format(s) to use. BUT - feel free to offer a 'case' statement that handles > Linux! > > Phil > > > > On 4/28/12 1:33 PM, Mark Wieder wrote: > >> Phil- >> >> Saturday, April 28, 2012, 12:30:48 PM, you wrote: >> >> default -- all other OSes >>> answer "This app cannot run on the"&& the platform&& >>> "platform." >>> >> Wot, no linux? :-( >> >> > -- > Phil Davis > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Sun Apr 29 13:49:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 10:49:19 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9C4568.6030104@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> Message-ID: Hi Phil, Double checking on the code below in your script. The man page for ping in OS X and Linux say that ping has an exit code of zero if no errors are encountered. Should the test on tResult be for zero or have you found that empty works too? Thanks, Pete lcSQL Software On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: > -- check for connection failure > if tResult <> empty > then return false -- failed > else -- connected, but how well? > From pete at lcsql.com Sun Apr 29 13:57:47 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 10:57:47 -0700 Subject: Installing new software Message-ID: Got everything working nicely with my handler to check for a more recent version of my program. The final step after downloading is to copy the new version of the program to wherever it needs to go on the user's computer but I can't do that because the program is running (this is on OS X but I assume it would be the same on other OS's). I'm guessing the way to do this is instruct the user to quit the program ,have a handler that fires when the program closes that knows a new version is ready to install and launches an Applescript (on OS X) to do the copy and start the program again. Am I on the right track? Pete lcSQL Software From tolistim at me.com Sun Apr 29 14:02:03 2012 From: tolistim at me.com (Tim Jones) Date: Sun, 29 Apr 2012 11:02:03 -0700 Subject: Checking for an internet connectio In-Reply-To: References: <4F9C4568.6030104@pdslabs.net> Message-ID: Pete, It's a good idea to always check the error code returned from a shell command. The actual text may various from one OS update to another, so depending of the text returned can be a quick way to introduce an odd "bug" that works on one platform, but not on another. The man page will describe the returned values. If they are the text values (like ENOSPC, or EINVAL), you can look those up in the errno.h file (usually in /usr/include/sys/errno.h). Since ping returns data on both a failure and a success, checking for an empty tResult would always result in a "failure" as written. Tim On Apr 29, 2012, at 10:49 AM, Peter Haworth wrote: > Hi Phil, > Double checking on the code below in your script. The man page for ping in > OS X and Linux say that ping has an exit code of zero if no errors are > encountered. Should the test on tResult be for zero or have you found that > empty works too? > > Thanks, > Pete > lcSQL Software > > On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: > >> -- check for connection failure >> if tResult <> empty >> then return false -- failed >> else -- connected, but how well? >> From tolistim at me.com Sun Apr 29 14:04:19 2012 From: tolistim at me.com (Tim Jones) Date: Sun, 29 Apr 2012 11:04:19 -0700 Subject: Checking for an internet connectio In-Reply-To: References: <4F9C4568.6030104@pdslabs.net> Message-ID: <97D932B3-EC1C-4FAC-95F2-1A8333CD9D89@me.com> Urgh - autocorrect sux! The actual text may "vary" from one OS update to another Tim On Apr 29, 2012, at 11:02 AM, Tim Jones wrote: > Pete, > > It's a good idea to always check the error code returned from a shell command. The actual text may various from one OS update to another, so depending of the text returned can be a quick way to introduce an odd "bug" that works on one platform, but not on another. The man page will describe the returned values. If they are the text values (like ENOSPC, or EINVAL), you can look those up in the errno.h file (usually in /usr/include/sys/errno.h). > > Since ping returns data on both a failure and a success, checking for an empty tResult would always result in a "failure" as written. > > Tim > > On Apr 29, 2012, at 10:49 AM, Peter Haworth wrote: > >> Hi Phil, >> Double checking on the code below in your script. The man page for ping in >> OS X and Linux say that ping has an exit code of zero if no errors are >> encountered. Should the test on tResult be for zero or have you found that >> empty works too? >> >> Thanks, >> Pete >> lcSQL Software >> >> On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: >> >>> -- check for connection failure >>> if tResult <> empty >>> then return false -- failed >>> else -- connected, but how 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 alex at tweedly.net Sun Apr 29 15:07:38 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 29 Apr 2012 20:07:38 +0100 Subject: Installing new software In-Reply-To: References: Message-ID: <4F9D917A.1040301@tweedly.net> Hmmmm ... I could be wrong (Haven't done it myself), but I thought the usual way to do this was to have a "splash screen" approach - the splash screen stack starts up and quickly displays a splash screen - then it checks for a new version. and if there is one the splash stack downloads the new "real" stack - then the splash stack replaces the old "real" stack with the new "real" stack - then the splash stack transfers control to the "real": stack (with many variations about when / where / what you ask the user ....) but the essence is that the downloading / replacing is done by the splash stack, not by the real stack, so there is never any need to replace the stack file which is running. -- Alex. On 29/04/2012 18:57, Peter Haworth wrote: > Got everything working nicely with my handler to check for a more recent > version of my program. The final step after downloading is to copy the new > version of the program to wherever it needs to go on the user's computer > but I can't do that because the program is running (this is on OS X but I > assume it would be the same on other OS's). > > I'm guessing the way to do this is instruct the user to quit the program > ,have a handler that fires when the program closes that knows a new version > is ready to install and launches an Applescript (on OS X) to do the copy > and start the program again. Am I on the right track? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Apr 29 15:32:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 14:32:51 -0500 Subject: [OT] Server doesn't send response code In-Reply-To: References: <4F9CB6D9.4080800@hyperactivesw.com> Message-ID: <4F9D9763.2030500@hyperactivesw.com> On 4/29/12 6:20 AM, Mark Schonewille wrote: > Hi Jacque, > > Where exactly is the CGI sending the return message? The URL should > start with ssl://www.sandbox.paypal.com/... > > I do this with PHP and that has worked fine for years. According to the most recent docs, it should be sent to That must work, because I get responses. I think I've traced the problem to a liburl timeout. Do you use a liburl stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 29 15:37:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 14:37:26 -0500 Subject: [OT] Server doesn't send response code In-Reply-To: <4F9D9763.2030500@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> Message-ID: <4F9D9876.6060502@hyperactivesw.com> On 4/29/12 2:32 PM, J. Landman Gay wrote: > On 4/29/12 6:20 AM, Mark Schonewille wrote: >> Hi Jacque, >> >> Where exactly is the CGI sending the return message? The URL should >> start with ssl://www.sandbox.paypal.com/... >> >> I do this with PHP and that has worked fine for years. > > According to the most recent docs, it should be sent to > > > That must work, because I get responses. I think I've traced the problem > to a liburl timeout. Do you use a liburl stack? > Never mind, I see you're using PHP. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Apr 29 15:49:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 12:49:21 -0700 Subject: Installing new software In-Reply-To: <4F9D917A.1040301@tweedly.net> References: <4F9D917A.1040301@tweedly.net> Message-ID: Hi Alex, Thanks for the suggestion. That would work but I'm just not a big fan of the "splash stack" approach in general unless there's a genuine (at least in my opinion!) reason for having one, like an extended amount of time to initialise the program. In this case, I'd rather delay the user every time they run the program with a splash stack if the only reason for it is to deal with a situation that happens infrequently. But that's just me :-) Pete lcSQL Software On Sun, Apr 29, 2012 at 12:07 PM, Alex Tweedly wrote: > Hmmmm ... I could be wrong (Haven't done it myself), but I thought the > usual way to do this was to have a "splash screen" approach > > - the splash screen stack starts up and quickly displays a splash screen > - then it checks for a new version. > and if there is one the splash stack downloads the new "real" stack > - then the splash stack replaces the old "real" stack with the new "real" > stack > - then the splash stack transfers control to the "real": stack > > (with many variations about when / where / what you ask the user ....) > > but the essence is that the downloading / replacing is done by the splash > stack, not by the real stack, so there is never any need to replace the > stack file which is running. > > -- Alex. > > > On 29/04/2012 18:57, Peter Haworth wrote: > >> Got everything working nicely with my handler to check for a more recent >> version of my program. The final step after downloading is to copy the >> new >> version of the program to wherever it needs to go on the user's computer >> but I can't do that because the program is running (this is on OS X but I >> assume it would be the same on other OS's). >> >> I'm guessing the way to do this is instruct the user to quit the program >> ,have a handler that fires when the program closes that knows a new >> version >> is ready to install and launches an Applescript (on OS X) to do the copy >> and start the program again. Am I on the right track? >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Apr 29 17:02:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 16:02:20 -0500 Subject: Installing new software In-Reply-To: References: <4F9D917A.1040301@tweedly.net> Message-ID: <4F9DAC5C.6010504@hyperactivesw.com> On 4/29/12 2:49 PM, Peter Haworth wrote: > Hi Alex, > Thanks for the suggestion. That would work but I'm just not a big fan of > the "splash stack" approach in general unless there's a genuine (at least > in my opinion!) reason for having one, like an extended amount of time to > initialise the program. In this case, I'd rather delay the user every time > they run the program with a splash stack if the only reason for it is to > deal with a situation that happens infrequently. It doesn't have to actually display or wait. It can be set invisible on preopenstack and go immediately to the main stack. Then when you do an update, you could show it so the user has something to look at, and add a progress bar too if you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Sun Apr 29 17:06:58 2012 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sun, 29 Apr 2012 17:06:58 -0400 Subject: Installing new software In-Reply-To: References: <4F9D917A.1040301@tweedly.net> Message-ID: <618033CF-B75D-4653-9ABE-5D5F73ECFCBE@gmail.com> On Apr 29, 2012, at 3:49 PM, Peter Haworth wrote: On Sun, Apr 29, 2012 at 12:07 PM, Alex Tweedly wrote: >> Hmmmm ... I could be wrong (Haven't done it myself), but I thought the >> usual way to do this was to have a "splash screen" approach >> >> - the splash screen stack starts up and quickly displays a splash screen >> - then it checks for a new version. >> and if there is one the splash stack downloads the new "real" stack >> - then the splash stack replaces the old "real" stack with the new "real" >> stack >> - then the splash stack transfers control to the "real": stack >> >> (with many variations about when / where / what you ask the user ....) >> >> but the essence is that the downloading / replacing is done by the splash >> stack, not by the real stack, so there is never any need to replace the >> stack file which is running. > > Hi Alex, > Thanks for the suggestion. That would work but I'm just not a big fan of > the "splash stack" approach in general unless there's a genuine (at least > in my opinion!) reason for having one, like an extended amount of time to > initialise the program. In this case, I'd rather delay the user every time > they run the program with a splash stack if the only reason for it is to > deal with a situation that happens infrequently. > > But that's just me :-) The delay in using a splash stack should be minimal, unless you are doing something really time-intensive, and the user will expect a little delay, since almost every app uses the startup to initialize various things. I think building this into your startup routine is the way to go. If no update is needed, the user won't notice a thing, and if one is available you can offer the choice of updating now or postponing it. All that is pretty much industry standard. Unless I'm misunderstanding your objection. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at lcsql.com Sun Apr 29 18:40:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 29 Apr 2012 15:40:05 -0700 Subject: Installing new software In-Reply-To: <4F9DAC5C.6010504@hyperactivesw.com> References: <4F9D917A.1040301@tweedly.net> <4F9DAC5C.6010504@hyperactivesw.com> Message-ID: Appreciate the input folks. I guess as much as anything else, I'm reluctant to start messing with my stack structure at this late stage of the game for a released product. I can pretty much guarantee there will be unforseen consequences! On thinking about this more, I'm not sure I should really overwrite the existing version of the program with the new one. I kinda like the way RunRev does things in that their program file names include the version number. That means I can download a new version and run it to see if I like the new version without destroying the old version. In fact, I keep all the old versions of LC around. On a related issue, I do have a progress scrollbar during the download. It works fine but how do I change the color of the progress bar? I've tried setting the various options on the Inspector Colors tab but they don't seem to have any effect. Pete lcSQL Software On Sun, Apr 29, 2012 at 2:02 PM, J. Landman Gay wrote: > On 4/29/12 2:49 PM, Peter Haworth wrote: > >> Hi Alex, >> Thanks for the suggestion. That would work but I'm just not a big fan of >> the "splash stack" approach in general unless there's a genuine (at least >> in my opinion!) reason for having one, like an extended amount of time to >> initialise the program. In this case, I'd rather delay the user every >> time >> they run the program with a splash stack if the only reason for it is to >> deal with a situation that happens infrequently. >> > > It doesn't have to actually display or wait. It can be set invisible on > preopenstack and go immediately to the main stack. Then when you do an > update, you could show it so the user has something to look at, and add a > progress bar too if you want. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Apr 29 19:07:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 18:07:19 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9D9763.2030500@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> Message-ID: <4F9DC9A7.1070500@hyperactivesw.com> I could still use some advice. I know at least a couple people have liburl working with old-style cgis. I'm running rev 3.5 and liburl 1.1.6. This script receives and logs all paypal data but hangs, causing the sandbox to think it couldn't find the server: #!rev -ui on startup if $REQUEST_METHOD = "POST" then start using stack "liburl" read from stdin until empty put it into tOrderData LOG the time && "Received:" && tOrderData put "cmd=_notify-validate&" before tOrderData -- required response put "https://www.sandbox.paypal.com/cgi-bin/webscr" into tPPAddr post tOrderData to tPPAddr if the result <> "" then LOG "Post result:" && the result put it into tResponse -- "VERIFIED" or "INVALID" LOG "Response:" && it stop using stack "liburl" end if end startup on LOG pData put "paypalLog.txt" into tFile open file tFile for append write pData &cr & cr to file tFile close file tFile end LOG Five minutes after this is run, an error occurs but no specifics are listed in the server log, only that there was no 500 html file (which is how I know something went wrong.) I'm assuming it's a timeout. Very old list messages suggest a socket may be left open. I tried both of these: set the httpHeaders to "Connection: close" -- before the post command and: repeat for each line s in the openSockets -- at the end of the script try close socket s catch tErr LOG tErr end try end repeat Both of these cause an unspecified 500 server error. Nothing is logged. I also tried changing the https: to plain http:, but I get a 302 redirect and the script stops. I know liburl is in use because it's logging some things, like the 302 error, and I also logged the result after putting the stack in use; it was always empty. I don't see a way to get liburl to log to a file, so I don't know where it's going wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Apr 29 19:28:56 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 30 Apr 2012 09:28:56 +1000 Subject: Server doesn't send response code In-Reply-To: <4F9DC9A7.1070500@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> Message-ID: Hi Jaque What engine are you using? https was introduced in 2.5 and I believe it requires revsecurity.so Might be simpler to switch to php or LC server. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Sun Apr 29 19:34:55 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 30 Apr 2012 01:34:55 +0200 Subject: Server doesn't send response code In-Reply-To: <4F9DC9A7.1070500@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> Message-ID: <81F18860-0762-4CE7-9A01-3C6F1D0B6A27@economy-x-talk.com> Hi Jacque, Is it possible that you need to urlDecode or unescape the data from stdIn before posting them back to PayPal? Could it be that the data parts in tOrderData need to be urlEncoded? Could there be a problem with the character encoding? I always make sure that I send and receive UTF8. Have you tried libUrlSetSSLVerification false? My PHP script contains a "Content-Length" header, which is set to the total length of tOrderData. I'm also using a header "Content-Type: application/x-www-form-urlencoded". I don't see these headers in your script. The libUrlPostFormdata command uses the second header too and that makes me think that it may not be sent automatically with the post command. I use a socket timeout interval of 30 seconds, yours seems to be 10 seconds (the default). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 30 apr 2012, at 01:07, J. Landman Gay wrote: > I could still use some advice. I know at least a couple people have liburl working with old-style cgis. I'm running rev 3.5 and liburl 1.1.6. > > This script receives and logs all paypal data but hangs, causing the sandbox to think it couldn't find the server: > > #!rev -ui > > on startup > if $REQUEST_METHOD = "POST" then > start using stack "liburl" > read from stdin until empty > put it into tOrderData > LOG the time && "Received:" && tOrderData > put "cmd=_notify-validate&" before tOrderData -- required response > put "https://www.sandbox.paypal.com/cgi-bin/webscr" into tPPAddr > post tOrderData to tPPAddr > if the result <> "" then LOG "Post result:" && the result > put it into tResponse -- "VERIFIED" or "INVALID" > LOG "Response:" && it > stop using stack "liburl" > end if > end startup > > on LOG pData > put "paypalLog.txt" into tFile > open file tFile for append > write pData &cr & cr to file tFile > close file tFile > end LOG > > Five minutes after this is run, an error occurs but no specifics are listed in the server log, only that there was no 500 html file (which is how I know something went wrong.) I'm assuming it's a timeout. > > Very old list messages suggest a socket may be left open. I tried both of these: > > set the httpHeaders to "Connection: close" -- before the post command > > and: > > repeat for each line s in the openSockets -- at the end of the script > try > close socket s > catch tErr > LOG tErr > end try > end repeat > > Both of these cause an unspecified 500 server error. Nothing is logged. > > I also tried changing the https: to plain http:, but I get a 302 redirect and the script stops. > > I know liburl is in use because it's logging some things, like the 302 error, and I also logged the result after putting the stack in use; it was always empty. I don't see a way to get liburl to log to a file, so I don't know where it's going wrong. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 29 21:00:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 20:00:38 -0500 Subject: Server doesn't send response code In-Reply-To: References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> Message-ID: <4F9DE436.8020103@hyperactivesw.com> On 4/29/12 6:28 PM, Monte Goulding wrote: > Hi Jaque > > What engine are you using? https was introduced in 2.5 and I believe > it requires revsecurity.so > > Might be simpler to switch to php or LC server. Thanks for responding Monte. I'm using engine 3.5. I'm not sure about the library, is that something I need to copy over to the server? Do you know where it should go? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 29 21:14:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 20:14:56 -0500 Subject: Server doesn't send response code In-Reply-To: <81F18860-0762-4CE7-9A01-3C6F1D0B6A27@economy-x-talk.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <81F18860-0762-4CE7-9A01-3C6F1D0B6A27@economy-x-talk.com> Message-ID: <4F9DE790.9080207@hyperactivesw.com> On 4/29/12 6:34 PM, Mark Schonewille wrote: > Hi Jacque, > > Is it possible that you need to urlDecode or unescape the data from > stdIn before posting them back to PayPal? Could it be that the data > parts in tOrderData need to be urlEncoded? Could there be a problem > with the character encoding? I always make sure that I send and > receive UTF8. There's no problem sending posts or receiving the data, that part is working. If it weren't for the hang at the end, I'd have everything I need. The data is already urlEncoded, I just send it back intact. > > Have you tried libUrlSetSSLVerification false? Yes, no difference. I think that command is just for receiving secure data. > The libUrlPostFormdata command uses the second header too and > that makes me think that it may not be sent automatically with the > post command. I'm not really posting form data back, just returning a url-encoded string. But again, paypal has no problem with what I'm sending; it gets my posts and answers me fine, and I have all the data I need to process the transaction. The post command appears to be working. There's just that hang at the end where paypal is waiting for some kind of ack and isn't getting one. I was reading that some ISPs disallow sending to https from a cgi; does anyone know about that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Apr 29 21:23:11 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 30 Apr 2012 11:23:11 +1000 Subject: Server doesn't send response code In-Reply-To: <4F9DE436.8020103@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> Message-ID: On 30/04/2012, at 11:00 AM, J. Landman Gay wrote: > On 4/29/12 6:28 PM, Monte Goulding wrote: >> Hi Jaque >> >> What engine are you using? https was introduced in 2.5 and I believe >> it requires revsecurity.so >> >> Might be simpler to switch to php or LC server. > > Thanks for responding Monte. I'm using engine 3.5. I'm not sure about the library, is that something I need to copy over to the server? Do you know where it should go? I'm assuming your server is Linux. Put it next to the engine. It should be in inside the app bundle somewhere. If all else fails, use Rev 3.5 to build a stack for Linux with SSL and see where the Standalone Builder puts it ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From calhorner at xtra.co.nz Sun Apr 29 21:31:41 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 30 Apr 2012 13:31:41 +1200 (New Zealand Standard Time) Subject: The revMenuBar Message-ID: <4F9DEB74.000003.05244@CALS_BIG_PC> Is there any reason for the IDE revMenubar to be as wide as it is? If you have ever taken a little wander with the Property inspector you will see that the max width and max height can be 65535! What could be the possible reason for the attributes to be set that large? Well, anyway back to the questions at hand: 1) The reason for all the extra real estate. 2) what is the preferred way of locking it back to a smaller width? In other words, I could make use of that extra space that is now being taken up, for no apparent reason, by a very large blank space on the menubar. Cal From dfepstein at comcast.net Sun Apr 29 21:36:11 2012 From: dfepstein at comcast.net (David Epstein) Date: Sun, 29 Apr 2012 21:36:11 -0400 Subject: Characters that can be used in an array key Message-ID: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> Are there any limits on what characters can be used in an array key? For example, do tab characters cause problems? Many thanks. David Epstein From jacque at hyperactivesw.com Sun Apr 29 21:48:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 20:48:09 -0500 Subject: Server doesn't send response code In-Reply-To: References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> Message-ID: <4F9DEF59.8080701@hyperactivesw.com> On 4/29/12 8:23 PM, Monte Goulding wrote: > > On 30/04/2012, at 11:00 AM, J. Landman Gay wrote: > >> On 4/29/12 6:28 PM, Monte Goulding wrote: >>> Hi Jaque >>> >>> What engine are you using? https was introduced in 2.5 and I >>> believe it requires revsecurity.so >>> >>> Might be simpler to switch to php or LC server. >> >> Thanks for responding Monte. I'm using engine 3.5. I'm not sure >> about the library, is that something I need to copy over to the >> server? Do you know where it should go? > > > I'm assuming your server is Linux. Put it next to the engine. It > should be in inside the app bundle somewhere. If all else fails, use > Rev 3.5 to build a stack for Linux with SSL and see where the > Standalone Builder puts it ;-) Linux, yes. I couldn't find revsecurity.so anywhere, so I built a test app as you suggested with SSL included. It must become a part of the app, because there are no external files in it. All I get is the app. Does anyone out there happen to have a copy of revsecurity.so? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Apr 29 21:55:27 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 30 Apr 2012 11:55:27 +1000 Subject: Server doesn't send response code In-Reply-To: <4F9DEF59.8080701@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> <4F9DEF59.8080701@hyperactivesw.com> Message-ID: hmm... it may have been called something else before. I vaguely recall the windows dll changing it's name. It's certainly called revsecurity.so in the current bundle. Is it possible it was supported later on Linux than on other platforms? Cheers Monte On 30/04/2012, at 11:48 AM, J. Landman Gay wrote: > On 4/29/12 8:23 PM, Monte Goulding wrote: >> >> On 30/04/2012, at 11:00 AM, J. Landman Gay wrote: >> >>> On 4/29/12 6:28 PM, Monte Goulding wrote: >>>> Hi Jaque >>>> >>>> What engine are you using? https was introduced in 2.5 and I >>>> believe it requires revsecurity.so >>>> >>>> Might be simpler to switch to php or LC server. >>> >>> Thanks for responding Monte. I'm using engine 3.5. I'm not sure >>> about the library, is that something I need to copy over to the >>> server? Do you know where it should go? >> >> >> I'm assuming your server is Linux. Put it next to the engine. It >> should be in inside the app bundle somewhere. If all else fails, use >> Rev 3.5 to build a stack for Linux with SSL and see where the >> Standalone Builder puts it ;-) > > Linux, yes. I couldn't find revsecurity.so anywhere, so I built a test app as you suggested with SSL included. It must become a part of the app, because there are no external files in it. All I get is the app. > > Does anyone out there happen to have a copy of revsecurity.so? > > > -- > 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Apr 29 21:55:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 20:55:35 -0500 Subject: Server doesn't send response code In-Reply-To: References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> Message-ID: <4F9DF117.6080902@hyperactivesw.com> On 4/29/12 8:23 PM, Monte Goulding wrote: > I'm assuming your server is Linux. Put it next to the engine. It > should be in inside the app bundle somewhere. If all else fails, use > Rev 3.5 to build a stack for Linux with SSL and see where the > Standalone Builder puts it ;-) Ah -- found a copy in an old app I'd built last year. It does live next to the engine. I copied it to the server next to the engine there, set permissions to 755. Didn't help. :( I had hopes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 29 21:59:52 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 20:59:52 -0500 Subject: Server doesn't send response code In-Reply-To: References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> <4F9DEF59.8080701@hyperactivesw.com> Message-ID: <4F9DF218.8090701@hyperactivesw.com> On 4/29/12 8:55 PM, Monte Goulding wrote: > hmm... it may have been called something else before. I vaguely > recall the windows dll changing it's name. It's certainly called > revsecurity.so in the current bundle. Is it possible it was supported > later on Linux than on other platforms? I don't know. I do see it in the current bundle. In 3.5 there is an option to use SSL in the standalone builder but there's no separate file in the built app or in the Rev bundle. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Sun Apr 29 22:01:37 2012 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 29 Apr 2012 19:01:37 -0700 Subject: Characters that can be used in an array key In-Reply-To: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> Message-ID: <4F9DF281.5000205@pdslabs.net> Hi David, I doubt tabs make trouble but don't really know. When I have a tab-delimited line I'm using as a key, I usually base64Encode it first. I would not use nulls in a key, but again I don't really know if it would cause problems. Best - Phil Davis On 4/29/12 6:36 PM, David Epstein wrote: > Are there any limits on what characters can be used in an array key? > For example, do tab characters cause problems? > Many thanks. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From irog at mac.com Sun Apr 29 22:35:06 2012 From: irog at mac.com (Roger Guay) Date: Sun, 29 Apr 2012 19:35:06 -0700 Subject: iOS Real Estate In-Reply-To: References: Message-ID: Ok, I know I'm missing something simple, but I can't see what I'm doing wrong. I have a stack that's 1000 by 1000 pixels, and I'm testing it in the iPad Simulator 5.1. In the Standalone Application Settings, I am building for iOS 5.0 or Later, Armv7, and I have set it for Landscape Left. The problem is the simulator cuts off my stack to something less than 1000 pixels in both dimensions. I know that the Retina display has a resolution of 2048 by 1536, plenty of real estate to show my stack, but it doesn't. What the heck is going on? BTW, I'm using LiveCode v 5.5. on a Mac. TIA, Roger From charles at buchwald.ca Sun Apr 29 22:38:46 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Sun, 29 Apr 2012 21:38:46 -0500 Subject: iOS Real Estate In-Reply-To: References: Message-ID: <34B19FD3-DC67-405A-8078-B1D3223F3436@buchwald.ca> Hi Ray, I just experienced something similar... check out... iphoneUseDeviceResolution usePixels, [ nativeControlsUsePixels ] ... in the iOS Release notes. - Charles On 2012-04-29, at 9:35 PM, Roger Guay wrote: > Ok, I know I'm missing something simple, but I can't see what I'm doing wrong. I have a stack that's 1000 by 1000 pixels, and I'm testing it in the iPad Simulator 5.1. In the Standalone Application Settings, I am building for iOS 5.0 or Later, Armv7, and I have set it for Landscape Left. > > The problem is the simulator cuts off my stack to something less than 1000 pixels in both dimensions. I know that the Retina display has a resolution of 2048 by 1536, plenty of real estate to show my stack, but it doesn't. What the heck is going on? > > BTW, I'm using LiveCode v 5.5. on a Mac. > > TIA, > 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 -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter Please consider the environment before printing this email. From dsc at swcp.com Mon Apr 30 00:02:42 2012 From: dsc at swcp.com (Dar Scott) Date: Sun, 29 Apr 2012 22:02:42 -0600 Subject: Characters that can be used in an array key In-Reply-To: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> Message-ID: <267F4463-8EE9-4CB0-9639-8289B6C2FC5E@swcp.com> On Apr 29, 2012, at 7:36 PM, David Epstein wrote: > Are there any limits on what characters can be used in an array key? For example, do tab characters cause problems? NUL characters do funny things. Avoid those. A NUL is called null in LiveCode and is numToChar(0). The result of arithmetic have numberFormat applied to them to create strings for keys, so you might need to be careful there when using numbers, the same number could end up being two different keys. I have not noticed any problem with tabs. I am curious as to what else you learn. Dar Scott From jacque at hyperactivesw.com Mon Apr 30 00:25:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Apr 2012 23:25:32 -0500 Subject: The revMenuBar In-Reply-To: <4F9DEB74.000003.05244@CALS_BIG_PC> References: <4F9DEB74.000003.05244@CALS_BIG_PC> Message-ID: <4F9E143C.8080107@hyperactivesw.com> On 4/29/12 8:31 PM, Cal Horner wrote: > Is there any reason for the IDE revMenubar to be as wide as it is? What OS? > > If you have ever taken a little wander with the Property inspector you will > see that the max width and max height can be 65535! > > What could be the possible reason for the attributes to be set that large? Those are the default values for all new stacks. They don't represent the current size, they are the maximum upper limit. Stacks almost never use those figures. > > Well, anyway back to the questions at hand: > > 1) The reason for all the extra real estate. > > 2) what is the preferred way of locking it back to a smaller width? > > In other words, I could make use of that extra space that is now being taken > up, for no apparent reason, by a very large blank space on the menubar. On a Mac, the menubar is the width of the monitor and is always the same as any other app, and the toolbar under it just fits the icons. You must mean Windows or Linux. You could try setting the maxwidth in the stack inspector to whatever you want and see if that works. The size might be scripted though. I never noticed it being too wide. How wide is it on your monitor? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Apr 30 02:23:37 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 29 Apr 2012 23:23:37 -0700 Subject: The revMenuBar In-Reply-To: <4F9DEB74.000003.05244@CALS_BIG_PC> References: <4F9DEB74.000003.05244@CALS_BIG_PC> Message-ID: <132126768203.20120429232337@ahsoftware.net> Cal- Sunday, April 29, 2012, 6:31:41 PM, you wrote: > Is there any reason for the IDE revMenubar to be as wide as it is? LOL. Do you have *both* toolbar icons and text turned off? I never thought of doing that. -- -Mark Wieder mwieder at ahsoftware.net From roderick.mccall at uni.lu Mon Apr 30 04:34:57 2012 From: roderick.mccall at uni.lu (Roderick McCALL) Date: Mon, 30 Apr 2012 08:34:57 +0000 Subject: Mobile Apps: Battery Life Native vs LiveCode Message-ID: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> Dear LiveCoders, We are currently looking into using LiveCode for a variety of location-aware programs that we want to test on Android and IOS. One key issue is battery life with many viewing any cross-platform tools as having a negative impact. Therefore does anyone have a view or objective measures for this across a range of mobile tasks or have experience of these issues from their existing projects? We will most likely continue to use LiveCode for internal rapid prototyping however for large scale deployment battery life is clearly an issue. Kind regards, rod Dr Rod McCall Interdisciplinary Centre for Security, Reliability and Trust (SnT) The University of Luxembourg www.securityandtrust.lu Twitter: rodlux blog: www.rodmc.com From coiin at verizon.net Mon Apr 30 08:02:39 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 30 Apr 2012 08:02:39 -0400 Subject: Mobile Apps: Battery Life Native vs LiveCode In-Reply-To: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> References: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> Message-ID: <7077018F-ABF4-429F-A182-EB01B450AB78@verizon.net> You can just listen for location changes, or check manually now and then. There's no reason to think that LiveCode would drain the battery more than other apps that would do the same thing. One thing to know though, your app quits when you press the home button, at least on iOS. So, you would be using no battery power during those times, but it also means that LiveCode isn't the best choice for anything that requires it to work as background activity. From dixonja at hotmail.co.uk Mon Apr 30 08:11:37 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 30 Apr 2012 13:11:37 +0100 Subject: Mobile Apps: Battery Life Native vs LiveCode In-Reply-To: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> References: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> Message-ID: What would make you think that mobile apps built with liveCode are any better or any worse than mobile apps built with other software ? > We are currently looking into using LiveCode for a variety of location-aware programs that we want to test on Android and IOS. One key issue is battery life with many viewing any cross-platform tools as having a negative impact. Therefore does anyone have a view or objective measures for this across a range of mobile tasks or have experience of these issues from their existing projects? > > We will most likely continue to use LiveCode for internal rapid prototyping however for large scale deployment battery life is clearly an issue. > Dr Rod McCall > Interdisciplinary Centre for Security, Reliability and Trust (SnT) > The University of Luxembourg > www.securityandtrust.lu > Twitter: rodlux blog: www.rodmc.com From roderick.mccall at uni.lu Mon Apr 30 08:49:00 2012 From: roderick.mccall at uni.lu (Roderick McCALL) Date: Mon, 30 Apr 2012 12:49:00 +0000 Subject: Mobile Apps: Battery Life Native vs LiveCode In-Reply-To: References: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> Message-ID: <3672F2A6-71F2-4C8D-ABEA-2B6C0417AA61@uni.lu> Dear John and Colin, Thanks for your replies? Actually I am not sure if it is worse than anything else but I'll put it this way it is currently the subject of much debate here in the office. I am genuinely interested in any stats people may have collected as we would rather go cross-platform if it is practical for our work. Kind regards, rod Dr Rod McCall Interdisciplinary Centre for Security, Reliability and Trust (SnT) The University of Luxembourg www.securityandtrust.lu Twitter: rodlux blog: www.rodmc.com On Apr 30, 2012, at 2:11 PM, John Dixon wrote: What would make you think that mobile apps built with liveCode are any better or any worse than mobile apps built with other software ? We are currently looking into using LiveCode for a variety of location-aware programs that we want to test on Android and IOS. One key issue is battery life with many viewing any cross-platform tools as having a negative impact. Therefore does anyone have a view or objective measures for this across a range of mobile tasks or have experience of these issues from their existing projects? We will most likely continue to use LiveCode for internal rapid prototyping however for large scale deployment battery life is clearly an issue. Dr Rod McCall Interdisciplinary Centre for Security, Reliability and Trust (SnT) The University of Luxembourg www.securityandtrust.lu Twitter: rodlux blog: www.rodmc.com _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 30 09:14:20 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 30 Apr 2012 09:14:20 -0400 Subject: Mobile Apps: Battery Life Native vs LiveCode In-Reply-To: <3672F2A6-71F2-4C8D-ABEA-2B6C0417AA61@uni.lu> References: <4B307FAB-C14B-4DD2-B1EB-418EA5B58E55@uni.lu> <3672F2A6-71F2-4C8D-ABEA-2B6C0417AA61@uni.lu> Message-ID: Rod, As far as I can tell LC is using the same lower level calls to location tracking and other iOS services as is available via Xcode which would lead me to believe that there should not be any differences to battery life while using these calls. I am not sure how the calls to location services are handled on Android devices, so i can't tell if LC is doing something different there. A lot of optimization goes on with native Apple apps to keep things like location tracking etc. from being too slow and/or draining the battery. After this process they release the api for public use with any optimized code inherent in the libraries. (There are some api's that Apple has ultra-optimized but are not available to the developer at this time, but location tracking is not one of them.) That said, not all of LC's features (image object, field object) have been fully optimized for iOS usage and as such 'could' result in more of a drain than a C++ counterpart (it would have to be a very slight difference however) and any specific iOS functions can be handled using an external which should then give the same results as using those libraries in Xcode. Some things will be slower using the LC object versus a native iOS object but this should not drastically affect anything other than speed. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Apr 30, 2012, at 8:49 AM, Roderick McCALL wrote: > Dear John and Colin, > > Thanks for your replies? Actually I am not sure if it is worse than anything else but I'll put it this way it is currently the subject of much debate here in the office. I am genuinely interested in any stats people may have collected as we would rather go cross-platform if it is practical for our work. > > Kind regards, > > rod > > > Dr Rod McCall > Interdisciplinary Centre for Security, Reliability and Trust (SnT) > The University of Luxembourg > www.securityandtrust.lu > Twitter: rodlux blog: www.rodmc.com > > > > > > > > On Apr 30, 2012, at 2:11 PM, John Dixon wrote: > > > > What would make you think that mobile apps built with liveCode are any better or any worse than mobile apps built with other software ? > > We are currently looking into using LiveCode for a variety of location-aware programs that we want to test on Android and IOS. One key issue is battery life with many viewing any cross-platform tools as having a negative impact. Therefore does anyone have a view or objective measures for this across a range of mobile tasks or have experience of these issues from their existing projects? > > We will most likely continue to use LiveCode for internal rapid prototyping however for large scale deployment battery life is clearly an issue. > > Dr Rod McCall > Interdisciplinary Centre for Security, Reliability and Trust (SnT) > The University of Luxembourg > www.securityandtrust.lu > Twitter: rodlux blog: www.rodmc.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Mon Apr 30 10:12:56 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 30 Apr 2012 15:12:56 +0100 Subject: problem for the ancients - headless cgi mode and images In-Reply-To: <4F9CB7B7.4080804@hyperactivesw.com> References: <4F9C73AB.9080008@deepfoo.com> <4F9CB7B7.4080804@hyperactivesw.com> Message-ID: <4F9E9DE8.7070006@cogapp.com> On 29/04/2012 04:38, J. Landman Gay wrote: > On 4/28/12 5:48 PM, Bryan McCormick wrote: >> Folks, >> >> This is aimed at people who know the vagaries of the headless cgi mode >> of old. >> >> I am trying to set an image in a headless stack and then get its >> imagedata. In other words, setting it to "http://blurf.com/myremote.jpg" >> >> It does not appear to be working. Is this because the stack had no >> access to http? > > I think it's because CGIs do not load the graphical interface, so they don't > load or draw any images. I'm not sure there's a way around that, unless you > can read in the raw binary file and work with it that way. I'm not sure about CGI mode, but I have had some experience (scars) with headless mode (as you can tell, I'm not sure if there's a difference). I think you can process images in headless mode - but you may have to do some trial and error to get past the various other hurdles of that mode. Ben From andre at andregarzia.com Mon Apr 30 11:06:10 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 30 Apr 2012 12:06:10 -0300 Subject: problem for the ancients - headless cgi mode and images In-Reply-To: <4F9CB7B7.4080804@hyperactivesw.com> References: <4F9C73AB.9080008@deepfoo.com> <4F9CB7B7.4080804@hyperactivesw.com> Message-ID: On Sun, Apr 29, 2012 at 12:38 AM, J. Landman Gay wrote: > On 4/28/12 5:48 PM, Bryan McCormick wrote: > >> Folks, >> >> This is aimed at people who know the vagaries of the headless cgi mode >> of old. >> >> I am trying to set an image in a headless stack and then get its >> imagedata. In other words, setting it to "http://blurf.com/myremote.jpg** >> " >> >> It does not appear to be working. Is this because the stack had no >> access to http? >> > > I think it's because CGIs do not load the graphical interface, so they > don't load or draw any images. I'm not sure there's a way around that, > unless you can read in the raw binary file and work with it that way. > There is a way around that but it is so dead ugly that it should never be considered for production use. You can run an X11 framebuffer server which is an X11 server that renders to a memory buffer and not the screen. This will give Revolution CGI an display output to use and your render stuff will work. I did that a long time ago but running X11 framebuffer server is not a good thing for production servers. Specially because multiple hits would cause multiple windows to appear. Not good. If you want to build graphics from CGI, I recommend making Rev CGI write a shell script to call ImageMagick drawing commands. Cheers andre > > -- > 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://fon.nu -- minimalist url shortening service. From bobs at twft.com Mon Apr 30 11:41:09 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 08:41:09 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9C4568.6030104@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> Message-ID: <4C698774-4E93-490F-A209-ADF04F277B3F@twft.com> Nice function. Simple and effective. What might make this a tad more better is to have a list of 5 domains, in case for some reason Google ever goes away or renames itself (hey it could happen!). Also, an alternate FTP method might be nice upon failure of ping, as some techs block ICMP at the firewall. Bob On Apr 28, 2012, at 12:30 PM, Phil Davis wrote: > Hi Peter, > > I use "ping" to see if a given server is available. There are fewer bad things that can happen using this approach than trying to get a URL. The following code came from a recent project (slightly modified to protect the innocent) - watch line wraps: > > > on mouseUp > answer "Connection status =" && app_connectionStatus("google.com") > end mouseUp > > > > function app_connectionStatus pTargetDomain > > -- attempt to ping the ctrainweb.com server > switch (the platform) > case "MacOS" > put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput > put the result into tResult > break > case "Win32" -- PD 20100411 > set the hideConsoleWindows to true > put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput > put the result into tResult > break > default -- all other OSes > answer "This app cannot run on the" && the platform && "platform." > put param(0) & colon && the platform && "platform not supported" into tResult > break > end switch > > -- check for connection failure > if tResult <> empty > then return false -- failed > else -- connected, but how well? > set the itemDel to comma > if the platform = "Win32" > then > get tShellOutput > filter it with "*(0% loss)*" > else -- Mac > repeat for each item tFilter in "* 0% packet loss*,* 0.0% packet loss*" -- for different OS versons > get tShellOutput > filter it with tFilter > if it <> empty then exit repeat > end repeat > end if > return (it <> empty) > end if > end app_connectionStatus > > > HTH > Phil Davis > > > > On 4/28/12 12:12 PM, Peter Haworth wrote: >> Just put together a procedure for checking for software updates from my >> SQLiteAdmin program. All works great but I'm wondering the best way to >> check if there is an internet connection. I tried this out by >> disconnecting my computer from my wireless router and I got an"invalid host >> address" message from libURLErrorData as soon as I called >> libURLDownloadToFile. >> >> I can easily check for that of course but it sounds like that message could >> come back in other circumstances so wondering if there's some other way to >> check for an internet connection before attempting a download. >> >> Pete >> lcSQL Software >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 30 11:46:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 08:46:12 -0700 Subject: Checking for an internet connectio In-Reply-To: <061C1B08-E8C6-4158-8E80-20850713EB18@swcp.com> References: <4F9C4568.6030104@pdslabs.net> <061C1B08-E8C6-4158-8E80-20850713EB18@swcp.com> Message-ID: Maybe have a means to change the domain in an Internet Setup card? I have a database setup card in all of my database enabled apps which attempts a connection which the user was initially prompted to set up. I set a global called connected based on the results of the attempt. I check the global before allowing the user to proceed. The ping routine is a really good addition, because SQL connections have a pretty long timeout sometimes. I will add this function to my connection check as a precursor to connecting to SQL. Bob On Apr 28, 2012, at 3:40 PM, Dar Scott wrote: > Hi, Peter, > > I like Phil's solution, but it does answer a slightly different question from you said you want to ask. I think it is a better question. It answers not only if there is an Internet connection but also whether your update server is online and reachable. That might be more of the question you wanted your script to ask. It does not say whether there are ftp/http services available on your download server. > > You might want to check with a quick ping by hand to make sure icmp services are available on you server (which they are likely to be). > > Dar > > > On Apr 28, 2012, at 2:24 PM, Peter Haworth wrote: > >> Great, thanks a lot Phil, I'll give that a whirl. >> Pete >> lcSQL Software >> >> >> >> On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis wrote: >> >>> Hi Peter, >>> >>> I use "ping" to see if a given server is available. There are fewer bad >>> things that can happen using this approach than trying to get a URL. The >>> following code came from a recent project (slightly modified to protect the >>> innocent) - watch line wraps: >>> >>> >>> on mouseUp >>> answer "Connection status =" && app_connectionStatus("google.**com >>> ") >>> end mouseUp >>> >>> >>> >>> function app_connectionStatus pTargetDomain >>> >>> -- attempt to ping the ctrainweb.com server >>> switch (the platform) >>> case "MacOS" >>> put shell("ping -c 1 -t 5" && pTargetDomain) into tShellOutput >>> put the result into tResult >>> break >>> case "Win32" -- PD 20100411 >>> set the hideConsoleWindows to true >>> put shell("ping -n 1 -w 5" && pTargetDomain) into tShellOutput >>> put the result into tResult >>> break >>> default -- all other OSes >>> answer "This app cannot run on the" && the platform && >>> "platform." >>> put param(0) & colon && the platform && "platform not >>> supported" into tResult >>> break >>> end switch >>> >>> -- check for connection failure >>> if tResult <> empty >>> then return false -- failed >>> else -- connected, but how well? >>> set the itemDel to comma >>> if the platform = "Win32" >>> then >>> get tShellOutput >>> filter it with "*(0% loss)*" >>> else -- Mac >>> repeat for each item tFilter in "* 0% packet loss*,* 0.0% >>> packet loss*" -- for different OS versons >>> get tShellOutput >>> filter it with tFilter >>> if it <> empty then exit repeat >>> end repeat >>> end if >>> return (it <> empty) >>> end if >>> end app_connectionStatus >>> >>> >>> HTH >>> Phil Davis >>> >>> >>> >>> >>> On 4/28/12 12:12 PM, Peter Haworth wrote: >>> >>>> Just put together a procedure for checking for software updates from my >>>> SQLiteAdmin program. All works great but I'm wondering the best way to >>>> check if there is an internet connection. I tried this out by >>>> disconnecting my computer from my wireless router and I got an"invalid >>>> host >>>> address" message from libURLErrorData as soon as I called >>>> libURLDownloadToFile. >>>> >>>> I can easily check for that of course but it sounds like that message >>>> could >>>> come back in other circumstances so wondering if there's some other way to >>>> check for an internet connection before attempting a download. >>>> >>>> Pete >>>> lcSQL Software >>>> ______________________________**_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>>> >>> -- >>> Phil Davis >>> >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 30 11:50:29 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 08:50:29 -0700 Subject: The revMenuBar In-Reply-To: <4F9DEB74.000003.05244@CALS_BIG_PC> References: <4F9DEB74.000003.05244@CALS_BIG_PC> Message-ID: <4F9EB4C5.7040003@fourthworld.com> Cal Horner wrote: > If you have ever taken a little wander with the Property inspector you will > see that the max width and max height can be 65535! > > What could be the possible reason for the attributes to be set that large? While the largest single monitor available is still < 4000 px, the binary representation for 4k takes as much space as for values up to 65535 (2 bytes), so consider it future-proofing with no additional overhead. :) -- 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 Mon Apr 30 11:54:08 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 08:54:08 -0700 Subject: Characters that can be used in an array key In-Reply-To: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> Message-ID: <4F9EB5A0.30706@fourthworld.com> David Epstein wrote: > Are there any limits on what characters can be used in an array key? > For example, do tab characters cause problems? > Many thanks. Earlier this month I mentioned having rec'd the definition for arrayEncoded data, at the bottom of this post: While that article is still being finished, from what I've seen in Mark Waddingham's example code it seems that the only character we must avoid in array keys is NULL, since that's used internally as a delimiter between the key and the value. As far as I can tell, all other characters are allowable. -- 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 bobs at twft.com Mon Apr 30 11:56:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 08:56:34 -0700 Subject: Characters that can be used in an array key In-Reply-To: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> Message-ID: <1DEA353D-C076-4887-8098-30959593E086@twft.com> Even you could use tabs in an array key, why would you want to? I cannot think of an application for this. I would stick to the same rules that SQL enforces for column names, and always use lower case, as SQL is sometimes case sensitive. That way you never shoot yourself in the foot if you ever want to translate from array keys to SQL column names. Bob On Apr 29, 2012, at 6:36 PM, David Epstein wrote: > Are there any limits on what characters can be used in an array key? For example, do tab characters cause problems? > Many thanks. > > David Epstein > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 30 12:55:37 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 09:55:37 -0700 Subject: Characters that can be used in an array key In-Reply-To: <1DEA353D-C076-4887-8098-30959593E086@twft.com> References: <1DEA353D-C076-4887-8098-30959593E086@twft.com> Message-ID: <4F9EC409.80702@fourthworld.com> Bob Sneidar wrote: > Even you could use tabs in an array key, why would you want to? > I cannot think of an application for this. I would stick to the > same rules that SQL enforces for column names, and always use lower > case, as SQL is sometimes case sensitive. That way you never shoot > yourself in the foot if you ever want to translate from array keys > to SQL column names. SQL is great for when you need relationality, but if there's anything we've learned from the advent of the NoSQL movement it's that there are a nearly infinite variety of ways to store data, so we no longer need to think in terms of one-size-fits-all solutions. For example, in LiveCode small data sets can be handled with unusual grace and easy as simple property sets in stack files. -- 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 bobs at twft.com Mon Apr 30 13:01:37 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 10:01:37 -0700 Subject: Office to OS Clipboard Translation Message-ID: <8A62AAAC-347F-41A0-B668-5A3B4BF8430E@twft.com> What did we ever decide was the issue with the clipboard when copying data from an excel spreadsheet? I know Office has a proprietary clipboard, and a conversion is supposed to take place when pasting. This conversion works for other apps like TextEdit, but does not work with Livecode! Is this a bug? If so, I will go add my vote. It's really irritating to have to paste/copy into a text file before pasting into Livecode. Bob From bobs at twft.com Mon Apr 30 13:15:45 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 10:15:45 -0700 Subject: Characters that can be used in an array key In-Reply-To: <4F9EC409.80702@fourthworld.com> References: <1DEA353D-C076-4887-8098-30959593E086@twft.com> <4F9EC409.80702@fourthworld.com> Message-ID: <72C30EA2-F0B9-48A8-8D15-FBD10FAA5175@twft.com> True enough. I have found however that if I operate on a set of basic principles, I develop habits which prevent problems later down the road. This is one of my principles, and it serves me well. I do not see any case where using special characters in an array key would give you an advantage over using simple text names. Of course, I don't see all ends. :-) Bob On Apr 30, 2012, at 9:55 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > Even you could use tabs in an array key, why would you want to? > > I cannot think of an application for this. I would stick to the > > same rules that SQL enforces for column names, and always use lower > > case, as SQL is sometimes case sensitive. That way you never shoot > > yourself in the foot if you ever want to translate from array keys > > to SQL column names. > > SQL is great for when you need relationality, but if there's anything we've learned from the advent of the NoSQL movement it's that there are a nearly infinite variety of ways to store data, so we no longer need to think in terms of one-size-fits-all solutions. > > For example, in LiveCode small data sets can be handled with unusual grace and easy as simple property sets in stack files. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Apr 30 13:16:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 10:16:48 -0700 Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation References: Message-ID: Just submitted this as a bug as I did not find anything in the RQCC. Bob Begin forwarded message: > From: rqcc-daemon at var.on-rev.com > Date: April 30, 2012 10:12:11 AM PDT > To: bobs at twft.com > Subject: [Bug 10199] New: Office Excel Clipboard Translation > > http://quality.runrev.com/show_bug.cgi?id=10199 > > Summary: Office Excel Clipboard Translation > Product: Revolution > Version: 5.5.0 GM 3 > Platform: All > OS/Version: Mac OS X > Status: UNCONFIRMED > Severity: minor > Priority: 4 > Component: Engine > Architecture > Clipboard > AssignedTo: engineteam at runrev.com > ReportedBy: bobs at twft.com > > > When copying a range of cells from Excel, Livecode does not translate the > clipboard to text. Clearly the clipboard CAN be translated, because I can paste > into TextEdit and other apps, just not Livecode. > > The workaround is of course to paste into another app and recopy the text, but > it begs the question, what other things are not translating? > > > -- > Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. From dunbarx at aol.com Mon Apr 30 13:30:51 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Apr 2012 13:30:51 -0400 (EDT) Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: References: Message-ID: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> Bob. Please explain further. If I copy a range of cells in Excel, I can paste just fine into a field in LC. The tabs and returns come over as advertised. Craig -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Apr 30, 2012 1:17 pm Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation Just submitted this as a bug as I did not find anything in the RQCC. Bob Begin forwarded message: > From: rqcc-daemon at var.on-rev.com > Date: April 30, 2012 10:12:11 AM PDT > To: bobs at twft.com > Subject: [Bug 10199] New: Office Excel Clipboard Translation > > http://quality.runrev.com/show_bug.cgi?id=10199 > > Summary: Office Excel Clipboard Translation > Product: Revolution > Version: 5.5.0 GM 3 > Platform: All > OS/Version: Mac OS X > Status: UNCONFIRMED > Severity: minor > Priority: 4 > Component: Engine > Architecture > Clipboard > AssignedTo: engineteam at runrev.com > ReportedBy: bobs at twft.com > > > When copying a range of cells from Excel, Livecode does not translate the > clipboard to text. Clearly the clipboard CAN be translated, because I can paste > into TextEdit and other apps, just not Livecode. > > The workaround is of course to paste into another app and recopy the text, but > it begs the question, what other things are not translating? > > > -- > Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 30 13:42:11 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 10:42:11 -0700 Subject: SoCal LUG meeting: May 3, Pasadena Message-ID: <4F9ECEF3.9070109@fourthworld.com> Same place, same time, same good food, more great conversation about getting the most out of LiveCode - details in the forum: -- 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 bobs at twft.com Mon Apr 30 13:45:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 10:45:39 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> Message-ID: <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> I am not pasting I am accessing the clipboardData in a script. I should have made that clearer. Bob On Apr 30, 2012, at 10:30 AM, DunbarX at aol.com wrote: > Bob. > > > Please explain further. > > > If I copy a range of cells in Excel, I can paste just fine into a field in LC. The tabs and returns come over as advertised. > > > Craig > > > > -----Original Message----- > From: Bob Sneidar > To: How to use LiveCode > Sent: Mon, Apr 30, 2012 1:17 pm > Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation > > > Just submitted this as a bug as I did not find anything in the RQCC. > > Bob > > Begin forwarded message: > >> From: rqcc-daemon at var.on-rev.com >> Date: April 30, 2012 10:12:11 AM PDT >> To: bobs at twft.com >> Subject: [Bug 10199] New: Office Excel Clipboard Translation >> >> http://quality.runrev.com/show_bug.cgi?id=10199 >> >> Summary: Office Excel Clipboard Translation >> Product: Revolution >> Version: 5.5.0 GM 3 >> Platform: All >> OS/Version: Mac OS X >> Status: UNCONFIRMED >> Severity: minor >> Priority: 4 >> Component: Engine > Architecture > Clipboard >> AssignedTo: engineteam at runrev.com >> ReportedBy: bobs at twft.com >> >> >> When copying a range of cells from Excel, Livecode does not translate the >> clipboard to text. Clearly the clipboard CAN be translated, because I can > paste >> into TextEdit and other apps, just not Livecode. >> >> The workaround is of course to paste into another app and recopy the text, but >> it begs the question, what other things are not translating? >> >> >> -- >> Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email >> ------- You are receiving this mail because: ------- >> You reported the bug, or are watching the reporter. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Mon Apr 30 13:48:02 2012 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 30 Apr 2012 10:48:02 -0700 Subject: Checking for an internet connectio In-Reply-To: <4C698774-4E93-490F-A209-ADF04F277B3F@twft.com> References: <4F9C4568.6030104@pdslabs.net> <4C698774-4E93-490F-A209-ADF04F277B3F@twft.com> Message-ID: <4F9ED052.9080103@pdslabs.net> Hi Bob, Have at it! You and others have expressed great ideas for improvements, given various changes in the context and purpose for which it might be used. I'm just glad to share it, and it's fun to see others adapt it for their needs (and offer suggestions for core improvements). Phil On 4/30/12 8:41 AM, Bob Sneidar wrote: > Nice function. Simple and effective. What might make this a tad more better is to have a list of 5 domains, in case for some reason Google ever goes away or renames itself (hey it could happen!). Also, an alternate FTP method might be nice upon failure of ping, as some techs block ICMP at the firewall. > > Bob > > On Apr 28, 2012, at 12:30 PM, Phil Davis wrote: > >> Hi Peter, >> >> I use "ping" to see if a given server is available. There are fewer bad things that can happen using this approach than trying to get a URL. The following code came from a recent project (slightly modified to protect the innocent) - watch line wraps: >> >> >> on mouseUp >> answer "Connection status ="&& app_connectionStatus("google.com") >> end mouseUp >> >> >> >> function app_connectionStatus pTargetDomain >> >> -- attempt to ping the ctrainweb.com server >> switch (the platform) >> case "MacOS" >> put shell("ping -c 1 -t 5"&& pTargetDomain) into tShellOutput >> put the result into tResult >> break >> case "Win32" -- PD 20100411 >> set the hideConsoleWindows to true >> put shell("ping -n 1 -w 5"&& pTargetDomain) into tShellOutput >> put the result into tResult >> break >> default -- all other OSes >> answer "This app cannot run on the"&& the platform&& "platform." >> put param(0)& colon&& the platform&& "platform not supported" into tResult >> break >> end switch >> >> -- check for connection failure >> if tResult<> empty >> then return false -- failed >> else -- connected, but how well? >> set the itemDel to comma >> if the platform = "Win32" >> then >> get tShellOutput >> filter it with "*(0% loss)*" >> else -- Mac >> repeat for each item tFilter in "* 0% packet loss*,* 0.0% packet loss*" -- for different OS versons >> get tShellOutput >> filter it with tFilter >> if it<> empty then exit repeat >> end repeat >> end if >> return (it<> empty) >> end if >> end app_connectionStatus >> >> >> HTH >> Phil Davis >> >> >> >> On 4/28/12 12:12 PM, Peter Haworth wrote: >>> Just put together a procedure for checking for software updates from my >>> SQLiteAdmin program. All works great but I'm wondering the best way to >>> check if there is an internet connection. I tried this out by >>> disconnecting my computer from my wireless router and I got an"invalid host >>> address" message from libURLErrorData as soon as I called >>> libURLDownloadToFile. >>> >>> I can easily check for that of course but it sounds like that message could >>> come back in other circumstances so wondering if there's some other way to >>> check for an internet connection before attempting a download. >>> >>> Pete >>> lcSQL Software >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> -- >> Phil Davis >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From irog at mac.com Mon Apr 30 13:48:08 2012 From: irog at mac.com (Roger Guay) Date: Mon, 30 Apr 2012 10:48:08 -0700 Subject: iOS Real Estate In-Reply-To: References: Message-ID: <45FCA49F-58E1-4A26-A387-17F520BBB48A@mac.com> Thanks, Charles. I still have work to do, but this helps! Thanks, Roger On Apr 29, 2012, at 9:02 PM, use-livecode-request at lists.runrev.com wrote: > Message: 28 > Date: Sun, 29 Apr 2012 21:38:46 -0500 > From: Charles E Buchwald > To: How to use LiveCode > Subject: Re: iOS Real Estate > Message-ID: <34B19FD3-DC67-405A-8078-B1D3223F3436 at buchwald.ca> > Content-Type: text/plain; charset=windows-1252 > > Hi Ray, > I just experienced something similar... check out... > iphoneUseDeviceResolution usePixels, [ nativeControlsUsePixels ] > ... in the iOS Release notes. > - Charles > > On 2012-04-29, at 9:35 PM, Roger Guay wrote: > >> Ok, I know I'm missing something simple, but I can't see what I'm doing wrong. I have a stack that's 1000 by 1000 pixels, and I'm testing it in the iPad Simulator 5.1. In the Standalone Application Settings, I am building for iOS 5.0 or Later, Armv7, and I have set it for Landscape Left. >> >> The problem is the simulator cuts off my stack to something less than 1000 pixels in both dimensions. I know that the Retina display has a resolution of 2048 by 1536, plenty of real estate to show my stack, but it doesn't. What the heck is going on? >> >> BTW, I'm using LiveCode v 5.5. on a Mac. >> >> TIA, >> Roger >> >> _ From ambassador at fourthworld.com Mon Apr 30 13:51:14 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 10:51:14 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> References: <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> Message-ID: <4F9ED112.6010908@fourthworld.com> Bob Sneidar wrote: > I am not pasting I am accessing the clipboardData in a script. I should have made that clearer. That's an interesting detail. Are you using the clipboardData["text"]? I think pasting uses styled text; wonder if that makes a difference with what you're trying to do. Thanks for posting the bug report, BTW. Too often details get lost here because they're not logged there. I appreciate your taking the time to do that. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Mon Apr 30 13:52:46 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 30 Apr 2012 13:52:46 -0400 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> Message-ID: Yes, I've found that I have to manually paste the Excel data into any text editor, then the clipboard is usable by LiveCode. Copying from Numbers doesn't have the same issue. On Apr 30, 2012, at 1:45 PM, Bob Sneidar wrote: > I am not pasting I am accessing the clipboardData in a script. I should have made that clearer. From bobs at twft.com Mon Apr 30 14:07:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 11:07:34 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <4F9ED112.6010908@fourthworld.com> References: <8AF00ABF-730A-4820-ABA9-08C887AD8D7D@twft.com> <4F9ED112.6010908@fourthworld.com> Message-ID: <0D4CD941-4292-4E58-817E-68F9171B37EB@twft.com> I do this: put the clipboard into theDataType -- returns "text" put the clipboarddata[theDataType] into thePropList thePropList is empty, but if I then go to TextEdit and paste, all the cell data is pasted as tab delimited text. Bob On Apr 30, 2012, at 10:51 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > >> I am not pasting I am accessing the clipboardData in a script. I should have made that clearer. > > That's an interesting detail. Are you using the clipboardData["text"]? > > I think pasting uses styled text; wonder if that makes a difference with what you're trying to do. > > Thanks for posting the bug report, BTW. Too often details get lost here because they're not logged there. I appreciate your taking the time to do that. > > -- > 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 dunbarx at aol.com Mon Apr 30 14:16:46 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Apr 2012 14:16:46 -0400 (EDT) Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> Message-ID: <8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> I must be getting old. If, instead of pasting, I "put the clipBoardData into fld myField" I get perfect results. Again, tabs and returns in their places, data intact. Craig -----Original Message----- From: dunbarx To: use-livecode Sent: Mon, Apr 30, 2012 1:32 pm Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation Bob. Please explain further. If I copy a range of cells in Excel, I can paste just fine into a field in LC. The tabs and returns come over as advertised. Craig -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Apr 30, 2012 1:17 pm Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation Just submitted this as a bug as I did not find anything in the RQCC. Bob Begin forwarded message: > From: rqcc-daemon at var.on-rev.com > Date: April 30, 2012 10:12:11 AM PDT > To: bobs at twft.com > Subject: [Bug 10199] New: Office Excel Clipboard Translation > > http://quality.runrev.com/show_bug.cgi?id=10199 > > Summary: Office Excel Clipboard Translation > Product: Revolution > Version: 5.5.0 GM 3 > Platform: All > OS/Version: Mac OS X > Status: UNCONFIRMED > Severity: minor > Priority: 4 > Component: Engine > Architecture > Clipboard > AssignedTo: engineteam at runrev.com > ReportedBy: bobs at twft.com > > > When copying a range of cells from Excel, Livecode does not translate the > clipboard to text. Clearly the clipboard CAN be translated, because I can paste > into TextEdit and other apps, just not Livecode. > > The workaround is of course to paste into another app and recopy the text, but > it begs the question, what other things are not translating? > > > -- > Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 30 14:34:59 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 11:34:59 -0700 Subject: Server doesn't send response code In-Reply-To: <4F9DEF59.8080701@hyperactivesw.com> References: <4F9DEF59.8080701@hyperactivesw.com> Message-ID: <4F9EDB53.5040909@fourthworld.com> Just a wild guess, but could the issue be that the httpHeaders needs to have more complete info for the server to accept the call? -- 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 bobs at twft.com Mon Apr 30 14:38:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 11:38:15 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com> <8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> Message-ID: <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> What version of Office? I am using Office 2008, and LC 5.5.0. Bob On Apr 30, 2012, at 11:16 AM, DunbarX at aol.com wrote: > I must be getting old. > > > If, instead of pasting, I "put the clipBoardData into fld myField" > > > I get perfect results. Again, tabs and returns in their places, data intact. > > > Craig > > > > -----Original Message----- > From: dunbarx > To: use-livecode > Sent: Mon, Apr 30, 2012 1:32 pm > Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation > > > Bob. > > > Please explain further. > > > If I copy a range of cells in Excel, I can paste just fine into a field in LC. > The tabs and returns come over as advertised. > > > Craig > > > > -----Original Message----- > From: Bob Sneidar > To: How to use LiveCode > Sent: Mon, Apr 30, 2012 1:17 pm > Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation > > > Just submitted this as a bug as I did not find anything in the RQCC. > > Bob > > Begin forwarded message: > >> From: rqcc-daemon at var.on-rev.com >> Date: April 30, 2012 10:12:11 AM PDT >> To: bobs at twft.com >> Subject: [Bug 10199] New: Office Excel Clipboard Translation >> >> http://quality.runrev.com/show_bug.cgi?id=10199 >> >> Summary: Office Excel Clipboard Translation >> Product: Revolution >> Version: 5.5.0 GM 3 >> Platform: All >> OS/Version: Mac OS X >> Status: UNCONFIRMED >> Severity: minor >> Priority: 4 >> Component: Engine > Architecture > Clipboard >> AssignedTo: engineteam at runrev.com >> ReportedBy: bobs at twft.com >> >> >> When copying a range of cells from Excel, Livecode does not translate the >> clipboard to text. Clearly the clipboard CAN be translated, because I can > paste >> into TextEdit and other apps, just not Livecode. >> >> The workaround is of course to paste into another app and recopy the text, but >> it begs the question, what other things are not translating? >> >> >> -- >> Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email >> ------- You are receiving this mail because: ------- >> You reported the bug, or are watching the reporter. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Apr 30 14:50:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 30 Apr 2012 11:50:10 -0700 Subject: Program Installation folders Message-ID: Folks, I am woefully out of date as to where application programs should be installed on various platforms (except for OS X). Up to now, I've been leaving it up to my users to move my applications single program file into the right place but I really want to supply an installer. In the release notes for Livecode, it specifies the following locations for WIndows/Linux. For All Users: Windows /RunRev/LiveCode Linux /opt/runrev/LiveCode For a single user Windows /RunRev/Components/LiveCode Linux ~/.runrev/components/livecode specialfolderpath("Home") Should I follow that model, replacing RunRev and LiveCode with my equivalents? For Windows, I think is specialFolderPath(26) and is specialFolderPath(38). Is that correct? Thanks, Pete lcSQL Software From pete at lcsql.com Mon Apr 30 14:50:52 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 30 Apr 2012 11:50:52 -0700 Subject: Checking for an internet connectio In-Reply-To: <4F9ED052.9080103@pdslabs.net> References: <4F9C4568.6030104@pdslabs.net> <4C698774-4E93-490F-A209-ADF04F277B3F@twft.com> <4F9ED052.9080103@pdslabs.net> Message-ID: Thanks for sharing it Phil. It seems to be working fine for me. Pete lcSQL Software On Mon, Apr 30, 2012 at 10:48 AM, Phil Davis wrote: > Hi Bob, > > Have at it! You and others have expressed great ideas for improvements, > given various changes in the context and purpose for which it might be > used. I'm just glad to share it, and it's fun to see others adapt it for > their needs (and offer suggestions for core improvements). > > Phil > > > > On 4/30/12 8:41 AM, Bob Sneidar wrote: > >> Nice function. Simple and effective. What might make this a tad more >> better is to have a list of 5 domains, in case for some reason Google ever >> goes away or renames itself (hey it could happen!). Also, an alternate FTP >> method might be nice upon failure of ping, as some techs block ICMP at the >> firewall. >> >> Bob >> >> On Apr 28, 2012, at 12:30 PM, Phil Davis wrote: >> >> Hi Peter, >>> >>> I use "ping" to see if a given server is available. There are fewer bad >>> things that can happen using this approach than trying to get a URL. The >>> following code came from a recent project (slightly modified to protect the >>> innocent) - watch line wraps: >>> >>> >>> on mouseUp >>> answer "Connection status ="&& app_connectionStatus("google.**com >>> ") >>> end mouseUp >>> >>> >>> >>> function app_connectionStatus pTargetDomain >>> >>> -- attempt to ping the ctrainweb.com server >>> switch (the platform) >>> case "MacOS" >>> put shell("ping -c 1 -t 5"&& pTargetDomain) into tShellOutput >>> put the result into tResult >>> break >>> case "Win32" -- PD 20100411 >>> set the hideConsoleWindows to true >>> put shell("ping -n 1 -w 5"&& pTargetDomain) into tShellOutput >>> put the result into tResult >>> break >>> default -- all other OSes >>> answer "This app cannot run on the"&& the platform&& >>> "platform." >>> put param(0)& colon&& the platform&& "platform not >>> supported" into tResult >>> >>> break >>> end switch >>> >>> -- check for connection failure >>> if tResult<> empty >>> then return false -- failed >>> else -- connected, but how well? >>> set the itemDel to comma >>> if the platform = "Win32" >>> then >>> get tShellOutput >>> filter it with "*(0% loss)*" >>> else -- Mac >>> repeat for each item tFilter in "* 0% packet loss*,* 0.0% >>> packet loss*" -- for different OS versons >>> get tShellOutput >>> filter it with tFilter >>> if it<> empty then exit repeat >>> end repeat >>> end if >>> return (it<> empty) >>> end if >>> end app_connectionStatus >>> >>> >>> HTH >>> Phil Davis >>> >>> >>> >>> On 4/28/12 12:12 PM, Peter Haworth wrote: >>> >>>> Just put together a procedure for checking for software updates from my >>>> SQLiteAdmin program. All works great but I'm wondering the best way to >>>> check if there is an internet connection. I tried this out by >>>> disconnecting my computer from my wireless router and I got an"invalid >>>> host >>>> address" message from libURLErrorData as soon as I called >>>> libURLDownloadToFile. >>>> >>>> I can easily check for that of course but it sounds like that message >>>> could >>>> come back in other circumstances so wondering if there's some other way >>>> to >>>> check for an internet connection before attempting a download. >>>> >>>> Pete >>>> lcSQL Software >>>> ______________________________**_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>>> -- >>> Phil Davis >>> >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > -- > Phil Davis > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Apr 30 14:53:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 13:53:51 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9EDB53.5040909@fourthworld.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> Message-ID: <4F9EDFBF.3080903@hyperactivesw.com> On 4/30/12 1:34 PM, Richard Gaskin wrote: > Just a wild guess, but could the issue be that the httpHeaders needs to > have more complete info for the server to accept the call? Maybe. Mark S. suggested the same thing. The default POST header for Content-Type is "application/x-www-form-urlencoded", which is what he uses. I believe content-length is also sent by default. I don't know what other things should be sent in the headers, but would like to know. The thing is, the POSTs and responses do go through. Everything appears to work; I get the data and PayPal responds to my POST correctly. The only thing that doesn't work is (apparently) no response code is sent. The one exception are script errors, where PayPal does register an error 500. Othewise no codes appear in PayPal's history. If it weren't for the fact that PayPal continues to resend requests so many times, I'd just forget about it. I have all the data I need, and it's verified. For now, I've put a check into the script that just drops duplicate resends silently. That works, but I'd rather the server didn't get hit on so much. After enough resends, PayPal registers a failure and stops, but I'm not sure how many failures it will allow before it decides my server isn't operative and drops the account. I don't even know if that's how it works, but I don't want to chance it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Mon Apr 30 15:24:27 2012 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 30 Apr 2012 12:24:27 -0700 Subject: Characters that can be used in an array key In-Reply-To: <4F9EB5A0.30706@fourthworld.com> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> <4F9EB5A0.30706@fourthworld.com> Message-ID: On Apr 30, 2012, at 8:54 AM, Richard Gaskin wrote: > > it seems that the only character we must avoid in array keys is NULL, since that's used internally as a delimiter between the key and the value. > > As far as I can tell, all other characters are allowable. It would be fun to see how the script editor handles keys that are made of return characters. From jacque at hyperactivesw.com Mon Apr 30 15:46:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 14:46:41 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9EDFBF.3080903@hyperactivesw.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> <4F9EDFBF.3080903@hyperactivesw.com> Message-ID: <4F9EEC21.9010405@hyperactivesw.com> I'm wondering if I can approach this a different way. Is there a command I can send to PayPal that says "We're done now"? I tried adding a Content-length header by setting the httpHeaders property, and libURL throws an error. The sockets are all closed, and as I understand it, that should signal the end of the transmission anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Mon Apr 30 15:52:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 30 Apr 2012 21:52:03 +0200 Subject: Server doesn't send response code In-Reply-To: <4F9EEC21.9010405@hyperactivesw.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> <4F9EDFBF.3080903@hyperactivesw.com> <4F9EEC21.9010405@hyperactivesw.com> Message-ID: <0E2D9666-DA5C-4479-AB09-51B66D36B28F@economy-x-talk.com> Hi Jacque, What's the error? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 30 apr 2012, at 21:46, J. Landman Gay wrote: > I'm wondering if I can approach this a different way. Is there a command I can send to PayPal that says "We're done now"? > > I tried adding a Content-length header by setting the httpHeaders property, and libURL throws an error. The sockets are all closed, and as I understand it, that should signal the end of the transmission anyway. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Mon Apr 30 15:56:17 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Apr 2012 15:56:17 -0400 (EDT) Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> Message-ID: <8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com> Bob. Office 2004. LC 5.5.1 - dp-1 -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Apr 30, 2012 2:39 pm Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation What version of Office? I am using Office 2008, and LC 5.5.0. Bob On Apr 30, 2012, at 11:16 AM, DunbarX at aol.com wrote: > I must be getting old. > > > If, instead of pasting, I "put the clipBoardData into fld myField" > > > I get perfect results. Again, tabs and returns in their places, data intact. > > > Craig > > > > -----Original Message----- > From: dunbarx > To: use-livecode > Sent: Mon, Apr 30, 2012 1:32 pm > Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation > > > Bob. > > > Please explain further. > > > If I copy a range of cells in Excel, I can paste just fine into a field in LC. > The tabs and returns come over as advertised. > > > Craig > > > > -----Original Message----- > From: Bob Sneidar > To: How to use LiveCode > Sent: Mon, Apr 30, 2012 1:17 pm > Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation > > > Just submitted this as a bug as I did not find anything in the RQCC. > > Bob > > Begin forwarded message: > >> From: rqcc-daemon at var.on-rev.com >> Date: April 30, 2012 10:12:11 AM PDT >> To: bobs at twft.com >> Subject: [Bug 10199] New: Office Excel Clipboard Translation >> >> http://quality.runrev.com/show_bug.cgi?id=10199 >> >> Summary: Office Excel Clipboard Translation >> Product: Revolution >> Version: 5.5.0 GM 3 >> Platform: All >> OS/Version: Mac OS X >> Status: UNCONFIRMED >> Severity: minor >> Priority: 4 >> Component: Engine > Architecture > Clipboard >> AssignedTo: engineteam at runrev.com >> ReportedBy: bobs at twft.com >> >> >> When copying a range of cells from Excel, Livecode does not translate the >> clipboard to text. Clearly the clipboard CAN be translated, because I can > paste >> into TextEdit and other apps, just not Livecode. >> >> The workaround is of course to paste into another app and recopy the text, but >> it begs the question, what other things are not translating? >> >> >> -- >> Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email >> ------- You are receiving this mail because: ------- >> You reported the bug, or are watching the reporter. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Apr 30 16:02:25 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 30 Apr 2012 14:02:25 -0600 Subject: Characters that can be used in an array key In-Reply-To: References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> <4F9EB5A0.30706@fourthworld.com> Message-ID: <26C8A0EC-B050-4834-A9E5-E9B328986CAE@swcp.com> On Apr 30, 2012, at 1:24 PM, Jerry Jensen wrote: > On Apr 30, 2012, at 8:54 AM, Richard Gaskin wrote: >> >> it seems that the only character we must avoid in array keys is NULL, since that's used internally as a delimiter between the key and the value. >> >> As far as I can tell, all other characters are allowable. > > It would be fun to see how the script editor handles keys that are made of return characters. This is part of the general consideration of referring to new-line characters in LiveCode. You can always do this: put "abc" & LF & "def" into key1 -- you can replace LF with return, CR, or linefeed, but I recommend against CR You can define NL or newLine if you want, too. The parsing for a literal string that is the first parameter of format() is special and you can do this: put format("abc\"def") into key1 For multiple lines you can do this: get "Give up? Give up? " & lf & \ "The day may come when we'll give up " & lf & \ "on fruitless searches after a mere eleven minutes, " & lf & \ "but that day is not today!" Or you can use some text-builder helper commands: startTextBuilding build "Give up? Give up? " build "The day may come when we'll give up " build "on fruitless searches after a mere eleven minutes, " build "but that day is not today!" get builtText() And of course some functions will put a new-line into output: put base64encode(bigSecretID) into key1 There is no need to strip the LF characters from the key if used as an array key if you are consistent. (But always strip when doing BASIC auth.) Dar Scott --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From jacque at hyperactivesw.com Mon Apr 30 16:10:21 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 15:10:21 -0500 Subject: Server doesn't send response code In-Reply-To: <0E2D9666-DA5C-4479-AB09-51B66D36B28F@economy-x-talk.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> <4F9EDFBF.3080903@hyperactivesw.com> <4F9EEC21.9010405@hyperactivesw.com> <0E2D9666-DA5C-4479-AB09-51B66D36B28F@economy-x-talk.com> Message-ID: <4F9EF1AD.3000102@hyperactivesw.com> On 4/30/12 2:52 PM, Mark Schonewille wrote: > Hi Jacque, > > What's the error? Who knows, it isn't logged. But PayPal history shows a server 500 status code, and my server log shows a "file not found" for that error document, which is true, I don't have a custom error 500 page. I am in the process of rewriting libURL logging so I can see what's wrong. I do see in the scripts that libURL automatically sets the content-length header as well as the "Content-Type: application/x-www-form-urlencoded" header, so those are being sent. > > On 30 apr 2012, at 21:46, J. Landman Gay wrote: > >> I'm wondering if I can approach this a different way. Is there a command I can send to PayPal that says "We're done now"? >> >> I tried adding a Content-length header by setting the httpHeaders property, and libURL throws an error. The sockets are all closed, and as I understand it, that should signal the end of the transmission anyway. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 30 16:25:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 15:25:56 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9EF1AD.3000102@hyperactivesw.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> <4F9EDFBF.3080903@hyperactivesw.com> <4F9EEC21.9010405@hyperactivesw.com> <0E2D9666-DA5C-4479-AB09-51B66D36B28F@economy-x-talk.com> <4F9EF1AD.3000102@hyperactivesw.com> Message-ID: <4F9EF554.2050001@hyperactivesw.com> Ok, I got libURL to write to a log. It does look like it's sending a 200 OK status but some of the content is gibberish to me. What do you make of this: socket selected: www.sandbox.paypal.com:443|6924 POST /cgi-bin/webscr HTTP/1.1 Host: www.sandbox.paypal.com User-Agent: Metacard (Linux) Content-Length: 847 Content-Type: application/x-www-form-urlencoded HTTP/1.1 200 OK Date: Mon, 30 Apr 2012 20:20:37 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=I-vgqrpToqcKjEtfbvzUhYsnn2l1nhiOdd8loJDlnXi2VAGg8jEiTJMILcY_rx2ayS4IT9mVjaccjuvxFpQMjyCX6yhIOf5hkbFSsyCc5riS6bV7v0O0t4V0u5EVw-X37mIJBm%7c_M41vq23Y9EF3C2ACTF2DsYD9ibbcA0Hk8TQBfkR-WLcdMx_FEoC0MnvO4XBgqBjB6mm20%7c_uu_0PeqPyj42lxA-hhoLZR7UU9pPqWh0bT5LuWvBv56GpVUS0mMi2sCtKJhOCIUAg4gDm%7c1335817237; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Thu, 28-Apr-2022 20:20:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Sun, 25-Apr-2032 20:20:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.109.11.1335817237013088; path=/; expires=Wed, 23-Apr-42 20:20:37 GMT X-Cnection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Apr 30 16:26:26 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 13:26:26 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> <8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com> Message-ID: <855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com> I installed Office 2004 (we have an Open License CD) and I still have the same problem. I wonder if they fixed this in 5.5.1 DP1? Bob On Apr 30, 2012, at 12:56 PM, DunbarX at aol.com wrote: > Bob. > > > Office 2004. LC 5.5.1 - dp-1 > > > -----Original Message----- > From: Bob Sneidar > To: How to use LiveCode > Sent: Mon, Apr 30, 2012 2:39 pm > Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation > > > What version of Office? I am using Office 2008, and LC 5.5.0. > > Bob > > > On Apr 30, 2012, at 11:16 AM, DunbarX at aol.com wrote: > >> I must be getting old. >> >> >> If, instead of pasting, I "put the clipBoardData into fld myField" >> >> >> I get perfect results. Again, tabs and returns in their places, data intact. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: dunbarx >> To: use-livecode >> Sent: Mon, Apr 30, 2012 1:32 pm >> Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation >> >> >> Bob. >> >> >> Please explain further. >> >> >> If I copy a range of cells in Excel, I can paste just fine into a field in LC. > >> The tabs and returns come over as advertised. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Bob Sneidar >> To: How to use LiveCode >> Sent: Mon, Apr 30, 2012 1:17 pm >> Subject: Fwd: [Bug 10199] New: Office Excel Clipboard Translation >> >> >> Just submitted this as a bug as I did not find anything in the RQCC. >> >> Bob >> >> Begin forwarded message: >> >>> From: rqcc-daemon at var.on-rev.com >>> Date: April 30, 2012 10:12:11 AM PDT >>> To: bobs at twft.com >>> Subject: [Bug 10199] New: Office Excel Clipboard Translation >>> >>> http://quality.runrev.com/show_bug.cgi?id=10199 >>> >>> Summary: Office Excel Clipboard Translation >>> Product: Revolution >>> Version: 5.5.0 GM 3 >>> Platform: All >>> OS/Version: Mac OS X >>> Status: UNCONFIRMED >>> Severity: minor >>> Priority: 4 >>> Component: Engine > Architecture > Clipboard >>> AssignedTo: engineteam at runrev.com >>> ReportedBy: bobs at twft.com >>> >>> >>> When copying a range of cells from Excel, Livecode does not translate the >>> clipboard to text. Clearly the clipboard CAN be translated, because I can >> paste >>> into TextEdit and other apps, just not Livecode. >>> >>> The workaround is of course to paste into another app and recopy the text, > but >>> it begs the question, what other things are not translating? >>> >>> >>> -- >>> Configure bugmail: http://quality.runrev.com/userprefs.cgi?tab=email >>> ------- You are receiving this mail because: ------- >>> You reported the bug, or are watching the reporter. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Apr 30 16:31:35 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 30 Apr 2012 14:31:35 -0600 Subject: Characters that can be used in an array key In-Reply-To: <4F9EB5A0.30706@fourthworld.com> References: <9C972C08-AB14-460B-A558-AB654EC72BB2@comcast.net> <4F9EB5A0.30706@fourthworld.com> Message-ID: On Apr 30, 2012, at 9:54 AM, Richard Gaskin wrote: > While that article is still being finished, from what I've seen in Mark Waddingham's example code it seems that the only character we must avoid in array keys is NULL, since that's used internally as a delimiter between the key and the value. I think this limitation is a feature we can do without. I think most people have run across it and some not recognizing it have pulled their hair out. This will come up more as people explore unicode. You will not see NULs in UTF-8 except for the actual original NUL. You can use UTF-8 safely as a key. However, someone might reasonably try some form of UTF-16 in which the NUL will show up as a ghost character. This also might come up with binary. A person might try using the binary form of an identifier of some sort not realizing the zero bytes would cause trouble. I would support the removal of this feature and, in general, all special meanings of NUL in all of LiveCode. (It can stay in legacy external interfaces.) Dar From jacque at hyperactivesw.com Mon Apr 30 16:33:46 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 15:33:46 -0500 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> <8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com> <855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com> Message-ID: <4F9EF72A.9000709@hyperactivesw.com> On 4/30/12 3:26 PM, Bob Sneidar wrote: > I installed Office 2004 (we have an Open License CD) and I still have > the same problem. I wonder if they fixed this in 5.5.1 DP1? Are you and Craig on different operating systems? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 30 16:40:23 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 15:40:23 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9DE436.8020103@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> <4F9D9763.2030500@hyperactivesw.com> <4F9DC9A7.1070500@hyperactivesw.com> <4F9DE436.8020103@hyperactivesw.com> Message-ID: <4F9EF8B7.9000606@hyperactivesw.com> Hm, seems like there is more. After five minutes, the log adds two (two?) close sockets. Only one test was sent from the sandbox. socket selected: www.sandbox.paypal.com:443|6924 POST /cgi-bin/webscr HTTP/1.1 Host: www.sandbox.paypal.com User-Agent: Metacard (Linux) Content-Length: 847 Content-Type: application/x-www-form-urlencoded HTTP/1.1 200 OK Date: Mon, 30 Apr 2012 20:20:37 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=I-vgqrpToqcKjEtfbvzUhYsnn2l1nhiOdd8loJDlnXi2VAGg8jEiTJMILcY_rx2ayS4IT9mVjaccjuvxFpQMjyCX6yhIOf5hkbFSsyCc5riS6bV7v0O0t4V0u5EVw-X37mIJBm%7c_M41vq23Y9EF3C2ACTF2DsYD9ibbcA0Hk8TQBfkR-WLcdMx_FEoC0MnvO4XBgqBjB6mm20%7c_uu_0PeqPyj42lxA-hhoLZR7UU9pPqWh0bT5LuWvBv56GpVUS0mMi2sCtKJhOCIUAg4gDm%7c1335817237; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Thu, 28-Apr-2022 20:20:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Sun, 25-Apr-2032 20:20:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.109.11.1335817237013088; path=/; expires=Wed, 23-Apr-42 20:20:37 GMT X-Cnection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 CLOSED www.sandbox.paypal.com:443|6924 CLOSED www.sandbox.paypal.com:443|6924 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dfepstein at comcast.net Mon Apr 30 16:46:48 2012 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Mon, 30 Apr 2012 20:46:48 +0000 (UTC) Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: Message-ID: <742856910.1556967.1335818808856.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Perhaps relevant to this thread is this problem I have found while copying in Excel, pasting in LC (actually an older version of Rev): When you zoom Excel's display, the number formatting changes. E.g., "442593" becomes "4E+05" if space is too tight, or "####" if space is really tight. This is not a problem while working in Excel, as the underlying data remains the same. But contrary to my expectation, if you select cells, copy, and paste to?Rev you do not get those underlying values. You get only the displayed text. "####" at least tells you something is amiss; but "4E+05" is an unannounced but severe amendment from "442593." If you paste instead to Notepad, you do get the underlying values If you export the Excel sheet as tab delimited text, the results are also strange: in my test, values shown in scientific notation were exported as integers; but values displayed as "####" were exported in scientific notation. David Epstein From bobs at twft.com Mon Apr 30 17:02:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 14:02:39 -0700 Subject: Tab Enabling/Disabling commands Message-ID: <28E99DA8-9E97-46B3-BEA0-603217B5EF74@twft.com> Hi all. A while ago someone started a thread about how to enable or disable individual tabs in a Tab Panel. I wrote these two admittedly simple functions to accommodate this. They both take two parameters, the name of the tab panel, and the tab item, which can be a number or the name of the tab. If you pass "All" for the tab item, it will enable or disable all the tabs. There is some basic error chacking. They will ignore a number that is out of bounds of the number of tab items, or a tab name that does not exist, or a tab panel that does not exist as a button. They will ignore enabling or disabling of tabs that are already enable/disabled respectively. (Already shot myself in the foot with that one!) ON disableTab theTabPanel, theTab IF theTabPanel is empty THEN exit disableTab IF not there is a button theTabPanel THEN exit disableTab put the text of button theTabPanel into theTabOptions IF theTab is "All" THEN REPEAT WITH i = 1 to the number of lines of theTabOptions IF char 1 of line i of theTabOptions is not "(" THEN put "(" before line i of theTabOptions END IF END REPEAT ELSE SWITCH CASE theTab is a number IF theTab > the number of lines of theTabOptions OR theTab = 0 THEN exit disableTab IF char 1 of line theTab of theTabOptions is not "(" THEN put "(" before line theTab of theTabOptions END IF break CASE theTab is not a number put lineoffset(theTab, theTabOptions) into theTabLine IF theTabLine = 0 THEN exit disableTab IF char 1 of line theTabLine of theTabOptions is not "(" THEN put "(" before line theTabLine of theTabOptions END IF break END SWITCH END IF set the text of button theTabPanel to theTabOptions END disableTab ON enableTab theTabPanel, theTab put the text of button theTabPanel into theTabOptions IF theTab is "All" THEN REPEAT WITH i = 1 to the number of lines of theTabOptions IF char 1 of line i of theTabOptions is "(" THEN put empty into char 1 of line i of theTabOptions END IF END REPEAT ELSE SWITCH CASE theTab is a number IF theTab > the number of lines of theTabOptions OR theTab = 0 THEN exit enableTab IF char 1 of line theTab of theTabOptions is "(" THEN put empty into char 1 of line theTab of theTabOptions END IF break CASE theTab is not a number put lineoffset(theTab, theTabOptions) into theTabLine IF theTabLine = 0 THEN exit enableTab IF char 1 of line theTabLine of theTabOptions is "(" THEN put empty into char 1 of line theTabLine of theTabOptions END IF break END SWITCH END IF set the text of button theTabPanel to theTabOptions END enableTab From bobs at twft.com Mon Apr 30 17:06:22 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 14:06:22 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <4F9EF72A.9000709@hyperactivesw.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com> <0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com> <8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com> <855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com> <4F9EF72A.9000709@hyperactivesw.com> Message-ID: <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> Quite possible. I am using OS X Snow Leopard. (I loathe being forced to upgrade to Lion just to use iCloud, so I am boycotting, not because I think it will do any good, but because it makes me feel empowered. ;-) Bob On Apr 30, 2012, at 1:33 PM, J. Landman Gay wrote: > On 4/30/12 3:26 PM, Bob Sneidar wrote: >> I installed Office 2004 (we have an Open License CD) and I still have >> the same problem. I wonder if they fixed this in 5.5.1 DP1? > > Are you and Craig on different operating systems? > > -- > 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 bobs at twft.com Mon Apr 30 17:11:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 14:11:52 -0700 Subject: Tab Enabling/Disabling commands Message-ID: Slight update to accommodate wholeMatches. It's conceivable someone might pass one word of a two word tab name, and I would have gotten the wrong tab! eg. Base, First Base, Second Base, etc. ON disableTab theTabPanel, theTab IF theTabPanel is empty THEN exit disableTab IF not there is a button theTabPanel THEN exit disableTab put the text of button theTabPanel into theTabOptions IF theTab is "All" THEN REPEAT WITH i = 1 to the number of lines of theTabOptions IF char 1 of line i of theTabOptions is not "(" THEN put "(" before line i of theTabOptions END IF END REPEAT ELSE SWITCH CASE theTab is a number IF theTab > the number of lines of theTabOptions OR theTab = 0 THEN exit disableTab IF char 1 of line theTab of theTabOptions is not "(" THEN put "(" before line theTab of theTabOptions END IF break CASE theTab is not a number set wholematches to true put lineoffset(theTab, theTabOptions) into theTabLine IF theTabLine = 0 THEN exit disableTab IF char 1 of line theTabLine of theTabOptions is not "(" THEN put "(" before line theTabLine of theTabOptions END IF break END SWITCH END IF set the text of button theTabPanel to theTabOptions END disableTab ON enableTab theTabPanel, theTab put the text of button theTabPanel into theTabOptions IF theTab is "All" THEN REPEAT WITH i = 1 to the number of lines of theTabOptions IF char 1 of line i of theTabOptions is "(" THEN put empty into char 1 of line i of theTabOptions END IF END REPEAT ELSE SWITCH CASE theTab is a number IF theTab > the number of lines of theTabOptions OR theTab = 0 THEN exit enableTab IF char 1 of line theTab of theTabOptions is "(" THEN put empty into char 1 of line theTab of theTabOptions END IF break CASE theTab is not a number set wholematches to true put lineoffset(theTab, theTabOptions) into theTabLine IF theTabLine = 0 THEN exit enableTab IF char 1 of line theTabLine of theTabOptions is "(" THEN put empty into char 1 of line theTabLine of theTabOptions END IF break END SWITCH END IF set the text of button theTabPanel to theTabOptions END enableTab From dunbarx at aol.com Mon Apr 30 17:21:29 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Apr 2012 17:21:29 -0400 (EDT) Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com><0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com><8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com><855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com><4F9EF72A.9000709@hyperactivesw.com> <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> Message-ID: <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> I am on OSX 10.5 here in my office. Which is that, Krazy Kat? I will try it on my 10.6 machine at home... Craig -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Apr 30, 2012 5:15 pm Subject: Re: [Bug 10199] New: Office Excel Clipboard Translation Quite possible. I am using OS X Snow Leopard. (I loathe being forced to upgrade to Lion just to use iCloud, so I am boycotting, not because I think it will do any good, but because it makes me feel empowered. ;-) Bob On Apr 30, 2012, at 1:33 PM, J. Landman Gay wrote: > On 4/30/12 3:26 PM, Bob Sneidar wrote: >> I installed Office 2004 (we have an Open License CD) and I still have >> the same problem. I wonder if they fixed this in 5.5.1 DP1? > > Are you and Craig on different operating systems? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Apr 30 17:26:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 30 Apr 2012 14:26:05 -0700 Subject: [OT] Gatekeeper Message-ID: Just got a newsletter from Apple with this link to a page about the Mountain Lion Gatekeeper ID: https://developer.apple.com/resources/developer-id/ Probably old news to some folks but thought it would be worth sharing. Pete lcSQL Software From ambassador at fourthworld.com Mon Apr 30 17:33:02 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 14:33:02 -0700 Subject: Server doesn't send response code In-Reply-To: <4F9EDFBF.3080903@hyperactivesw.com> References: <4F9EDFBF.3080903@hyperactivesw.com> Message-ID: <4F9F050E.7020105@fourthworld.com> If the headers angle doesn't check out, this may be yet another job for O'Reilly to the rescue: PayPal APIs: Up and Running, 2nd Edition Monetizing Your Application with Payment Flows By Matthew A. Russell Released: April 2012 Updated just this month, it seems like the best resource on the subject. I picked up a copy last week. -- 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 bobs at twft.com Mon Apr 30 17:42:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 30 Apr 2012 14:42:35 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com><0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com><8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com><855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com><4F9EF72A.9000709@hyperactivesw.com> <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> Message-ID: <51ECB86D-2302-46A0-A026-CED25DA95314@twft.com> Public Beta Kodiak Mac OS X 10.0 Cheetah Mac OS X 10.1 Puma Mac OS X 10.2 Jaguar Mac OS X 10.3 Panther Mac OS X 10.4 Tiger Mac OS X 10.5 Leopard Mac OS X 10.6 Snow Leopard Mac OS X 10.7 Lion Mountain Lion Bob On Apr 30, 2012, at 2:21 PM, DunbarX at aol.com wrote: > I am on OSX 10.5 here in my office. > > > Which is that, Krazy Kat? > > > I will try it on my 10.6 machine at home... > > > Craig From ambassador at fourthworld.com Mon Apr 30 17:44:03 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 14:44:03 -0700 Subject: Characters that can be used in an array key In-Reply-To: References: Message-ID: <4F9F07A3.8090706@fourthworld.com> Dar Scott wrote: > On Apr 30, 2012, at 9:54 AM, Richard Gaskin wrote: > >> While that article is still being finished, from what I've seen in >> Mark Waddingham's example code it seems that the only character we >> must avoid in array keys is NULL, since that's used internally as >> a delimiter between the key and the value. > > I think this limitation is a feature we can do without. I think most > people have run across it and some not recognizing it have pulled > their hair out. > > This will come up more as people explore unicode. You will not see > NULs in UTF-8 except for the actual original NUL. You can use UTF-8 > safely as a key. However, someone might reasonably try some form of > UTF-16 in which the NUL will show up as a ghost character. > > This also might come up with binary. A person might try using the > binary form of an identifier of some sort not realizing the zero > bytes would cause trouble. I agree that it would be nice to support this for Unicode, but doing so would require changing at least the format of arrayEncode/arrayDecode, if not substantial portions of the underlying code for both arrays and custom properties. Doable (everything ultimately is in computing), and for Unicode arguably essential, but not likely to happen next week. > I would support the removal of this feature and, in general, all > special meanings of NUL in all of LiveCode. (It can stay in legacy > external interfaces.) So many people have found arrays so useful for so many thousands of things that I'm not sure I would advocate removing them because their keys can't handle the subset of data which may contain NULL characters. While worth revising at first opportunity, to date I don't recall it being reported as an issue here or in the forums. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Mon Apr 30 17:46:53 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 30 Apr 2012 17:46:53 -0400 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <51ECB86D-2302-46A0-A026-CED25DA95314@twft.com> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com><0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com><8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com><855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com><4F9EF72A.9000709@hyperactivesw.com> <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> <51ECB86D-2302-46A0-A026-CED25DA95314@twft.com> Message-ID: <50F8319A-7B18-4144-B9F9-7A7DC0A33A28@verizon.net> Should that last one be "OS X Mountain Lion"? On Apr 30, 2012, at 5:42 PM, Bob Sneidar wrote: > Public Beta Kodiak > Mac OS X 10.0 Cheetah > Mac OS X 10.1 Puma > Mac OS X 10.2 Jaguar > Mac OS X 10.3 Panther > Mac OS X 10.4 Tiger > Mac OS X 10.5 Leopard > Mac OS X 10.6 Snow Leopard > Mac OS X 10.7 Lion > Mountain Lion From coiin at verizon.net Mon Apr 30 17:48:25 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 30 Apr 2012 17:48:25 -0400 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <50F8319A-7B18-4144-B9F9-7A7DC0A33A28@verizon.net> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com><0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com><8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com><855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com><4F9EF72A.9000709@hyperactivesw.com> <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> <51ECB86D-2302-46A0-A026-CED25DA95314@twft.com> <50F8319A-7B18-4144-B9F9-7A7DC0A33A28@verizon.net> Message-ID: <24AF302E-E114-4D04-B9FA-2EEE798FD3EC@verizon.net> I meant "OS X 10.8 Mountain Lion" On Apr 30, 2012, at 5:46 PM, Colin Holgate wrote: > Should that last one be "OS X Mountain Lion"? From jhj at jhj.com Mon Apr 30 18:00:45 2012 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 30 Apr 2012 15:00:45 -0700 Subject: [Bug 10199] New: Office Excel Clipboard Translation In-Reply-To: <24AF302E-E114-4D04-B9FA-2EEE798FD3EC@verizon.net> References: <8CEF50E1F019695-1838-14A5B@webmail-m037.sysops.aol.com><8CEF51489B14EA6-1838-15008@webmail-m037.sysops.aol.com><0B3BC351-4445-4800-882F-0E9A8B9403B8@twft.com><8CEF5226FF09A1B-1838-15B7D@webmail-m037.sysops.aol.com><855A2B4B-EEE2-4591-93E7-96829011C5E0@twft.com><4F9EF72A.9000709@hyperactivesw.com> <35D9F80B-BA87-445D-AB8C-550926A9E142@twft.com> <8CEF52E57C9D851-1838-165C0@webmail-m037.sysops.aol.com> <51ECB86D-2302-46A0-A026-CED25DA95314@twft.com> <50F8319A-7B18-4144-B9F9-7A7DC0A33A28@verizon.net> <24AF302E-E114-4D04-B9FA-2EEE798FD3EC@verizon.net> Message-ID: <331C7B5C-8B44-4F00-B4CC-9FF5762A1A73@jhj.com> I'm hoping for OS X 10.9 Fritz the Cat On Apr 30, 2012, at 2:48 PM, Colin Holgate wrote: > I meant "OS X 10.8 Mountain Lion" > > > On Apr 30, 2012, at 5:46 PM, Colin Holgate wrote: > >> Should that last one be "OS X Mountain Lion"? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Apr 30 18:20:10 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 30 Apr 2012 16:20:10 -0600 Subject: Characters that can be used in an array key In-Reply-To: <4F9F07A3.8090706@fourthworld.com> References: <4F9F07A3.8090706@fourthworld.com> Message-ID: <1FDAD632-614D-4BC4-B15F-73A74E945A1C@swcp.com> On Apr 30, 2012, at 3:44 PM, Richard Gaskin wrote: > While worth revising at first opportunity, to date I don't recall it being reported as an issue here or in the forums. I have brought this up every two or three years for a long time. Perhaps it is listed as an enhancement request. Perhaps, I am the only one who sees this as a flaw. I am not advocating doing away with arrays. I am advocating doing them right. This "feature" (bug) should have been fixed before arrayEncode() was created, immediately before if not well before. I'm sure it is possible to create new arrayEncode and ArrayDecode that work for old values generated by arrayEncode() and handle NUL. LiveCode should be as simple and as clean as possible. We have the world getting complicated around us and it we need an anchor in Livecode where concepts are unified and kept simple but rich and powerful. Also, LiveCode should be low anxiety. If there is a hole in arrays, were are there also holes? If NUL breaks things here, do they break sorting, too? A programmer does not know until he does the tests. I ask people, do you know? What else breaks with NUL? One should not have to experiment to find out the meaning of a language element. Sure, it can be documented. Every time a caveat sentence has to be added to complete documentation, the language erodes. NUL terminated strings in the externals interface have been a pain for externals programming since the beginning and many have complained about that. The iOS externals interface, even though lacking some traditional features, is much superior to the traditional desktop externals interface. I'm not advocating doing away with externals or even the traditional interface, I'm just suggesting that these issues be addressed. Dar From jacque at hyperactivesw.com Mon Apr 30 18:30:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2012 17:30:35 -0500 Subject: Server doesn't send response code In-Reply-To: <4F9F050E.7020105@fourthworld.com> References: <4F9EDFBF.3080903@hyperactivesw.com> <4F9F050E.7020105@fourthworld.com> Message-ID: <4F9F128B.6080202@hyperactivesw.com> On 4/30/12 4:33 PM, Richard Gaskin wrote: > If the headers angle doesn't check out, this may be yet another job for > O'Reilly to the rescue: > > PayPal APIs: Up and Running, 2nd Edition > Monetizing Your Application with Payment Flows > By Matthew A. Russell > Released: April 2012 > > > Updated just this month, it seems like the best resource on the subject. > I picked up a copy last week. Do you think this will tell me why libURL is failing? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Apr 30 18:32:34 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 15:32:34 -0700 Subject: Server doesn't send response code In-Reply-To: <4F9F128B.6080202@hyperactivesw.com> References: <4F9F128B.6080202@hyperactivesw.com> Message-ID: <4F9F1302.50104@fourthworld.com> J. Landman Gay wrote: > On 4/30/12 4:33 PM, Richard Gaskin wrote: >> If the headers angle doesn't check out, this may be yet another job for >> O'Reilly to the rescue: >> >> PayPal APIs: Up and Running, 2nd Edition >> Monetizing Your Application with Payment Flows >> By Matthew A. Russell >> Released: April 2012 >> >> >> Updated just this month, it seems like the best resource on the subject. >> I picked up a copy last week. > > Do you think this will tell me why libURL is failing? I may have missed that post. Has that been determined to be the root cause? -- 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 Mon Apr 30 18:43:35 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 15:43:35 -0700 Subject: Characters that can be used in an array key In-Reply-To: <1FDAD632-614D-4BC4-B15F-73A74E945A1C@swcp.com> References: <1FDAD632-614D-4BC4-B15F-73A74E945A1C@swcp.com> Message-ID: <4F9F1597.6020500@fourthworld.com> Dar Scott wrote: > I am not advocating doing away with arrays. I am advocating doing > them right. This "feature" (bug) should have been fixed before > arrayEncode() was created, immediately before if not well before. Back in the olden days when people still used Usenet, there was a lengthy thread in comp.sys.mac.hypercard in which Christopher Watson of the SuperCard team and Kevin Calhoun of the HyperCard team debated almost to the point of fisticuffs the approach each team took toward language enhancements. Calhoun's position was that the HC team felt it was very important to get a feature absolutely right before rolling it out, that the syntax had to have a good feel to it and the feature itself be complete. He noted that many times the team was willing to hold off on a feature until it met their standards. Watson's position could be summarized as, "Yeah, but we ship." ;) HyperCard died three years later, while SuperCard is still being enhanced to this day. Software that's been around long enough becomes a collection odd stories that explain the many anomalies it will possess. It doesn't correct them, just explains them. I believe array support in MetaCard predates the Unicode standard. I agree that the current situation is less than ideal, and indeed NULL-terminated strings are the bane of many programmers who now find themselves faced with Unicode. So it goes. I know many deep changes are occurring throughout the code base to accommodate Unicode ever better. I'd be surprised if this isn't one of them, but there's such a long list it may take a while to address. Software is a complex business, even on short-lived products. The only thing more complex is to be successful enough to survive until your data structures become obsolete by new standards. :) -- 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 Apr 30 18:43:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 1 May 2012 00:43:45 +0200 Subject: Server doesn't send response code In-Reply-To: <4F9EDFBF.3080903@hyperactivesw.com> References: <4F9DEF59.8080701@hyperactivesw.com> <4F9EDB53.5040909@fourthworld.com> <4F9EDFBF.3080903@hyperactivesw.com> Message-ID: <523FCC2A-81DE-452A-9928-35254B2651FA@economy-x-talk.com> Hi Jacque, What is the character set defined in your PayPal account? Look somewhere in profile>more options. Is it UTF8? Another long shot: try setting the user agent to either "-" (that's a dash) or the user agent of a common browser. What about switching to PHP? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We will have room for new projects after 1 June. Contact me now and be first in line. On 30 apr 2012, at 20:53, J. Landman Gay wrote: > Maybe. Mark S. suggested the same thing. The default POST header for Content-Type is "application/x-www-form-urlencoded", which is what he uses. I believe content-length is also sent by default. I don't know what other things should be sent in the headers, but would like to know. > > The thing is, the POSTs and responses do go through. Everything appears to work; I get the data and PayPal responds to my POST correctly. The only thing that doesn't work is (apparently) no response code is sent. The one exception are script errors, where PayPal does register an error 500. Othewise no codes appear in PayPal's history. > > If it weren't for the fact that PayPal continues to resend requests so many times, I'd just forget about it. I have all the data I need, and it's verified. For now, I've put a check into the script that just drops duplicate resends silently. That works, but I'd rather the server didn't get hit on so much. After enough resends, PayPal registers a failure and stops, but I'm not sure how many failures it will allow before it decides my server isn't operative and drops the account. I don't even know if that's how it works, but I don't want to chance it. From mwieder at ahsoftware.net Mon Apr 30 19:10:04 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 30 Apr 2012 16:10:04 -0700 Subject: Gatekeeper In-Reply-To: References: Message-ID: <27187155265.20120430161004@ahsoftware.net> Pete- Monday, April 30, 2012, 2:26:05 PM, you wrote: > Probably old news to some folks but thought it would be worth sharing. I got that email too, and it was news to me. I'm removing the (OT) from the subject line, as this seems quite relevant. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Mon Apr 30 19:16:43 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 30 Apr 2012 17:16:43 -0600 Subject: Characters that can be used in an array key In-Reply-To: <4F9F1597.6020500@fourthworld.com> References: <1FDAD632-614D-4BC4-B15F-73A74E945A1C@swcp.com> <4F9F1597.6020500@fourthworld.com> Message-ID: I doubt that anybody is to go say "my code broke" when this is fixed. I understand the collection of odd stories, but LiveCode is for everybody not just the priesthood. I think the issue here is more than unicode; binary data applies. Thank you for putting up with my mock crankiness. Dar On Apr 30, 2012, at 4:43 PM, Richard Gaskin wrote: > Dar Scott wrote: > > > I am not advocating doing away with arrays. I am advocating doing > > them right. This "feature" (bug) should have been fixed before > > arrayEncode() was created, immediately before if not well before. > > Back in the olden days when people still used Usenet, there was a lengthy thread in comp.sys.mac.hypercard in which Christopher Watson of the SuperCard team and Kevin Calhoun of the HyperCard team debated almost to the point of fisticuffs the approach each team took toward language enhancements. > > Calhoun's position was that the HC team felt it was very important to get a feature absolutely right before rolling it out, that the syntax had to have a good feel to it and the feature itself be complete. He noted that many times the team was willing to hold off on a feature until it met their standards. > > Watson's position could be summarized as, "Yeah, but we ship." > > ;) > > HyperCard died three years later, while SuperCard is still being enhanced to this day. > > Software that's been around long enough becomes a collection odd stories that explain the many anomalies it will possess. It doesn't correct them, just explains them. > > I believe array support in MetaCard predates the Unicode standard. > > I agree that the current situation is less than ideal, and indeed NULL-terminated strings are the bane of many programmers who now find themselves faced with Unicode. > > So it goes. > > I know many deep changes are occurring throughout the code base to accommodate Unicode ever better. I'd be surprised if this isn't one of them, but there's such a long list it may take a while to address. > > Software is a complex business, even on short-lived products. The only thing more complex is to be successful enough to survive until your data structures become obsolete by new standards. :) > > -- > 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 Mon Apr 30 19:52:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2012 16:52:00 -0700 Subject: Characters that can be used in an array key In-Reply-To: References: Message-ID: <4F9F25A0.60707@fourthworld.com> Dar Scott wrote: > I doubt that anybody is to go say "my code broke" when this is > fixed. I understand the collection of odd stories, but LiveCode > is for everybody not just the priesthood. I think the issue here > is more than unicode; binary data applies. Agreed on all fronts. Would be nice. It'll get there. > Thank you for putting up with my mock crankiness. My only disappointment is that you weren't crankier - I could use a snack right about now, and you've been known to show good taste in the selection of food that you throw. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at lcsql.com Mon Apr 30 19:53:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 30 Apr 2012 16:53:58 -0700 Subject: Gatekeeper In-Reply-To: <27187155265.20120430161004@ahsoftware.net> References: <27187155265.20120430161004@ahsoftware.net> Message-ID: Yeah I guess it's not totally off topic. I believe there was a thread a while back about Gatekeeper and the dire warning that would ensue in Mountain Lion if a user tried to install an app that wasn't signed. Pete On Apr 30, 2012 4:10 PM, "Mark Wieder" wrote: > Pete- > > Monday, April 30, 2012, 2:26:05 PM, you wrote: > > > Probably old news to some folks but thought it would be worth sharing. > > I got that email too, and it was news to me. I'm removing the (OT) > from the subject line, as this seems quite relevant. > > -- > -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 bvlahos at mac.com Mon Apr 30 20:55:31 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 30 Apr 2012 17:55:31 -0700 Subject: SoCal LUG meeting: May 3, Pasadena In-Reply-To: <4F9ECEF3.9070109@fourthworld.com> References: <4F9ECEF3.9070109@fourthworld.com> Message-ID: <5F97C2C9-532F-4968-B65F-9C7C3B6F92D0@mac.com> I look forward to seeing folks there and demonstrating my soon to be released LiveCode Task List IDE plugin lcTaskList. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 30, 2012, at 10:42 AM, Richard Gaskin wrote: > Same place, same time, same good food, more great conversation about getting the most out of LiveCode - details in the forum: > > > > -- > 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