Re: Slow write to sqlite on usb sticks

2012-04-25 Thread Terry Judd

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 
mailto:terry.j...@unimelb.edu.au>>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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Ken Corey
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.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Slow write to sqlite on usb sticks

2012-04-25 Thread Peter Haworth
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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reposition single-line text to the left or right?

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reposition single-line text to the left or right?

2012-04-25 Thread Nicolas Cueto
> 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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] ROR Difference between has one and belongs to one

2012-04-25 Thread Mark Wieder
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
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



Re: Time-Stamping Demo programs #2

2012-04-25 Thread Bill Vlahos
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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Mark Wieder
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
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Time-Stamping Demo programs #2

2012-04-25 Thread Mark Wieder
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
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Mark Smith

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Slow write to sqlite on usb sticks

2012-04-25 Thread Terry Judd
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Pierre Sahores
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 | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Tereza Snyder

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.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reposition single-line text to the left or right?

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Pierre Sahores
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 | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Scott Rossi
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.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Andre Garzia
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 | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> __**_
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reposition single-line text to the left or right?

2012-04-25 Thread Nicolas Cueto
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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Casey is now in the App Store

2012-04-25 Thread Andre Garzia
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 | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> __**_
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Casey is now in the App Store

2012-04-25 Thread J. Landman Gay
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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Console Error - what does it mean?

2012-04-25 Thread Thomas McGrath III
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
3mcgr...@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 > 0x8d9d7d0> 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: set cursor to none not works on Win7?

2012-04-25 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: set cursor to none not works on Win7?

2012-04-25 Thread 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.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Building Win standalones on a Mac

2012-04-25 Thread Mark Schonewille
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: set cursor to none not works on Win7?

2012-04-25 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Building Win standalones on a Mac

2012-04-25 Thread Richmond

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Economy-x-Talk's fabulous Error Parsing Service down?

2012-04-25 Thread Mark Schonewille
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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: set cursor to none not works on Win7?

2012-04-25 Thread 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?




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


set cursor to none not works on Win7?

2012-04-25 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Economy-x-Talk's fabulous Error Parsing Service down?

2012-04-25 Thread Francis Nugent Dixon

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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Time-Stamping Demo programs #2

2012-04-25 Thread Francis Nugent Dixon

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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Simulator oddness

2012-04-25 Thread Graham Samuel
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?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Mike Bonner
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
> >>> kl...@major.on-rev.com
> >>>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Michael Doub
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
>>> kl...@major.on-rev.com
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Mike Bonner
Could also do something like

repeat (the number of grc of me) times
delete grc 1
end repeat
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Economy-x-Talk's fabulous Error Parsing Service down?

2012-04-25 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Bob Sneidar
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
>> kl...@major.on-rev.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Tim Jones
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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Michael Doub
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
> kl...@major.on-rev.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Time-Stamping Demo programs #2

2012-04-25 Thread Tim Jones
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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Mark Schonewille
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
> 
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Bob Sneidar
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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Klaus on-rev

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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread 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!


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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS Console Error - what does it mean?

2012-04-25 Thread Graham Samuel
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  0x8d9d7d0> 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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Bob Sneidar
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
> kl...@major.on-rev.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Colin Holgate
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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Economy-x-Talk's fabulous Error Parsing Service down?

2012-04-25 Thread Ken Corey

Anyone know why the Error Parsing service from Economy-x-Talk is down?

Thanks,

-Ken

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Get the members of a group

2012-04-25 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Get the members of a group

2012-04-25 Thread 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.  ;-)

Thanks
Mike



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode cgi and https?

2012-04-25 Thread Curt Ford
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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reposition single-line text to the left or right?

2012-04-25 Thread Ken Ray

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: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/  

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Time-Stamping Demo programs #2

2012-04-25 Thread Kay C Lan
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.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode