Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
A server .lc file is parsed by the server and only it's output is ever sent to the browser (not the source code), so the code is safe :) On 22/05/2014 05:31, Nakia Brewer wrote: Afternoon all, As I venture down the road of learning what the wonders of LC Server scripts can do I find myself

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
, then you will only see the include… command and not the content of the complete confidential script. Regards, Matthias Am 22.05.2014 um 10:01 schrieb John Craig j...@splash21.com: A server .lc file is parsed by the server and only it's output is ever sent to the browser (not the source code

[ANN] Full justification for fields

2014-05-23 Thread John Craig
Thanks to Dave Kilroy for sharing the work around and the generosity of Mark Stephens of Simulytics for donating the code back to the LiveCode community, a new function is available to fully justify LiveCode text fields. LiveCode version = 6.5 is required as it uses the measureText function

Re: [ANN] Full justification for fields

2014-05-25 Thread John Craig
I've just uploaded 2 new versions. The first has a slight performance tweak (which fixes a bit of sloppy programming!) and may save a few cycles when processing larger amounts of text. The second upload uses the offset function instead of the charIndex property, so will will work with the

[ANN] MobGUI V1.26

2014-06-07 Thread John Craig
MobGUI = 1.25 is now working with all versions of LC6/7 (community and commercial). The option to create an ipa file alongside the app when building for iOS has been added. This was in an old separate iOS plugin with some other useful functions, which should also make their way into MG

Re: [ANN] MobGUI V1.26

2014-06-09 Thread John Craig
Browser loads url OK for me in LC6, but not 7 - which I assume is an LC bug as it's the exact same code in the behavior for the control - I'll check it out today and file a QCC. The main fix was that the plugin actually runs in LC7. I don't think the any of the native controls are created

Re: [ANN] MobGUI V1.26

2014-06-09 Thread John Craig
QCC bug 12614 http://quality.runrev.com/show_bug.cgi?id=12614 On 07/06/2014 21:23, Colin Holgate wrote: With this version, how do you create a nav bar that has a title, or a tab bar that has buttons in it? I only seem to be able to make gray rectangles. Also, the browser object seems not to

Re: Learning about server

2014-06-10 Thread John Craig
Any areas in particular that interest you? I was speaking to someone recently about writing a book on LC server - not sure how much interest there would be, but here is the current list of possible topics; Basic .lc server scripts Sessions Basic logging in and out with sessions SQL primer

Re: Learning about server

2014-06-10 Thread John Craig
I wasn't thinking about writing the big book of everything you can conceivably do with LiveCode Server :D More like The Hitchhiker's Guide To LiveCode Server... with some suitably large, friendly message on the cover ... I still buy books - I'd rather leaf through a hard copy after staring at

Re: Learning about server

2014-06-10 Thread John Craig
@lists.runrev.com Sent: Tue, Jun 10, 2014 9:01 am Subject: Re: Learning about server Hi John,, I would pre-order! Best regards, Marc Op 10-jun.-2014, om 11:56 heeft John Craig j...@splash21.com het volgende geschreven: Any areas in particular that interest you? I was speaking to someone recently

Re: Learning about server

2014-06-11 Thread John Craig
That's a pretty cool reference site - nice! B) On 10/06/2014 20:02, Simon Smith wrote: Hi Richard I would be happy to contribute to LCJ and it will be interesting to see what you have setup. Writing a book would be a mammoth task - and I for one, would not be certain just how large a target

Re: Learning about server

2014-06-11 Thread John Craig
Don't be sad - the reason for posting the topics was for feedback :D The security topic would appear naturally when talking about logging in, etc. (but a dedicated topic would be possible). A few examples that work nicely with LC... SSL connections for encrypting all traffic to/from browser

Re: Handlers for reading/writing image density info in PNG/JPEG?

2014-06-13 Thread John Craig
Hi, Trevor. Check out http://splash21.com/downloads/sQuiRtGPL.zip There's a function in the library for creating PNG images and also the required functions for deflate compression and crc32 checksums - maybe those will help you getting started on the PNG side of things. :) On 12/06/2014

Re: Nested Repeat loops

2014-06-21 Thread John Craig
You could wrap the repeats in a try structure - stick the following script in a button... on mouseUp try repeat with i = 1 to 10 repeat with j = 1 to 10 repeat with k = 1 to 10 put i j k wait for 2 millisecs with messages

Re: SQL Join question

2014-06-21 Thread John Craig
What database are you using? The following should work with MySL (and maybe others) If tableA was empty or both tables didn't have any overlapping primary key values, then this would work, but I'm assuming there's a primary key in there that would mess things up. INSERT INTO tableA SELECT *

Re: SQL Join question

2014-06-21 Thread John Craig
I really should have started with '0, field2' in the example below - assuming field 1 is the primary key.. If you have an auto incrementing primary key 'id' as the first field in both tables... INSERT INTO tableA SELECT 0, field1, field2, field3, etc... FROM tableB

Re: Learning about server

2014-06-25 Thread John Craig
to get it up and running - and I'll also add a captcha image to prevent robots... http://8up.uk On 10/06/2014 10:56, John Craig wrote: Any areas in particular that interest you? I was speaking to someone recently about writing a book on LC server - not sure how much interest there would

Re: Learning about server

2014-06-26 Thread John Craig
when using 8up.uk http://elementarysoftware.com/beta/this=that/this=that-beta.html And count me as interested in any LC Server book. — Scott Morrow On Jun 25, 2014, at 2:19 PM, John Craig j...@splash21.com wrote: I've created a url shortening service with LC server that I want to write up

Re: Learning about server

2014-06-26 Thread John Craig
... Powered by LiveCode Community Server It would hilite the URL, http://8up.uk/M; but not copy it. ~Roger Sent from my Android tablet On Jun 25, 2014 5:19 PM, John Craig j...@splash21.com wrote: I've created a url shortening service with LC server that I want to write up as an example app

Re: Learning about server

2014-06-26 Thread John Craig
using 8up.uk http://elementarysoftware.com/beta/this=that/this=that-beta.html And count me as interested in any LC Server book. — Scott Morrow On Jun 25, 2014, at 2:19 PM, John Craig j...@splash21.com wrote: ___ use-livecode mailing list use-livecode

LiveCode Server: start session problem

2014-06-26 Thread John Craig
I decided to add some session code to my server project, but the following command causes an error on 6.6.1 on Linux (community and commercial); start session LC 6.6.2 had another problem, which is why I rolled back to 6.6.1. I've now also tried 6.6.0 and 6.5.2 - 'start session' also bombs

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
took a punt on 6.7.0 DP4 - same problem . On 26/06/2014 12:12, John Craig wrote: I decided to add some session code to my server project, but the following command causes an error on 6.6.1 on Linux (community and commercial); start session LC 6.6.2 had another problem, which is why I

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
the latest version - linux and windows and sessions are working fine for me. whats happening when you use start session ? Simon On Thu, Jun 26, 2014 at 1:12 PM, John Craig j...@splash21.com wrote: I decided to add some session code to my server project, but the following command causes an error

Re: Learning about server

2014-06-26 Thread John Craig
My take#2 at the url validation caused the uppercase problem. I've just updated it to take#3 - uppercase letters are welcome! Problem is I don't use regular expressions that often, so I get rusty - may take another few tweaks yet, but fingers crossed :) On 26/06/2014 12:41, Dave Kilroy

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
wrote: Hi John I am running the latest version - linux and windows and sessions are working fine for me. whats happening when you use start session ? Simon On Thu, Jun 26, 2014 at 1:12 PM, John Craig j...@splash21.com wrote: I decided to add some session code to my server project

Re: Learning about server

2014-06-30 Thread John Craig
That looks like a pretty cool project ;) On 30/06/2014 04:04, RunRevPlanet wrote: Hi, I too love what can be done in LiveCode server. I have been busy working on a Web App development tool based around LiveCode Community Server for the past months. I hope to have the Beta up and running

Re: [on-rev] libURL and https

2014-07-09 Thread John Craig
Hi, Scott. I couldn't post to an https URL with on-rev the last time I tried, but the workaround was to use wget via shell. The example below is for android push notifications and shows how to send headers as well as the post data. put wget \ --header= quote

Re: Problem with filter and regex

2014-07-10 Thread John Craig
Which item delimiter are you using? For example, if it's a TAB, maybe you can specify a pattern ending with a tab, but disallowing any further tabs.. On 10/07/2014 14:42, Magicgate Software - Skip Kimpel wrote: I think I have found the cause of the issue, now I need to figure out how to

Re: Pending messages

2014-07-14 Thread John Craig
Using Mark's example, another possible option is make the custom property a condition for the repeat; repeat until KK = 25 or the cClicked of btn Cancel is true set the vis of btn B to false wait 20 ticks with messages set the vis of btn B to true wait 20 ticks with messages

Re: Pending messages

2014-07-14 Thread John Craig
new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/14/2014 11:34, John Craig wrote: Using Mark's example, another possible option is make the custom property a condition for the repeat; repeat until KK = 25

Re: delete specified text?

2014-07-23 Thread John Craig
Try; replace Specific word with empty in line X of fld Y I t would be rather jolly if delete Specific word from line X of fld Y could be implemented. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Standard Library

2014-08-12 Thread John Craig
Agree - matchText and matchChunk would both benefit from the ability to specify an array to fill with matches - we don't always know exactly how many will appear .. http://quality.runrev.com/show_bug.cgi?id=11391 On 12/08/2014 02:12, Peter Haworth wrote: I've always kinda thought the return

Re: revDataFromQuery and DELETE FROM

2014-08-18 Thread John Craig
Peter's correct - use revExecuteSQL since no records are returned On 17/08/2014 19:20, Peter Haworth wrote: Hi Dan, What is the text after revdberr? Strange that the row is being deleted but here's a couple of things that come to mind. You've probably already checked that tTableName and

Re: Usng an image to disable a group

2014-09-22 Thread John Craig
Hi, Pete. Try setting the group's traversalOn property to false when you cover it with the image. Does that solve the problem? On 20/09/2014 17:20, Peter Haworth wrote: I have a stack with a series of groups on it. I need to control the order in which data is entered into the groups. The

Re: Does LC Have A touchLoc() Function?

2014-09-22 Thread John Craig
The last time I checked, a touchMove was always fired after a touchStart (so you can reliably pick up the initial position). TouchMove events can then track each individual touch id. I think mouseLoc always reported the position of the first touch. On 21/09/2014 21:09, Scott Rossi wrote:

Re: Anyone using Livecode Server for sending PushNotifications?

2014-09-25 Thread John Craig
Hi, Matthias. Here's an old message on the subject.. http://article.gmane.org/gmane.comp.ide.revolution.user/175914/ the files mentioned in the post have been renamed to .lcx as LiveCode Server is now running on that machine. On 25/09/2014 08:21, Matthias Rebbe | M-R-D wrote: Hi, i am

[ANN] MobGUI plugin : mobile development aid

2011-06-08 Thread John Craig
Following a good response after the live demo on livecode.tv, I've posted the latest version of the MobGUI plugin. It's still in it's infancy, so feedback is much appreciated! http://www.splash21.com/MobGUI/ JC ___ use-livecode mailing list

Re: [ANN] MobGUI plugin : mobile development aid + movie player question

2011-06-10 Thread John Craig
Thanks to everyone for the feedback - it's still early days for the plugin! I added the iOS movie player object yesterday and it's working ok, but I notice that if I switch it to full screen then press fforward that the result is a black screen and it doesn't return to the card or show the

Re: [ANN] MobGUI plugin : mobile development aid

2011-06-10 Thread John Craig
I posted a new version earlier today. The iOS movie player, and some experimental retina control resizing is included. Thanks for all the feedback so far. http://www.splash21.com/MobGUI/ On 09/06/2011 00:51, John Craig wrote: Following a good response after the live demo on livecode.tv

custom control group - strange behavior

2011-06-13 Thread John Craig
I have grouped objects together and set 'selectGroupedControls' to false to create a custom control. Usually this works no problem, but in this one case I have the following scenario; (The names are fictitious, but hopefully easier to follow) The group 'customControl' contains groups, labels

[ANN] MobGUI web site

2011-06-20 Thread John Craig
MobGUI is a plugin for quickly creating mobile prototypes and apps with LiveCode Version 0.05 is now available for download on http://mobgui.com Development is now paused so I can catch up with documentation - which shouldn't take too long. Thanks again to everyone who has tested and sent

Re: [ANN] MobGUI web site

2011-06-21 Thread John Craig
Thanks, John and Ken. I posted the same announcement on the forum :) I was up late last night, burning the midnight oil - documenting! On 21/06/2011 03:53, Ken Ray wrote: Agreed! BTW: I added MobGUI to the Other Controls page at the DropTools site; you may want to notify the LiveCode

Re: The Wait command

2011-06-24 Thread John Craig
Try something like; Put the millisecs + 5000 into tTime Repeat until the millisecs tTime or the uFlag of this card = true Wait for 100 millisecs with messages End repeat Sent from my iPhone On 24 Jun 2011, at 20:58, Pete p...@mollysrevenge.com wrote: Trying to figure out how to suspend

Re: The Wait command

2011-06-24 Thread John Craig
This works for what I understand the original scenario was. If you click button 1, it waits either until the 10 seconds has elapsed or until button 2 is pressed. :) Add 2 buttons to a new stack; 1st button script; on mouseUp set the uFlag of this card to false put the millisecs +

Re: Strange Loss Of Focus

2011-06-27 Thread John Craig
Possibility : Have a frontscript intercept mouseMoves and check if the screenMouseLoc is within the rect of stack yourStack. You can then act accordingly or just pass the mouseMove. HTH :) On 27/06/2011 23:31, Scott Rossi wrote: The message title would normally refer to me, but in this

Re: Anyone using MobGUI?

2011-07-03 Thread John Craig
Hi, Chipp. I'm (unsurprisingly!) using the plugin. I don't mean that as a joke - I actually started writing it to save me time on my own iOS projects. Other coders had a similar interest / need (feedback after a demo on LiveCode.TV) so it has now developed into it's current form. It works on

Re: [ANN] AndreGarzia.Com new web page.

2011-07-10 Thread John Craig
Nice! Easy on the eyes - and a good read, too! On 10/07/2011 05:05, Andre Garzia wrote: Hello Folks, It is full of joy and pride that I announce my website redesign here. Those that accessed my home page recently knew that it was not being updated often, actually, it was not being updated at

[ANN] MobGUI V0.12 : tab bar and buttons

2011-07-11 Thread John Craig
Hi, all. I've just updated the plugin and uploaded a new video to http://mobgui.com The test stack created in the video is available in the RunRev MobGUI forum. I created a few (basic) icons with GIMP (gimp.org) for the demo, but was thinking of compiling a list of the most useful general

Re: [ANN] MobGUI V0.12 : tab bar and buttons

2011-07-11 Thread John Craig
Thanks for the link - will check it out! Sent from my iPhone On 11 Jul 2011, at 23:06, Shao Sean shaos...@wehostmacs.com wrote: Using the new iOS external SDK you can (hopefully) tap in to the system and use the built-in icons (in the Constants section, scroll down for images)..

Fun DropTool

2011-07-14 Thread John Craig
I've just had a first attempt at creating a custom control with the rather nicely engineered DropTools palette from Sons of Thunder. It's a scalable android logo constructed from LC graphic objects - just a bit of fun! You can get it here if you're interested;

Re: Fun DropTool

2011-07-14 Thread John Craig
. Landman Gay wrote: On 7/14/11 7:52 AM, John Craig wrote: I've just had a first attempt at creating a custom control with the rather nicely engineered DropTools palette from Sons of Thunder. It's a scalable android logo constructed from LC graphic objects - just a bit of fun! Works great here. I'm

Re: Fun DropTool

2011-07-14 Thread John Craig
I've discovered that the head ( an oval graphic with startAngle = 0 and arcAngle = 180 ) gets displayed upside down on my android simulator, so the head is merging in with the body. If I change the startAngle to 180 then the effect is reversed: no head in the IDE, but I can see it in the

Problem testing on android simulator (Windows)

2011-07-16 Thread John Craig
I just set up LiveCode + JDK + android SDK on a Windows machine. Everything looks OK, android AVD manager is running, Test target is set, but when I click 'Test' I get the following; Unable to build app for testing: could not generate package manifest Is there another step I need to take

Re: Problem testing on android simulator (Windows)

2011-07-16 Thread John Craig
20:56, Roger Eller wrote: On Sat, Jul 16, 2011 at 3:20 PM, John Craig wrote: I just set up LiveCode + JDK + android SDK on a Windows machine. Everything looks OK, android AVD manager is running, Test target is set, but when I click 'Test' I get the following; Unable to build app for testing

Re: Problem testing on android simulator (Windows)

2011-07-16 Thread John Craig
I've tried with a unique id, not signing with anything - just want to run in emulator. All works OK on Mac - does Windows require anything extra? I don't see anything so far in the android release notes. :| Do you have a unique identifier for com.yourcompany.yourapp, and what other

Re: Problem testing on android simulator (Windows)

2011-07-16 Thread John Craig
Thanks for the suggestions, Roger. I'll have another go tomorrow! Sent from my iPhone On 16 Jul 2011, at 22:01, Roger Eller roger.e.el...@sealedair.com wrote: On Sat, Jul 16, 2011 at 4:46 PM, John Craig wrote: I've tried with a unique id, not signing with anything - just want to run

Re: Problem testing on android simulator (Windows)

2011-07-17 Thread John Craig
, John Craig wrote: I've tried with a unique id, not signing with anything - just want to run in emulator. All works OK on Mac - does Windows require anything extra? I don't see anything so far in the android release notes. :| That's so frustrating. I'm sorry I don't know what else to check

Re: Problem testing on android simulator (Windows)

2011-07-17 Thread John Craig
Could even be java related, it only seems to get stuck at the last hurdle as it tries to launch in the emulator. I'll let you know if the clean install is successful. On 17/07/2011 03:16, Roger Eller wrote: On Sat, Jul 16, 2011 at 9:45 PM, J. Landman Gay wrote: On 7/16/11 4:01 PM, Roger

Re: [ANN] iOS and Android apps

2011-07-17 Thread John Craig
Hey, John - Love the READ app - I bet you were a teacher's nightmare at school ;p On 16/07/2011 07:29, John Allijn wrote: Hi, Apple just approved two updates of my apps: READ is now universal (one executable for iPhone and iPad). It has also some minor updates in the way it displays text.

Re: [ANN] New plugin AAG|Workspaces

2011-07-21 Thread John Craig
Silly?? Sounds like a useful tool - I'm off to give it a go - ta! On 20/07/2011 22:47, Andre Garzia wrote: Folks, I've just launched a little plugin. I've used it since forever, hope you guys find it useful. Check out at http://andregarzia.com/page/aagworkspaces Basically it allows you to

Re: [ANN] LiveCode.tv event #34

2011-07-29 Thread John Craig
Hi, Björnke. I sent a mail from my phone earlier, but it was acting a bit wierd, so I don't know if it really sent. I can present tomorrow if still required. John. On 29/07/2011 13:57, Björnke von Gierke wrote: Tomorrows event will be of reduced scope due to a lack of volunteers. All

Re: Append to Contextual Menus

2011-08-03 Thread John Craig
Check out LiveCode.TV http://blog.livecode.tv/2011/08/event-34-wrap-up/ :) On 03/08/2011 01:46, Bob Sneidar wrote: Hi all. This may have been discussed before. I want to add a contextual menu to fields in addition to the one the IDE is presenting, so I can add things like validations while

Re: Append to Contextual Menus

2011-08-03 Thread John Craig
dispatchContextMenuPick end dispatchContextMenuPick On 03/08/2011 10:53, John Craig wrote: Check out LiveCode.TV http://blog.livecode.tv/2011/08/event-34-wrap-up/ :) On 03/08/2011 01:46, Bob Sneidar wrote: Hi all. This may have been discussed before. I want to add a contextual menu to fields

Re: regex to locate text and colorize it in a list

2011-08-09 Thread John Craig
Hi, Roger. Here's a quickie - create a stack with two fields ('in' and 'out') put your data into field 'in' and the following into the button script; on mouseUp set itemDel to tab put fld in into tData put the num of lines in tData into tLines repeat with i = 1 to tLines

Re: regex to locate text and colorize it in a list

2011-08-09 Thread John Craig
That should be exactly what the snippet does - maybe I got your test data wrong. An occurrence of the first item in the fourth item is colorised. Sent from my iPhone On 10 Aug 2011, at 00:25, Roger Eller roger.e.el...@sealedair.com wrote: On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote

[ANN] Spell With Kyle

2011-09-05 Thread John Craig
I've just submitted an app for iPad to the app store - an educational spelling app for kids. http://youtu.be/pmXzE9TVBaQ It's waiting for review - anyone got an idea of the current likely waiting time for processing? JC ___ use-livecode mailing

Re: [ANN] Spell With Kyle

2011-09-05 Thread John Craig
(or rejected!) Andy On 5 Sep 2011, at 12:13, John Craig wrote: I've just submitted an app for iPad to the app store - an educational spelling app for kids. http://youtu.be/pmXzE9TVBaQ It's waiting for review - anyone got an idea of the current likely waiting time for processing? JC

Re: [ANN] Spell With Kyle

2011-09-05 Thread John Craig
dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- On Sep 5, 2011, at 4:13 AM, John Craig wrote: I've just submitted an app for iPad to the app store - an educational spelling app for kids. http

Re: Brush Tool in iOS

2011-09-11 Thread John Craig
Hi, Randy. Here's a simple example using a graphic. Just create a new stack, add a line graphic called 'draw', set it's lineSize to 10 then put the following script into the card script. Double click clears the drawing, and each mouseDown starts a new line. :) local sDrawing on

Re: [ANN] Spell With Kyle

2011-09-14 Thread John Craig
usually a week. Mine seem to go into review on the 6th day, then depending on how complex they are can be approved in anything from a few hours to a day (or rejected!) Andy On 5 Sep 2011, at 12:13, John Craig wrote: I've just submitted an app for iPad to the app store - an educational

Spelling app promo codes

2011-09-15 Thread John Craig
If anyone else has time and would like to test the spelling app for iPad, drop me a line and I'll send a promo code - still have plenty left. The iPhone version is still waiting review/approval. :) ___ use-livecode mailing list

Re: Spelling app promo codes

2011-09-15 Thread John Craig
. Thanks, Marc On Sep 15, 2011, at 4:27 AM, John Craig wrote: If anyone else has time and would like to test the spelling app for iPad, drop me a line and I'll send a promo code - still have plenty left. The iPhone version is still waiting review/approval

Re: My Apps and iOS 5.0

2011-10-14 Thread John Craig
Hi, Randy. I get the black areas showing up on the 'What Time' and 'Forest Alphabet' apps using iOS5. I also get the same from my old 'Snowballer' app. John. On 14/10/2011 02:46, Randy Hengst wrote: Hi All, When running my apps under iOS 5.0 there are numerous screen re-draw problems…

Re: My Apps and iOS 5.0

2011-10-14 Thread John Craig
Alphabet for the app store? I'm pretty sure that the Spell app was 4.6.4. John. On 14/10/2011 15:14, Randy Hengst wrote: Hi John, What about your Spell with Kyle? be well, randy On Oct 14, 2011, at 9:08 AM, John Craig wrote: Hi, Randy. I get the black areas showing up on the 'What

Re: get value autoincrement into db sqlite

2011-10-24 Thread John Craig
Hi, Alessandro. put revDataFromQuery(,, gDB, SELECT LAST_INSERT_ROWID()) into tId will do the trick. On 24/10/2011 16:03, Alessandro Pisoni wrote: how do I get the value of an autoincrement field in a table sqlite after I inserted a record with INSERT ect ect thanks Alessandro Pisoni

Re: get value autoincrement into db sqlite

2011-10-24 Thread John Craig
the transaction? Will the value I rolled back be reused next insert? Or maybe a transaction locks the database and prevents inserts/updates... I have always wondered about how transactions affect things like this. Bob On Oct 24, 2011, at 8:37 AM, John Craig wrote: Hi, Alessandro. put revDataFromQuery

[ANN] MobGUI V0.25 - new scroller

2011-11-10 Thread John Craig
Hi, all. I've added the first version of a new scroller control for android (or iOS or both). I'd be grateful for any feedback on performance on actual devices. Thanks :) J ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: [ANN] MobGUI V0.25 - new scroller

2011-11-10 Thread John Craig
http://forums.runrev.com/viewtopic.php?f=54t=9484 http://youtu.be/9n7sI6UHjBg On 10/11/2011 10:23, John Craig wrote: Hi, all. I've added the first version of a new scroller control for android (or iOS or both). I'd be grateful for any feedback on performance on actual devices. Thanks

Anyone writing game apps for mobile?

2011-11-24 Thread John Craig
Totally amazing how far on LC is now compared to a year ago - especially with the new accelerated rendering. Are there any games already out there using the new features apart from Galactic Gauntlet? I had some time to mess about with a couple of demos earlier and it looks like we can easily

Android date pickers and other custom controls.

2011-12-14 Thread John Craig
I've added a couple of features to the android scroller (it's iOS friendly as well!). You can now use scrollers to create date picker style controls for android or other custom controls for both platforms. As always, feedback on performance on real devices is much appreciated :D

Re: [ANN] libQR

2012-01-25 Thread John Craig
Hi, Roger. All versions (1-40) and error correction levels (L,M,Q,H) are supported and you can specify the module size. As the library writes to a LiveCode image object, you can also rescale it after generation. I'm still busy with the MobGUI to-do list and more android elements are on the

Re: [ANN] libQR

2012-01-25 Thread John Craig
True - there are many possibilities for symbol driven systems! B) On 25/01/2012 14:22, Andre Garzia wrote: John, Cool =) That, allied with Monte barcode reader external is a great combo. =) On Wed, Jan 25, 2012 at 11:14 AM, John Craigj...@splash21.com wrote: Hi, Roger. All versions

Re: [ANN] libQR

2012-01-25 Thread John Craig
miscellaneous codes up to around version 30 with no problems. I'll get a web page up soon with the latest version. John. On 25/01/2012 10:52, John Craig wrote: Hi, everyone. I had a project requirement to generate QR codes from within LC and have just completed the library. I'll release

Re: Persistent Variables during recursion

2012-01-26 Thread John Craig
Hi, Bob. Here's one way of doing it. In the first call, pIndex is empty, so some initialization is performed. The parameters are all passed with each recursive call, but pSame is always the same value. HTH :) on mouseUp test 12345, 1, 99 end mouseUp command test pData, pChange,

Re: [ANN] libQR

2012-01-30 Thread John Craig
LOL - sQuiRt coincidentally contains Q and R :D On 31/01/2012 00:09, Roger Eller wrote: On Mon, Jan 30, 2012 at 6:52 PM, John Craig wrote: Again - thanks for feedback. No-one has had any real problems and I'm pleased to announce that version 40-M codes are being generated on my machine

[ANN] sQuiRt now available

2012-02-02 Thread John Craig
I'm pleased to annouce that sQuiRt (formerly LibQR), a library for generating QR codes, is now available. It's good for Mac / Windows / Linux / Mobile. It was suggested (by Matthias Rebbe) that writing to an image file rather than an image object will allow it to be used on LiveCodeServer as

Re: [ANN] sQuiRt now available

2012-02-03 Thread John Craig
Thanks, Andre - I've not been able to resist the impulse so far :D On 02/02/2012 18:49, Andre Garzia wrote: Just bought it, now, I need to fight the irresistible impulse to place barcodes in everything! =) On Thu, Feb 2, 2012 at 3:42 PM, John Craigj...@splash21.com wrote: I'm pleased to

Re: [ANN] sQuiRt now available

2012-02-03 Thread John Craig
, Matthias Am 02.02.2012 um 18:42 schrieb John Craig: I'm pleased to annouce that sQuiRt (formerly LibQR), a library for generating QR codes, is now available. It's good for Mac / Windows / Linux / Mobile. It was suggested (by Matthias Rebbe) that writing to an image file rather than an image

[ANN] sQuiRt V1.1.0 update

2012-02-05 Thread John Craig
The sQuiRt library for generating QR codes can now be used with LiveCode server. You can view an online demo at; http://splash21.on-rev.com/qr.lc The web page and download have been updated; http://splash21.com/sQuiRt.php ___ use-livecode mailing

Re: [ANN] sQuiRt V1.1.0 update

2012-02-05 Thread John Craig
schrieb John Craig: The sQuiRt library for generating QR codes can now be used with LiveCode server. You can view an online demo at; http://splash21.on-rev.com/qr.lc The web page and download have been updated; http://splash21.com/sQuiRt.php ___ use

Re: QR Code mobile devices the desktop

2012-02-07 Thread John Craig
Hi, Nicolas. I had thought the exact same thing - there's no need for additional hardware if you already have a capable phone / tablet. I put a simple demo together - just paste the following code into a card and add a button that calls 'serverReset' and a field called 'Data' to show incoming

Re: QR Code mobile devices the desktop

2012-02-07 Thread John Craig
Just noticed that tType should be 'text' or 'text/html', etc... in socketRespond put Content-Type: tType CRLF after tHeaders On 07/02/2012 14:07, John Craig wrote: Hi, Nicolas. I had thought the exact same thing - there's no need for additional hardware if you already have a capable

Re: [ANN] Casey's Solitaire published on Android Market

2012-02-09 Thread John Craig
Kudos for getting it published! Any timescale for the iOS version? I think my old android phone has died :( On 08/02/2012 17:23, J. Landman Gay wrote: My first Android release: https://market.android.com/details?id=com.hyperactivesw.casey The Market accepted the upload without any

Re: [ANN] Casey's Solitaire published on Android Market

2012-02-09 Thread John Craig
Hi, Thomas. I've been writing PNGs directly from LiveCode - can you send an example of one of the misbehaving ones? I'm curious if I can identify the rogue data and maybe strip it out. John. On 09/02/2012 14:57, Thomas McGrath III wrote: Jac, Congratulations, Looks great. I hope it does

Re: Frame-based animation

2012-02-11 Thread John Craig
Hi, Richard. I tried a frame based demo animation with one main animation loop that locks the screen then updates all objects. I found that instead of trying to update certain objects at frame X, etc, updating everything on every frame worked best (for this particular demo anyway). Objects

Re: Stray Puts

2012-02-24 Thread John Craig
In a word - YES. I'll give this a try - thanks ;) Sent from my iPhone On 24 Feb 2012, at 18:49, Bob Sneidar b...@twft.com wrote: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function

iPhone App testing via TestFlight

2012-04-06 Thread John Craig
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

character recognition

2012-04-06 Thread John Craig
For interested parties. http://splash21.com/Gestures.html :D ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: character recognition

2012-04-09 Thread John Craig
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

Re: Need advice before submitting iPhone app

2012-04-12 Thread John Craig
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

  1   2   >