Kickstarter.livecode

2012-06-29 Thread Thomas McGrath III
I think it's time we started discussing a Kickstarter.livecode program of some 
sort. Being at the conference really drove home a need for a system like this 
for livecoders from livecoders. Please take a look at kickstarter on the web 
and see what you think for our plugin/external/control developers as well as 
users.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: OT: Tidbits from Jersey

2012-06-29 Thread Thomas McGrath III
Just remember "What happened in the Oval Room, stays in the Oval Room" !

Had a great time……

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 29, 2012, at 7:22 AM, Mark Rauterkus wrote:

> Hi,
> 
> #1,
> Radio news in Atlantic City reports that new local laws will soon allow the
> playing of electronic gambling in and around casinos. There is a flood of
> mobile app demand screaming for developers if I ever heard of one. Patrons
> who want to gamble that way will need to be on site and check out a device,
> it seems.
> 
> 
> #2,
> I have had a wonderful time at the RunRev Developer event. Everyone is so
> nice and helpful. Next year we may have more to talk about in this space at
> RR if I get into high gear.  Thanks and safe travels to all.
> 
> 
> #3, interesting news and other report about mobile in the civic space from
> a trusted source, Steve.
> 
> [DW] Report on mobile games and civic engagement ("Civic Tripod" -- with
> ties to learning and art)Inbox
> 
> We are excited to announce a new report on mobile games and civic
> engagement -- with ties to art games and learning.  Check out our
> interviews with game designers, profiles of mobile innovations, and
> cross-linking essays. The report is published by MIT Press/IJLM, and
> was initially funded by Intel.
> (a) The report is available here: http://CivicTripod.com
> (b) Official stub at MIT Press: http://ijlm.net/node/13163
> 
> Do you have comments?  We would love to hear your reflections on the
> report.  Our goal is to start a conversation that looks across cases,
> and lightly ties theory from multiple disciplines together.  Some
> questions for you: What would you add to this report?  What is the
> next step for research in this area?  Is this format a useful way to
> reach practitioners and academics?  Let us know.
> 
> Sincerely (in no particular order), the report co-authors:
> Benjamin Stokes, Jeff Watson, Susana Ruiz
> University of Southern California, Schools of Cinema and Communication
> 
> p.s. -- Here's a teaser from the report: "This report addresses the
> mobile frontier for civic games, which is fragmented across the
> applied domains of activism, art and learning. We argue that these
> three domains can and should speak jointly — an approach we call the
> civic “tripod.” Our site structure is part of its contribution, with a
> curated database of projects and interviews from the field."
> 
> 
> Group home for Newswire - Steven Clift's Democracies Online Newswire:
> http://groups.dowire.org/groups/newswire
> 
> 
> 
> -- 
> --
> Ta.
> 
> 
> Mark Rauterkus   mark.rauter...@gmail.com
> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with Neighborhood
> Learning Alliance
> 
> http://NeighborhoodLearning.org
> 
> http://Rauterkus.blogspot.com
> http://FixPA.wikia.com
> http://CLOH.wikia.com
> 412 298 3432 = cell
> ___
> 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: acceleratedRendering is my friend

2012-06-28 Thread Thomas McGrath III
Chris,

Yes, that bug is in the using of visual effects which i believe they are aware 
of with VE, there is also an issue with responsiveness using them.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 28, 2012, at 4:30 PM, Chris Sheffield wrote:

> I just checked this in LC 5.5.1 to make sure, and there is still a bug that 
> exists where the screen will flash when toggling acceleratedRendering if 
> you're moving from card to card using a visual effect. A ticket has already 
> been submitted. The way around it is to set the property in a handler, and 
> then "send" that handler.
> 
> Just thought I'd share in case anyone else runs into this. :-)
> 
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> 
> On Jun 28, 2012, at 2:11 PM, Chipp Walters  wrote:
> 
>> Just wanted to share a couple other key points Tom and I discussed after
>> lunch today:
>> 
>> The object of the control you are setting the dynamic or scrolling property
>> of MUST be a toplevel control. IOW, the *parent* of the control MUST be the
>> card. So, you can't accelerate objects within groups, but rather the group
>> itself. Consequently, you don't set properties of any objects in groups.
>> You can use the property inspector for the control and it will "stick" and
>> you don't need to set it again.
>> 
>> Use the preOpenCard handler to manage acceleration (turn on and then off on
>> closeCard) on a per card basis, so as to conserve memory. You don't want a
>> lot of images cached from different cards clogging up memory!
>> 
>> As mentioned, the three property values are static, scrolling and dynamic.
>> Everything by default is static. Sprites or any items who are not hidden by
>> the rect of a group are dynamic. Groups and included controls are scrolling
>> (just set the group, not the controls within the group).
>> 
>> HTH
>> 
>> On Thursday, June 28, 2012, Matthias Rebbe wrote:
>> 
>>> Hi Tom,
>>> 
>>> thanks for sharing this with us.
>>> 
>>>>>> . Immediately before moving an object turn on dynamic or when
>>> scrolling a group turn on scrolling
>>>>>> once moving the scroll or object has already been cached and drawn so
>>> these are no longer necessary. No need to turn these things on and leave
>>> them on because they are not needed and the result is that things will
>>> actually slow down.
>>> 
>>> What do you mean with that? Lets say i have a card, where several obejcts
>>> in a group shall be scrolled. At the moment i do the complete scroller
>>> stufff (creating the scroller and so on) in the open card handler.  Is this
>>> the right way. Or what do you mean with "immediately before
>>> moving/scrolling?
>>> 
>>> Regards,
>>> 
>>> Matthias
>>> 
>>> 
>>> Am 28.06.2012 um 06:31 schrieb Thomas McGrath III:
>>> 
>>>> From what Mark said the preopencard is the place to do it and I have not
>>> seen any flashing in 5.5.1
>>>> 
>>>> -- Tom McGrath III
>>>> http://lazyriver.on-rev.com
>>>> 3mcgr...@comcast.net
>>>> 
>>>> On Jun 27, 2012, at 2:27 PM, Chris Sheffield wrote:
>>>> 
>>>>> Tom,
>>>>> 
>>>>> Thanks for the info. Very useful.
>>>>> 
>>>>> I haven't actually tried any of this yet, but is there still a problem
>>> where the screen flashes when toggling acceleratedRendering on/off in
>>> preOpenCard and closeCard? I was seeing this a couple months back, so I'm
>>> curious if that still exists. I haven't tried it with LC 5.5.1. It may only
>>> happen when moving from card to card using a visual effect.
>>>>> 
>>>>> Thanks,
>>>>> Chris
>>>>> 
>>>>> 
>>>>> On Jun 27, 2012, at 9:57 AM, Thomas McGrath III 
>>> wrote:
>>>>> 
>>>>>> After sitting with Mark W. for an hour over lunch yesterday I was able
>>> to both understand the role of acceleratedRendering and the best usage of
>>> it. It turns out that the order of when these commands are used is of
>>> utmost importance. I have been rewriting my code and have an instant
>>> increase in responsiveness in my scrolling groups.
>>>>>> 
>>>>>> In a nut shell:
>>>>>> 1. on preopenCard - set the

Re: acceleratedRendering is my friend

2012-06-28 Thread Thomas McGrath III
Matthias,

It was my understanding that for scrolling you would create the scroller at the 
preOpenCard after you set the acceleratedRendering and the layerMode:

on preOpenCard
   set the acceleratedRendering of this stack to true
set the layerMode of group "OptionGroups" of card "Settings1" to "scrolling"

… create scroller here
  end preOpenCard   



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 28, 2012, at 3:17 AM, Matthias Rebbe wrote:

> Hi Tom,
> 
> thanks for sharing this with us.
> 
>>>> . Immediately before moving an object turn on dynamic or when scrolling a 
>>>> group turn on scrolling
>>>> once moving the scroll or object has already been cached and drawn so 
>>>> these are no longer necessary. No need to turn these things on and leave 
>>>> them on because they are not needed and the result is that things will 
>>>> actually slow down.
> 
> What do you mean with that? Lets say i have a card, where several obejcts in 
> a group shall be scrolled. At the moment i do the complete scroller stufff 
> (creating the scroller and so on) in the open card handler.  Is this the 
> right way. Or what do you mean with "immediately before moving/scrolling?
> 
> Regards
> 
> Matthias
> 
> 
> Am 28.06.2012 um 06:31 schrieb Thomas McGrath III:
> 
>> From what Mark said the preopencard is the place to do it and I have not 
>> seen any flashing in 5.5.1
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Jun 27, 2012, at 2:27 PM, Chris Sheffield wrote:
>> 
>>> Tom,
>>> 
>>> Thanks for the info. Very useful.
>>> 
>>> I haven't actually tried any of this yet, but is there still a problem 
>>> where the screen flashes when toggling acceleratedRendering on/off in 
>>> preOpenCard and closeCard? I was seeing this a couple months back, so I'm 
>>> curious if that still exists. I haven't tried it with LC 5.5.1. It may only 
>>> happen when moving from card to card using a visual effect.
>>> 
>>> Thanks,
>>> Chris
>>> 
>>> 
>>> On Jun 27, 2012, at 9:57 AM, Thomas McGrath III  wrote:
>>> 
>>>> After sitting with Mark W. for an hour over lunch yesterday I was able to 
>>>> both understand the role of acceleratedRendering and the best usage of it. 
>>>> It turns out that the order of when these commands are used is of utmost 
>>>> importance. I have been rewriting my code and have an instant increase in 
>>>> responsiveness in my scrolling groups. 
>>>> 
>>>> In a nut shell:
>>>> 1. on preopenCard - set the acceleratedRendering of this stack to true 
>>>> (only on cards that ave scrolling or dynamic groups/objects
>>>> 2. Immediately before moving an object turn on dynamic or when scrolling a 
>>>> group turn on scrolling
>>>> once moving the scroll or object has already been cached and drawn so 
>>>> these are no longer necessary. No need to turn these things on and leave 
>>>> them on because they are not needed and the result is that things will 
>>>> actually slow down.
>>>> 3. Immediately after moving or scrolling an object turn off the scrolling 
>>>> or dynamic settings
>>>> 4. on closeCard - set the acceleratedRendering of this stack to false 
>>>> (turn it off since it is not needed)
>>>> 
>>>> 
>>>> This simple approach seems so obvious now and has immediate results.
>>>> 
>>>> The other thing that Ben and Mark showed me was that having large 
>>>> scrolling groups of object is much much much faster than using visual 
>>>> effects and switching cards.
>>>> 
>>>> More as I grok this….
>>>> 
>>>> -- Tom McGrath III
>>>> http://lazyriver.on-rev.com
>>>> 3mcgr...@comcast.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
>>> 
>>> 
>>> ___
>>> 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: acceleratedRendering is my friend

2012-06-27 Thread Thomas McGrath III
>From what Mark said the preopencard is the place to do it and I have not seen 
>any flashing in 5.5.1

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 27, 2012, at 2:27 PM, Chris Sheffield wrote:

> Tom,
> 
> Thanks for the info. Very useful.
> 
> I haven't actually tried any of this yet, but is there still a problem where 
> the screen flashes when toggling acceleratedRendering on/off in preOpenCard 
> and closeCard? I was seeing this a couple months back, so I'm curious if that 
> still exists. I haven't tried it with LC 5.5.1. It may only happen when 
> moving from card to card using a visual effect.
> 
> Thanks,
> Chris
> 
> 
> On Jun 27, 2012, at 9:57 AM, Thomas McGrath III  wrote:
> 
>> After sitting with Mark W. for an hour over lunch yesterday I was able to 
>> both understand the role of acceleratedRendering and the best usage of it. 
>> It turns out that the order of when these commands are used is of utmost 
>> importance. I have been rewriting my code and have an instant increase in 
>> responsiveness in my scrolling groups. 
>> 
>> In a nut shell:
>> 1. on preopenCard - set the acceleratedRendering of this stack to true (only 
>> on cards that ave scrolling or dynamic groups/objects
>> 2. Immediately before moving an object turn on dynamic or when scrolling a 
>> group turn on scrolling
>> once moving the scroll or object has already been cached and drawn so these 
>> are no longer necessary. No need to turn these things on and leave them on 
>> because they are not needed and the result is that things will actually slow 
>> down.
>> 3. Immediately after moving or scrolling an object turn off the scrolling or 
>> dynamic settings
>> 4. on closeCard - set the acceleratedRendering of this stack to false (turn 
>> it off since it is not needed)
>> 
>> 
>> This simple approach seems so obvious now and has immediate results.
>> 
>> The other thing that Ben and Mark showed me was that having large scrolling 
>> groups of object is much much much faster than using visual effects and 
>> switching cards.
>> 
>> More as I grok this….
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.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
> 
> 
> ___
> 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


acceleratedRendering is my friend

2012-06-27 Thread Thomas McGrath III
After sitting with Mark W. for an hour over lunch yesterday I was able to both 
understand the role of acceleratedRendering and the best usage of it. It turns 
out that the order of when these commands are used is of utmost importance. I 
have been rewriting my code and have an instant increase in responsiveness in 
my scrolling groups. 

In a nut shell:
1. on preopenCard - set the acceleratedRendering of this stack to true (only on 
cards that ave scrolling or dynamic groups/objects
2. Immediately before moving an object turn on dynamic or when scrolling a 
group turn on scrolling
once moving the scroll or object has already been cached and drawn so these are 
no longer necessary. No need to turn these things on and leave them on because 
they are not needed and the result is that things will actually slow down.
3. Immediately after moving or scrolling an object turn off the scrolling or 
dynamic settings
4. on closeCard - set the acceleratedRendering of this stack to false (turn it 
off since it is not needed)


This simple approach seems so obvious now and has immediate results.

The other thing that Ben and Mark showed me was that having large scrolling 
groups of object is much much much faster than using visual effects and 
switching cards.

More as I grok this….

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: [ANN] mergExt $50 off conference special (for everyone)

2012-06-27 Thread Thomas McGrath III
I just paid for another 3 months. Monte and his externals SHOULD be here at the 
conference and people need to know about them and how to use them.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 27, 2012, at 10:11 AM, Chris Sheffield wrote:

> Indeed!
> 
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> 
> On Jun 27, 2012, at 7:12 AM, Andre Garzia  wrote:
> 
>> what they all said!!!
>> 
>> I really enjoy using the externals, they are very powerful!!!
>> 
>> On Wed, Jun 27, 2012 at 6:24 AM, William de Smet 
>> wrote:
>> 
>>> + 1 Keep it going Monte!
>>> 
>>> -
>>> Verstuurd vanaf mijn iPhone!
>>> 
>>> Op 27 jun. 2012 om 12:07 heeft Matthias Rebbe <
>>> matthias_livecode_150...@m-r-d.de> het volgende geschreven:
>>> 
 
 Am 27.06.2012 um 10:43 schrieb Gerry Orkin:
 
> Monte wrote:
> 
>> because mergExt will just keep getting better and I know at some point
>>> people will recognize what I'm trying to achieve and back it.
> 
> 
> Can I just add my voice to encourage iOS developers using LiveCode to
>>> think seriously about supporting this project? Monte is plugging gaps in LC
>>> iOS that RunRev is unlikely to ever get around to addressing - and he is
>>> listening to developers as he goes along and responding to our needs. It's
>>> a fantastic effort that is definitely worth supporting - and your iOS app
>>> will thank you for it :)
> 
 
 I agree about everything your wrote. 100%!!
 
 And his response time for support requests is awesome.
 
 Regards
 
 Matthias
 
> Gerry
> ___
> 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
>>> 
>> 
>> 
>> 
>> -- 
>> 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
> 
> 
> ___
> 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: [ANN] mergExt $50 off conference special (for everyone)

2012-06-26 Thread Thomas McGrath III
Monte,
Wish you were here. I brought my Redpark Serial cabe hoping to test it out with 
you. 

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 24, 2012, at 9:17 PM, Monte Goulding wrote:

> Hi Livecoders
> 
> I can't make it to the conference this year so I thought I'd celebrate the 
> event in my own way by offering everyone a special deal on mergExt. From now 
> until the end of the month there's $50 off on mergExt with 1 year of access 
> to updates. So instead of US$199 it's only US$149 for all 13 externals and a 
> drop tool. There's more externals and features coming really soon so this is 
> a great opportunity for anyone who has been eying off the suite.
> 
> For more information and to purchase go to http://mergext.com
> 
> Regards
> 
> --
> M E R Goulding 
> Software development services
> Bespoke application development for vertical markets
> 
> mergExt - There's an external for that!
> 
> ___
> 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: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-25 Thread Thomas McGrath III
Now that would be funny. 

Tom McGrath
Lazy River Software
www.lazyriversoftware.com

On Jun 25, 2012, at 5:12 PM, Colin Holgate  wrote:

> Sounds good. And what is Jo wearing?
> 
> 
> On Jun 25, 2012, at 4:51 PM, Thomas McGrath III  wrote:
> 
>> Finally checked in. Nice place. Found Jo. Red and Black dress. 
> 
> ___
> 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: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-25 Thread Thomas McGrath III
Finally checked in. Nice place. Found Jo. Red and Black dress. 

Tom McGrath
Lazy River Software
www.lazyriversoftware.com

On Jun 25, 2012, at 10:49 AM, Mark Wieder  wrote:

> Björnke-
> 
> Yes, that's my plan, depending on whether or not it's raining at the
> time (currently 40% chance of rain at the time we'll arrive).
> 
> -- 
> -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

___
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: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-24 Thread Thomas McGrath III
My wife and I will be driving to the event. I plan on leaving Pittsburgh around 
7 AM so I expect to arrive around 2 PM. I don't think I will be going by Newark 
though. Sorry, otherwise I would pick you guys up on the way. I'll see you 
there….



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 24, 2012, at 10:28 AM, Mark Wieder wrote:

> Scott-
> 
> Sunday, June 24, 2012, 2:29:40 AM, you wrote:
> 
>> Hello Jacque,
> 
>> I'm also flying into the Philly airport at 2:30 PM on Monday.  I
>> had planned to catch a shuttle but if you and Mark wouldn't mind the
>> company I'd love to tag along. Getting to Atlantic City seems more
>> of an adventure than I would have imagined.
> 
> Yay! Now we've got Scott as well. The train station at the airport is
> right behind the baggage claim area at Terminal A. It's hot and humid
> in Philadelphia and I expect it is in Atlantic City as well.
> 
> -- 
> -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


___
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: Mobile Screen Design Without MobGUI

2012-06-22 Thread Thomas McGrath III
I certainly hope not. I bought and used MobGUI and had nothing but problems 
with it. 

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 22, 2012, at 5:15 PM, Roger Eller wrote:

> Be advised: My comments are only speculation, but here's what I think...
> 
> Based on the disappearance on John Craig, and RunRev posting demo videos
> that imply building for mobile is as easy as dragging OS-specific controls
> onto a canvas (and it looks like MobGUI being used), I think it is being
> absorbed into the LiveCode base.  I would even expect the possibility of
> such being announced at the conference.  But this is only me guessing.
> 
> ~Roger
> 
> 
> On Fri, Jun 22, 2012 at 3:49 PM, John Dixon wrote:
> 
>> 
>> Roll your own designs... make use of graphic effects... after all that's
>> what mobGUI does...:-) I do not think that the future of mobGUI is
>> uncertain, I am sure John Craig will be in touch about what is happening
>> with his product very soon.
>> 
>> Dixie
>> 
>>> From: mikeyt...@gmail.com
>> 
>>> So since the future of MG seems to be completely uncertain, and I have
>> not
>>> gotten a single one of my support requests answered since February,  for
>>> those of you that were not using it to develop applications, what were
>> you
>>> doing?  How were you getting the gradients and the like to make your apps
>>> look more like they belonged on iOS, for instance?
>> 
> ___
> 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: Mobile Screen Design Without MobGUI

2012-06-22 Thread Thomas McGrath III
I use tmControl for ALL of my standard iOS controls. For the rest I roll my 
own. Excellent support and updates from Scott too.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 22, 2012, at 3:35 PM, Chris Sheffield wrote:

> Check out Scott Rossi's tmControl. Excellent tool. And great support too!
> 
> http://tmtools.tactilemedia.com/tmcontrol/
> 
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> 
> On Jun 22, 2012, at 1:28 PM, Mikey  wrote:
> 
>> So since the future of MG seems to be completely uncertain, and I have not
>> gotten a single one of my support requests answered since February,  for
>> those of you that were not using it to develop applications, what were you
>> doing?  How were you getting the gradients and the like to make your apps
>> look more like they belonged on iOS, for instance?
>> ___
>> 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: ANN: Stars

2012-06-22 Thread Thomas McGrath III
Thanks Jim,

More information than I thought I needed to know about stars, but now I'm 
better informed. Very nice.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 22, 2012, at 12:30 PM, Jim Hurley wrote:

> As LiveCode announcements go, this one is pretty low key. All "Stars" does is 
> provide the code for drawing a star.
> 
> But there is a lesson for LiveCode to learn from the lowly five-pointed star, 
> the one on the US flag.
> 
> A star may be viewed in two ways:
> 
> 1)  Analytical Cartesian Geometry: A collection of 10 connected points (5 
> outside points, and 5 inside) in a  Cartesian coordinate system.
> 
> 2)  Euclidian Geometry: A collection of lines and angles without reference to 
> place or orientation.
> 
> The first is the Cartesian picture where the computation to draw the star is 
> executed using algebra, trigonometry, and/or analytic geometry. 
> 
> The other  picture is that of a figure in Euclidean space and the 
> construction is carried out geometrically, drawing lines with a given angular 
> relation to one another.
> 
> LiveCode favors the Cartesian picture employing its analytic tools to 
> generate a list of 10 points and presenting the list as a graphic by setting 
> the graphic to these points.
> 
> Here is how that code might look using those tools to draw a star in a 
> Cartesian coordinate system:
> 
>>  --FIrst, define the angles and lengths in the figure to be drawn
>>   put 36 into gamma
>>   put 18 into alpha
>>   put 200 into L
>>   --Next some trig. Not trivial.
>> 
>>   --Let r1 be the distance from the center of the star to the inner 
>> vertices. 
>>   put L*sine(alpha) /sine(gamma) into  r1
>> 
>>   --Let r2 be the distance from the center to the outer vertices
>>   put L*cosine(alpha) +  r1 * cosine(gamma) into r2
>> 
>>   --Start at the top of the star at a polar angle of 90 degrees
>>   put 90 into a
>>   --Circle around the ten verticies of the star
>>   --in increments of 360/10 = 36 degree, the polar angle between vertices.
>>   put 36 into da 
>>   repeat with i = 1 to 10 
>>  if i mod 2 = 1 then
>> put r2* cosine(a) into x
>> put r2* sine(a)  into y
>> put round(x+ x0) into x
>> put round(-y+y0) into y
>> put x,y & cr after tPoints--outer points
>>  else
>> put  r1* cosine(a) into x
>> put  r1* sine(a)  into y
>> put round(x+ x0) into x
>> put round(-y+y0) into y
>> put x,y & cr after tPoints--inner points
>>  end if
>>  add da to a -- next vertex
>>  --If you want to see the star form line by line.
>>  set the points of grc "Star" to tPoints
>>  end repeat
>>  --Close the loop
>>  put results & line 1 of results into tPoints
>>  set the points of grc "Star" to tPoints
> 
> 
> 
> And here is what the loop might look like if the star were expressed as a 
> geometrical figure: 
> 
>>put 2*360/5 into tAngle -- Pretty simple geometry here. 
>>put 200 into L
>>repeat with i = 1 to 5
>>  forward L
>>  right tAngle --at an exterior point
>>  forward L
>>  left tAngle/2 --at an interior point
>>   end repeat
> 
> 
> (After LC has  been taught how to execute "forward", "right", and "left".)
> 
> There has been talk for some time of promoting LC in education, even in K-12. 
> Great idea.
> 
> There has also been talk, more broadly, of rejuvenating the teaching of 
> mathematics --See the TED talk by Conrad Wolfram at:
> 
>
> http://www.ted.com/talks/lang/en/conrad_wolfram_teaching_kids_real_math_with_computers.htmlConrad
>  Wolfram
> 
> (Ken Ray will enjoy the stick figures at the end of the talk.)
> 
> From Wolfram's  talk: "I believe that correctly using computers is the silver 
> bullet for making math education work."  He cites particularly the use of the 
> computer in modeling and simulation. He anticipates scientists (geologist, 
> biologists, engineers) programing these simulations.
> 
> LiveCode has all the necessary analytical tools for such modeling and 
> simulation, but  it lacks the geometric tools, specifically Sprite Geometry 
> (aka Turtle Graphics.) 
> 
> For some years I have been promoting (spoken to Kevin on several occasions) 
> the addition of Sprite geometry into LC. I believe it would add significantly 
> to LC's penetration into the education market. It would allow kids to tackle 
> problems that are much too difficult using Cartesian analytical tools, but 
> quite straight forward when presented as problems in geometry--witness the 
> "Star" above.
> 
> It would also allow them easy access to game programming. The loop to set a 
> Fox graphic (control) chasing a Rabbit graphic (control) would look like this:
> 
>> repeat until the mouseClick
>>  tell "hare"
>>  --Move Hare in a circle.
>>  forward 2
>>  left 1
>>  put theLocation() into theHareLocation
>>  tell "fox"
>>  setheading direction(theHareLocation)
>>  forward 1
>>   

Re: ANN: PreOrder FieldTrip (31%)

2012-06-21 Thread Thomas McGrath III
Done, can't wait to see it in action.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 20, 2012, at 10:21 PM, Curry Kenworthy wrote:

> 
> We're now almost a third of the way on funding the most essential features 
> for FieldTrip! My heartiest thanks to this wonderful community. That's 
> extremely encouraging.
> 
> We still have the larger portion yet to be raised. This will be a powerful 
> text editing solution to bring out the best in any app that needs more than 
> plain text, and with a design equally suited to mobile and desktop! Please 
> preorder to pave the way and ensure that this rich text editor addon can be 
> available soon with the most useful features.
> 
> To reserve your copy of FieldTrip, click here:
> 
> 
> 
> Thank you.
> 
> Best wishes,
> 
> Curry Kenworthy
> (Author of WordLib, WordReport, SpreadLib, etc. ...)
> 
> ___
> 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: Microsoft Tablet Event in LA Just Wrapped

2012-06-18 Thread Thomas McGrath III
It seems Apple won't be the only one requiring apps only through the store and 
only certified Hardware. Seems Linux is the only holdout.


1Works exclusively with apps from the Windows Store.

Surface for Windows RT includes Office Home & Student 2013 RT Preview

2Works exclusively with printers, mice, and keyboards certified for Windows RT



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: where is the conference being held?

2012-06-18 Thread Thomas McGrath III
Dolce Seaview, http://www.stocktonseaview.com/

More info at http://www.runrevlive.com/venue.html

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 18, 2012, at 8:52 PM, Colin Holgate wrote:

> This page in the RunRev store:
> 
> http://www.runrev.com/store/product/runrevlive12-earlybird-hotel/
> 
> says:
> 
> RunRevLive.12 Ticket Plus Hotel, Stay with us in Dolce Basking Ridge for the 
> RunRev Event of the Year, Get your ticket to four days of intensive LiveCode 
> learning. This event will take place in New Jersey,  East Coast US,  26th - 
> 29th June 2012,  in the Dolce Seaview hotel. 
> 
> Those two hotels are about 120 miles apart. Which one is the conference at?
> 
> 
> ___
> 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: Android/mobGUI/screen sizes

2012-06-16 Thread Thomas McGrath III
Chipp,

I went to your blog and took a look at alt-button, very nice update.
One thing, In your blog under the title of the entry it states "by on June 16, 
2011 in Livecode". 
Is that date off by a year intentionally or is there an error in the blog 
software date system?
Just curious I guess.

Nice update.

P.S. See you at the conference in NJ…


Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 16, 2012, at 4:15 AM, Chipp Walters wrote:

> Yep, Richard, I agree.
> 
> After asking the mobGUI author to please share the source code with those
> of us who have purchased his libraries, and receiving a resounding, "No!",
> I decided to roll many of my own mobile controls, and created dropTools for
> some of them.
> 
> After talking with Jacque, it's clear there are too many screensizes to
> code for, so we need to create projects which dynamically resize based upon
> screensize. That's one of the reasons I chose to build my tools with the
> ability to set the sizes programmatically with no loss of quality.
> 
> One of the better ones is a configurable button with icon which can be set
> programatically, so for instance if one was trying to make a series of tile
> buttons, one for each filename and assign a different icon and color and
> highlight based on file type, it would be possible. Works with both mobile
> and desktop.
> 
> More info here: http://blog.chipp.com/category/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: iOS: print to pdf crashing app, please help

2012-05-30 Thread Thomas McGrath III
I could not get this to work for me either.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:

> So I simply need to print a card to a pdf file. I've looked at the docs, and 
> even viewed Kevin's very handy video from the Small Business Academy. No 
> matter what I try, my app crashes when I try to print the card. Here's my 
> code:
> 
> put the temporary folder & "/summary.pdf" into tDocPath
> open printing to PDF tDocPath
> print this card into the printRectangle
> close printing
> 
> All goes well until the third line. Am I doing something wrong, or have I 
> found a nasty bug? Anyone else out there printing to pdf files under iOS?
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.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: Upgrade to Lion

2012-05-30 Thread Thomas McGrath III
Peter,

Totally serious question: When do you switch off that computer controlled 
traction control??? What are you doing that you need to turn it off? I have to 
ask because I have this VDC switch in my Pathfinder that I have absolutely no 
idea what it is or why I would ever need to turn it off. I also have an 
Override OD (overdrive) switch which I do turn off when I am towing my boat or 
motorcycle trailer. But the VDC switch still baffles me. I fear I might be a 
fossilized old guy. P.S. I use an acronym OTS for old people like myself that 
get set in my ways and get cranky and grumpy when anyone (especially someone 
younger than me) suggests doing something differently than what I am used to. 
Oh, OTS stands for "Old Timer Syndrome"


Current Version: Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 29, 2012, at 1:29 PM, Peter Haworth wrote:

> I bought a new car recently.  It has automatic transmission so it decides
> when to shift gears.  Except that there's a mode where I can use it like
> manual transmission and control when the gear shifts happen.  It also has
> computer controlled traction control.  But I can switch it off if I want to
> do things where I would rather it wasn't in control (don't ask!).
> 
> Pete
> lcSQL Software 


___
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: Is there a way to shorten this script? (100 graphics and 200 lines of text)

2012-05-10 Thread Thomas McGrath III
With the rreHardcopy external you also gain access to any local Drop Box 
accounts as well as AirPrint printers etc.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 10, 2012, at 8:20 AM, Peter M. Brigham, MD wrote:

> On May 8, 2012, at 2:57 PM, William de Smet wrote:
> 
>> Now searching the forum for a way to use AirPrint (but that one seems
>> sort of impossible at the moment).
> 
> I have a set of handlers that sends a print job from within LC to whatever 
> the currently available printer is, whether a USB-connected printer or a 
> wireless printer, with no intervening print dialogs. If I understand 
> AirPrint, that's what it seems designed to do. Let me know if this is what 
> you're looking for.
> 
> -- Peter
> 
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
> 
> 
> ___
> 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: Is there a way to shorten this script? (100 graphics and 200 lines of text)

2012-05-08 Thread Thomas McGrath III
To print using AirPrint you can use the rreHardCopy external from Livecode 
which is included with you external examples:

Together with a script like this:

on AirPrint
if not rreHardcopyIsAvailable() then
 answer "Printing is not available at this time." titled "Printing 
Error"
 exit to top
end if
   put the short name of this card into tPrintJob
   export snapshot from rect (the rect of graphic "PrintArea") of this card to 
tPNG as PNG
   put tPNG into URL ("file:" & specialFolderPath("documents") & "/" & 
tPrintJob & ".png") --if you want to store it as well
  
   put (specialFolderPath("Documents") & "/" & tPrintJob & ".png") into tPDFFile
rreHardcopyPrintPDF tPDFFile, tPrintJob

if the result = "printing cancelled" then
 exit to top
end if
end AirPrint

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 8, 2012, at 2:57 PM, William de Smet wrote:

> Thanks everyone for the contribution!
> 
> I first tried Mark Schonewille's script and that one works immediately.
> My app is almost finished now.
> Now searching the forum for a way to use AirPrint (but that one seems
> sort of impossible at the moment).
> 
> greetings,
> 
> William
> 
> 
> 2012/5/8 Dar Scott :
>> Whoops.  Still not right.  The line number has to go up twice as fast as the 
>> object number.
>> 
>> This can be done with a separate loop variable or doing some math on the 
>> repeat loop variable.
>> 
>> It might be easiest to count graphic objects and then calculate the lines as 
>> (2*i-1) and (2*i)
>> 
>> Dar
>> 
>> On May 8, 2012, at 12:38 PM, Paul Dupuis wrote:
>> 
>>> repeat with i = 1 to 200 step 2
>>>  put "d"&i into tObjectName
>>>  set the backgroundcolor of grc tObjectName to the text of line i of fld 
>>> "in"
>>>  set the foregroundcolor of grc tObjectName to the text of line i+1 of fld 
>>> "in"
>>> end repeat
>>> 
>>> 
>>> 
>>> On 5/8/2012 2:32 PM, John Dixon wrote:
 repeat with i = 1 to 200 step 2
>  set the backgroundcolor of grc "d1" to the text of line i of fld "in"
>  set the foregroundcolor of grc "d1" to the text of line i+1 of fld "in"
> end repeat
>>> 
>>> --
>>> Paul Dupuis
>>> Cofounder
>>> Researchware, Inc.
>>> http://www.researchware.com/
>>> http://www.twitter.com/researchware
>>> http://www.facebook.com/researchware
>>> http://www.linkedin.com/company/researchware-inc
>>> 
>> 
>> 
>> ___
>> 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: Apple being Evil, again...

2012-05-01 Thread Thomas McGrath III
Andre,

Brian from DropBox has stated that the apps that were rejected up until 4 hours 
ago are using the old sdk and not the new one. 

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 1, 2012, at 9:57 PM, Andre Garzia wrote:

> Thomas,
> 
> There are reports of apps being rejected EVEN AFTER THE SDK CHANGE. It
> appears that Apple does not want users to be able to create Dropbox
> accounts from the auth screen which is bogus because they allow such
> behavior for their iCloud stuff.
> 
> Damn.
> 
> I wish Android would dominate the market.
> 
> Andre
> 
> On Tue, May 1, 2012 at 10:14 PM, Thomas McGrath III wrote:
> 
>> That issued was solved by Dropbox for users who use their SDK to access
>> dropbox themselves:
>> 
>>> Here is a version of the iOS SDK that removes both the "Desktop Version"
>> link and the create account link:
>>> 
>> https://www.dropbox.com/s/36domfjo6pz1ulf/dropbox-ios-sdk-1.2.2-b2.tar.gz
>>> 
>>> We're looking for a better long term solution, but in the mean time this
>> should allow your app to be approved.
>> 
>> It would seem that the login page the user is directed to is changed in
>> the new sdk without the link to buy more space (which is against the app
>> store rules).
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On May 1, 2012, at 8:52 PM, Andre Garzia wrote:
>> 
>>> Folks,
>>> 
>>> I want to release Dropbox support for LiveCode soon but it appears that
>>> Apple is being evil again. It is rejecting any application that connects
>> to
>>> Dropbox.
>>> 
>>> Checkout the thread at:
>>> 
>>> http://forums.dropbox.com/topic.php?id=59350
>>> 
>>> And that is why I use webOS and Android as my mobile platforms.
>>> 
>>> Silly Apple
>>> Andre
>>> 
>>> --
>>> 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
>> 
>> 
>> ___
>> 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


___
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: Apple being Evil, again...

2012-05-01 Thread Thomas McGrath III
That issued was solved by Dropbox for users who use their SDK to access dropbox 
themselves:

> Here is a version of the iOS SDK that removes both the "Desktop Version" link 
> and the create account link:
> https://www.dropbox.com/s/36domfjo6pz1ulf/dropbox-ios-sdk-1.2.2-b2.tar.gz
> 
> We're looking for a better long term solution, but in the mean time this 
> should allow your app to be approved.

It would seem that the login page the user is directed to is changed in the new 
sdk without the link to buy more space (which is against the app store rules).

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 1, 2012, at 8:52 PM, Andre Garzia wrote:

> Folks,
> 
> I want to release Dropbox support for LiveCode soon but it appears that
> Apple is being evil again. It is rejecting any application that connects to
> Dropbox.
> 
> Checkout the thread at:
> 
> http://forums.dropbox.com/topic.php?id=59350
> 
> And that is why I use webOS and Android as my mobile platforms.
> 
> Silly Apple
> Andre
> 
> -- 
> 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


___
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: Mobile Apps: Battery Life Native vs LiveCode

2012-04-30 Thread Thomas McGrath III
Rod,

As far as I can tell LC is using the same lower level calls to location 
tracking and other iOS services as is available via Xcode which would lead me 
to believe that there should not be any differences to battery life while using 
these calls. I am not sure how the calls to location services are handled on 
Android devices, so i can't tell if LC is doing something different there.

A lot of optimization goes on with native Apple apps to keep things like 
location tracking etc. from being too slow and/or draining the battery. After 
this process they release the api for public use with any optimized code 
inherent in the libraries. (There are some api's that Apple has ultra-optimized 
but are not available to the developer at this time, but location tracking is 
not one of them.)

That said, not all of LC's features (image object, field object) have been 
fully optimized for iOS usage and as such 'could' result in more of a drain 
than a C++ counterpart (it would have to be a very slight difference however) 
and any specific iOS functions can be handled using an external which should 
then give the same results as using those libraries in Xcode.

Some things will be slower using the LC object versus a native iOS object but 
this should not drastically affect anything other than speed.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 30, 2012, at 8:49 AM, Roderick McCALL wrote:

> Dear John and Colin,
> 
> Thanks for your replies… Actually I am not sure if it is worse than anything 
> else but I'll put it this way it is currently the subject of much debate here 
> in the office.  I am genuinely interested in any stats people may have 
> collected as we would rather go cross-platform if it is practical for our 
> work.
> 
> Kind regards,
> 
> rod
> 
> 
> Dr Rod McCall
> Interdisciplinary Centre for Security, Reliability and Trust (SnT)
> The University of Luxembourg
> www.securityandtrust.lu
> Twitter: rodlux blog: www.rodmc.com
> 
> 
> 
> 
> 
> 
> 
> On Apr 30, 2012, at 2:11 PM, John Dixon wrote:
> 
> 
> 
> What would make you think that mobile apps built with liveCode are any better 
> or any worse than mobile apps built with other software ?
> 
> We are currently looking into using LiveCode for a variety of location-aware 
> programs that we want to test on Android and IOS. One key issue is battery 
> life with many viewing any cross-platform tools as having a negative impact. 
> Therefore does anyone have a view or objective measures for this across a 
> range of mobile tasks or have experience of these issues from their existing 
> projects?
> 
> We will most likely continue to use LiveCode for internal rapid prototyping 
> however for large scale deployment battery life is clearly an issue.
> 
> Dr Rod McCall
> Interdisciplinary Centre for Security, Reliability and Trust (SnT)
> The University of Luxembourg
> www.securityandtrust.lu
> Twitter: rodlux blog: 
> www.rodmc.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: 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: [OT-ish] an app I made…

2012-04-20 Thread Thomas McGrath III
Colin,

Congratulations on the release. I would love to see the list of features that 
were 'not' suited well for LiveCode.

Thanks


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 19, 2012, at 10:25 PM, Colin Holgate wrote:

> I'm a big proponent of using the best tool for the job. That clashes somewhat 
> with client requirements, they like to use the product that leads to the 
> least amount of effort for the end user. In my day job that means that a lot 
> of what I do is Flash stuff for web sites. Flash still isn't the best tool 
> for some of what I do, I'd quite like to use Director more, and even Unity.
> 
> When it comes to mobile apps you can really use any tool you like, and that's 
> a huge area for LiveCode to be used for. I'm even writing a book on using 
> LiveCode for making mobile apps! However, LiveCode can't do everything, yet, 
> and I was approached to make an app in LiveCode, that had features not well 
> suited to it. I gather that other LiveCode experts were consulted, and they 
> too thought that some of the features would be impossible to do in LiveCode.
> 
> So, using some of my daytime skills I made the app as a Flash app. It's live 
> in the iOS App Store and the Amazon stores (including for Kindle Fire). It's 
> not quite live in the Google Play store, they have a weird submission process 
> that has caused delays. It'll be there one of these days.
> 
> The app is targeted at Education, with the ideal user being a youngster who 
> wants to be entertained as they learn to read. It has a prominent placing in 
> the Amazon store, in the education section at least, and it has a 5 start 
> rating so far in the iOS store. Here are a couple of links:
> 
> http://www.amazon.com/gp/new-releases/hi/2478842011?tag=peogeousd-20
> 
> http://itunes.apple.com/us/app/meet-heckerty/id514220257?mt=8
> 
> When it's in the Google Play store I'll post a link.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: Non-OS ads allowed?

2012-04-12 Thread Thomas McGrath III
Richard,  When you log into LC and go to your store account there should be a 
button for mobile advertising. 

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 12, 2012, at 12:40 PM, Richard Gaskin wrote:

> Thomas McGrath III wrote:
> 
> > On Apr 12, 2012, at 10:38 AM, Richard Gaskin wrote:
> ...
> >> So the question is:  am I allowed to show my own ads in apps for
> >> iOS and Android?
> >>
> >> I'm guessing the Apple answer is "no", but does anyone know if
> >> Google or Amazon prohibit the use of ads from outside of Google's
> >> system?
> >
> > Richard, LC is doing just that with their in app ads for iOS and
> > Android.
> 
> I didn't realize that.  RunRev runs an add server?  What network do they use? 
>  And does Apple know?
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: Non-OS ads allowed?

2012-04-12 Thread Thomas McGrath III
Richard, LC is doing just that with their in app ads for iOS and Android.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 12, 2012, at 10:38 AM, Richard Gaskin wrote:

> I'm building my own ad server for a specialized desktop app, and it occurs to 
> me that it would be useful to use those ads in mobile apps as well.
> 
> So the question is:  am I allowed to show my own ads in apps for iOS and 
> Android?
> 
> I'm guessing the Apple answer is "no", but does anyone know if Google or 
> Amazon prohibit the use of ads from outside of Google's system?
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: play sound from url on iOS

2012-04-10 Thread Thomas McGrath III
Klaus,

I have downloaded files and I have played downloaded sounds but I have not 
played downloading sounds while downloading i.e. streaming.

I also can not get the play command with mediaPicker to play iCloud music, but 
these do play and stream in the apple music app just not in LC……

sorry I can't be more helpful on this one


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 10, 2012, at 11:39 AM, Klaus on-rev wrote:

> Hi all,
> 
> Am 09.04.2012 um 15:35 schrieb Klaus on-rev:
> 
>> Hi friends,
>> 
>> short question, is it possible to play a sound file from an URL in iOS? 
>> If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."?
>> 
>> The docs do not mention URL, only in the "Video playback" section.
>> 
>> Thanks a lot in advance!
> 
> noone done this before? :-)
> 
> I don't have an iOS license nor an iDevice to check this in the moment!
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> 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: should mobileshowstatusbar work on iOS?

2012-04-07 Thread Thomas McGrath III
It is not working here either.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 7, 2012, at 10:14 AM, Matthias Rebbe wrote:

> Hi,
> 
> could someone confirm that mobileshowstatusbar definitely does work on iOS.
> 
> In the past i used iPhoneShowStatusbar and iPhoneHideStatusbar to show/hide 
> the status bar.
> 
> In a new stack under LC5.5 i now used mobileShowStatusBar and 
> mobileHideStatusBar. But these commands do not work.
> Replacing them with iphone….  all works as expected. 
> 
> The dictionary says mobileshowstatusbar is a synomym for iphoneshowstatus bar 
> and that it is supported on Android and iOS.
> 
> I created a little stack with 4 buttons. 2 use the mobile command to 
> show/hide the status bar and 2 use the iphone command.
> Could someone do me the favour and check if the mobile commands work on 
> her/his system?
> 
> http://dl.dropbox.com/u/11969084/showStatusBarTest
> 
> 
> Regards
> 
> Matthias
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: iOS - picking from a scrolling list

2012-04-05 Thread Thomas McGrath III
Graham,

I don't use mobgui but instead I use tmControl for layout of iOS elements.  
There are two types of scrolling lists possible in LC. The first is using 
mobilePick by itself or use an option button (that uses the iOS mobilePicker). 
The second is using either an LC field object or other objects like the list 
field in tmControl but either of these needs to be in a group and the group can 
now have an iOS scroller applied to it.

If you create a field that is very long and group it then select the group and 
make it shorter than that field it will scroll. I can't remember if the group 
needs locked or not. There are a couple of glitches to watch out for.

Here is parts of a script that controls a grouped field and an iOS scroller. A 
mouseUp in the field can return the desired line etc.

local sScrollerId
on scrollerDidScroll pOffsetX, pOffsetY
lock screen
set the hScroll of group "InputScrollerGroup" to pOffsetX
set the vScroll of group "InputScrollerGroup" to pOffsetY
unlock screen
end scrollerDidScroll

on openCard
set the layerMode of group "InputScrollerGroup" of this card to "scrolling"

set the unboundedHScroll of group "InputScrollerGroup" to true
set the unboundedVScroll of group "InputScrollerGroup" to true

 -- add items to a field "Counter" and have it grow to fit the contents
set the height of field "Counter" of this card to the formattedHeight of 
field "Counter"
set the top of field "Counter" to the top of group "InputScrollerGroup"
  
set the threeDHilite of field "Lap Counter" to false
iphoneControlCreate "scroller", "InputScroller"
put the result into sScrollerId
put the rect of group "InputScrollerGroup" into tRect
iphoneControlSet sScrollerId, "rect", tRect
put the formattedHeight of field "Counter" into tHeight
iphoneControlSet sScrollerId, "contentRect", (0, 0, 0, tHeight)
iphoneControlSet sScrollerId, "indicatorInsets", (0,0,6,0)
iphoneControlSet sScrollerId, "visible", "true"
iphoneControlSet sScrollerId, "canBounce", true

iphoneControlSet sScrollerId, "declerationRate", fast
iphoneControlSet sScrollerId, "scrollingEnabled", true
iphoneControlSet sScrollerId, "canScrollToTop", true 
iphoneControlSet sScrollerId, "delayTouches", true

iphoneControlSet sScrollerId, "vscroll", 0
set the vScroll of group "InputScrollerGroup" to 0
set the vScroll of field "Counter" to 0

focus on nothing
iphoneControlDo sScrollerId, "flashScrollIndicators"
end openCard

on closeCard
iphoneControlDelete "InputScrollerGroup"
end closeCard

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 4, 2012, at 12:31 PM, Graham Samuel wrote:

> In an iOS app I'm developing I would like to use a scrolling text list where 
> the user can drag the whole list up and down (i.e. scroll the list) but can 
> also select a line by touching it.  This type of interaction is permitted in 
> iOS: a simple example is the index of Apple's own Contacts app.
> 
> I have looked at the latest iOS notes for LC5.5 (Scroller Control - 
> UIScrollView) and I can't understand how the textual list (like an ordinary 
> LC scrolling field) would come in to the scroller; I'm also just beginning to 
> use MobGUI to introduce some native controls, and that has a scroller object 
> too. It is  complex and consists of a group into which it is possible to 
> introduce such an LC field, but in that case it is sensitive to touches, but 
> not to dragging/scrolling - I tried setting the parameter 'delay touches' but 
> it didn't seem to change anything. 
> 
> Obviously I have missed some underlying concept here. The LC iOS doc says 
> that a scroller isn't a container for other controls, but I don't know what 
> that means. It seems a gnomic pronouncement rather on the lines of "Light is 
> not a thing" or “Die Welt ist alles, was der Fall ist.” Sounds terrific, but 
> what does it actually mean?
> 
> I also tried reading the UIScrollView section of Apple's documentation. It's 
> promising in a way (it mentions the need to do the kind of thing I'm talking 
> about) but it doesn't help me enough to allow me to proceed.
> 
> Does anyone know how to do this? I have asked MobGUI support, but I don't 
> know how reactive they are.
> 
> TIA
> 
> Graham
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: Location of iOS 5.0 SDK

2012-04-03 Thread Thomas McGrath III
"Come on in, the waters fine."

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 3, 2012, at 1:01 AM, J. Landman Gay wrote:

> On 4/2/12 11:14 PM, Mark Smith wrote:
>> Jacque, I would say go for it. The current successful recipe, based on my
>> limited experience, appears to be
> 
> 
> 
> I've been keeping notes, so I think I've got the recipe down. I just don't 
> want Lion. But everyone seems to have updated successfully so I will do it 
> too. I was going to do it today but I didn't, and now it's getting late, so 
> I'll...do it tomorrow. Right. Tomorrow.
> 
> (Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!)
> 
> -- 
> Jacqueline Landman Gay | 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


___
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: Location of iOS 5.0 SDK

2012-04-02 Thread Thomas McGrath III
Mark,

This will only work with LC 5.5 and above.

LC 5.0.2 will only work with xCode with iOS 5.0 -- not 5.1


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 2, 2012, at 9:09 AM, Mark Smith wrote:

> Thanks Tom, unfortunately I had no luck. The exact path to Xcode 4.3.2 is
> Mark Smith's Macbook Pro/Macintosh HD/Applications. Selecting that path in
> prefs gives me this error msg:
> 
> "The chosen folder is not a valid iOS SDK for 5.0 and later. It must be one
> that ships with Xcode 4.2 or later."
> 
> I'll send it to Support and see what they say. I am starting to develop a
> huge aversion to anything called an upgrade 
> 
> -- Mark
> 
> PS I should mention I am still using LC 5.0.2. That may be the problem at
> this point.
> 
> PPS Jacque, the upgrade to Lion went smoother than I thought, and apart from
> the above I've not run into any other problems. I can't say there is
> anything in Lion I am looking for, but windows do seem to snap open faster.
> Graham, if I get this sorted out I'll post the solution. 
> 
> 
> Thomas McGrath III-3 wrote
>> 
>> Mark,
>> 
>> The new path is actually to the xCode.app in the applications folder and
>> once pointed to the app itself LC will then traverse the package contents
>> to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the
>> /Developer anymore since LC can now build the 5.1 in the xCode.app app.
>> 
>> 
>> -- Tom McGrath III
>> 
>> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4525961.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: Location of iOS 5.0 SDK

2012-04-01 Thread Thomas McGrath III
Mark,

The new path is actually to the xCode.app in the applications folder and once 
pointed to the app itself LC will then traverse the package contents to the 
internal 5.1 SDK and not the 5.0 SDK. You don't really need the /Developer 
anymore since LC can now build the 5.1 in the xCode.app app.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 1, 2012, at 10:09 PM, Mark Smith wrote:

> I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have
> done:
> 
> 1. updated iPad to iOS 5.1 (first mistake)
> 2. this required update to xCode 4.3.2 (done)
> 3. this required update to Lion (OSX 10.7.3) (check)
> 
> Livecode is now complaining that in order to build for iOS it needs to use
> the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer
> and I have not changed this during any of this process. So, if it worked
> before I did all of this why isn't it working now?
> 
> Does anyone have any suggestions of what to try next?
> 
> (I'm wondering if the cause of this was that step where the xCode installer
> asked me if it could remove xCode 4.2, and I said yes?? This is probably it,
> because I'll bet the new xCode is installing into a different location. Does
> anyone know the correct path for the prefs in LC??)
> 
> Thanks
> 
> -- M
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4524976.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: File path to image on iOS?

2012-03-28 Thread Thomas McGrath III
John,

Yes that is possible in LC to use the mobilePickPhoto to grab a photo and then 
save it to an images folder in you apps sandbox and or your apps documents 
folder. Then you can use those images in your app by using the image path to 
your images folder. What you can't do is have the iOS camera app save to your 
app or its folders (except as previously stated by using mobilePickPhoto).

something like this:

set the name of the templateImage to "FooBar" -- the mobilePickPhoto uses the 
template image so you can set up all attributes here

mobilePickPhoto "front camera", 250, 250 -- call up the camera from within LC

put image "FooBar" into URL ("file:" & specialFolderPath("documents") & "/" &  
"Foobar.png") -- this puts the image into a file in your documents folder

delete image "FooBar" -- if needed delete image from stack

LATER:

put image (specialFolderPath("Documents") & "/" & "FooBar.png") into image 
"AnotherImage" -- This puts the image into another image from the file


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 28, 2012, at 1:14 PM, John Patten wrote:

> Hi All...
> 
> Is it possible to save an image from the iOS camera in a folder other than 
> "camera Roll?"  And is it possible for the iOS camera command to save the 
> image in a folder within the app and then use those images by saving their 
> path and then setting the filename of image object in app to something like,  
> defaultFolder/images/imagnename.jpg?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> ___
> 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: May be OT: where is iOS 5.1 SDK and how can I deploy it?

2012-03-27 Thread Thomas McGrath III
Graham,

Just point the top button in device preferences to the xCode.app in you 
applications folder. That's it. It will find it itself.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote:

> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my 
> Applications folder and I can run it, but it doesn't seem to have altered my 
> Developer folder at all - all the file dates seem to be earlier, and there is 
> no sign of the 5.1 SDK. The simulator there also seems to be 5.0.
> 
> When I open the LC mobile preferences, I am asked what version of XCode I'm 
> running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this 
> is the same as "location of developer root for iOS 5.0 and above" I think), 
> but I can't find it. I thought it might be in the actual XCode app itself (of 
> course this is really a folder), which naturally enough is in the 
> Applications folder, but all I can point to is
> 
> /Applications/Xcode.app/Contents/Developer
> 
> which results in "unknown deployment platform" when I try to test an app. If 
> I actually look at the contents of the XCode application folder with the 
> Finder, it does seem to have everything I need, including a new SDK and a new 
> simulator, but I don't know what to do to tell LC to look for it (I suppose I 
> could copy everything which  has the same name as the stuff in my current 
> Developer folder so as to replace it, but I am not keen to try this).
> 
> I am totally at sea and so far have not found any documentation to help me. 
> Can anyone point me in the right direction. I'd be more than grateful.
> 
> Confused
> 
> 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: use-livecode Digest, Vol 102, Issue 49

2012-03-24 Thread Thomas McGrath III
I didn't take either comment as overly argumentative but more like a challenge 
(which we tend to do on this list from time to time). For me, coming up with 
two criteria is intriguing and caught my interest. I would love to see more on 
the validity of those two criteria, but what really interested me was how Roger 
translated those to an interesting LC project. Very cool. I would love to hear 
more about that.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 24, 2012, at 8:31 PM, Roger Guay wrote:

> Tim,
> 
> I don't pretend to know anything! As for my thesis, I am merely making 
> assumptions based on statistics and the vast size of our galaxy and the 
> number of stars it contains. No one has decided anything about the nature of 
> our species except the religious. BTW, did you look at the simulation?
> 
> I think it might be best to take any further discussions of this nature 
> off-list.
> 
> Cheers,
> Roger
> 
> 
> On Mar 24, 2012, at 6:03 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
>> Message: 9
>> Date: Sat, 24 Mar 2012 12:44:21 -0700
>> From: Tim Jones 
>> To: How to use LiveCode 
>> Subject: Re: ANN and OT: Calling All SETI Enthusiasts
>> Message-ID: 
>> Content-Type: text/plain; CHARSET=US-ASCII
>> 
>> Ready to defend your thesis?  Let me toss out two great Sci-Fi antithesis to 
>> your points below -
>> 
>> How have we determined how long the "relatively short duration" of the radio 
>> stage of any societies is?
>> 
>> How have we decided, even taking asynchronous development into account, that 
>> humans aren't the most mature and advanced species in the nearby galaxy?
>> 
>> :-)
>> 
>> Tim
>> 
>> 
>> On Mar 24, 2012, at 12:20 PM, Roger Guay wrote:
>> 
>>> Hi all,
>>> 
>>> The SETI project has been in existence for about 50 years, and Enrico 
>>> Fermi's question asked in the 1940's, "Where is everybody?" is still 
>>> germane today.
>>> 
>>> I think I have finally succeded in building a simulation of two criteria 
>>> relevant to this SETI "problem": 1) The asynchronous evolution of 
>>> intelligence throughout the galaxy couple with 2) the relatively short 
>>> duration of the radio stage of alien technologies.
>>> 
>>> You can download this stack at:
>>> 
>>> 
>>> https://idisk.mac.com/irog//Public/SETIproblem.livecode
>>> 
>>> I welcome any feedback.
>>> 
>>> Thanks and cheers,
>>> Roger Guay
>>> ___
> 
> ___
> 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: LC 5.5 GM2 and trouble with standalone settings

2012-03-24 Thread Thomas McGrath III
Yeah, Obleo mentioned that since it is the weekend we have to wait till Monday 
for RR to pick up on the problem. Still it is nice to be able to test using the 
team profile in the iOS 5.1 simulator and to test on the iPad 3.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 24, 2012, at 12:14 PM, William de Smet wrote:

> @Thomas:
> 
> Thanks for your reply!
> Now I can stop pulling my hear out.
> RR was to fast with their 'Stop Press Announcement'!
> 
> greetings,
> 
> William
> 
> 
> 
> 2012/3/24 Thomas McGrath III :
>> William,
>> 
>> All except the saving of settings is happening here. When I make a change in 
>> the standalone settings it stays between closing and opening of my stack.
>> But the window not being sized correctly to handle the contents of the iOS 
>> settings and the missing Profiles is a problem.
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Mar 24, 2012, at 6:00 AM, William de Smet wrote:
>> 
>>> Hi there,
>>> 
>>> I was very happy RR announced support for LC 5.1 so I bought my
>>> upgrade last night.
>>> I installed it, pointed the new Xcode 4.3.1 app to the developer root
>>> and so far so good.
>>> 
>>> I opened a stack and checked the standalone settings for iOS and
>>> noticed the new layout.
>>> But I think there is something wrong with it.
>>> My settings are lost every time I close and save  my stack and reopen it.
>>> Everytime it opens with the default settings. It also occurs to me
>>> that the screen is to small. So I have it to drag it bigger to see all
>>> the settings.
>>> And the biggest trouble s that it doesn't show my Profiles. Only the
>>> standard iOS Team provisioning Profile is visible.
>>> 
>>> I anyone else having the same problem?
>>> Am I missing something?
>>> 
>>> I use OSX 10.7.3 with LC 5.5 GM2
>>> When I use LC 5.02 with the old Xcode 4.2 and the old location of the
>>> Developer root everything works fine (except the support for iOS 5.1)
>>> 
>>> 
>>> greetings,
>>> 
>>> William
>>> 
>>> ___
>>> 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: Can I use grouped objects as an icon button?

2012-03-24 Thread Thomas McGrath III
I think there needs to be a profile like the Master Profiles but for graphics 
for buttons and font sizes for fields and buttons so that if my geometry 
changes like for a retina screen then LC can change the image used for each 
button to the hi-res version. I am doing this manually now but is a pain. At 
this point I don't think there is an 'easy' way yet.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 24, 2012, at 12:05 PM, William de Smet wrote:

> Hi Richmond,
> 
> I should read my own question better :-)
> I meant button icon.
> 
> I know you can set an image as a button icon and that is what I do all
> the time. I use a card for all my images and call them with their ID
> in buttons.
> But with the resolution change for the new iPad and different screen
> sizes of Android systems I am looking for a way to 'easy' resize my
> button icons/images.
> 
> 
> groeten,
> 
> William
> 
> 
> 
> 2012/3/24 Richmond :
>> On 03/24/2012 05:50 PM, William de Smet wrote:
>>> 
>>> Hi there,
>>> 
>>> In LC I grouped several objects to make an image. I used the line and
>>> rectangle tools for this.
>>> Is it possible to use this 'image' (or grouped objects) as an icon button?
>>> 
>> 
>> I'm not quite sure what you mean by "an icon button".
>> 
>> You can use an image or a group as a button; in fact I almost never use
>> buttons as buttons; much preferring to use images so I can guarantee they
>> look the same across different systems and computers.
>> 
>> After all, you can have a script:
>> 
>> on mouseUp
>>  put "This works!"
>> end mouseUp
>> 
>> in a group just as well as you can in a button.
>> 
>>> greetings,
>>> 
>>> William
>>> 
>>> ___
>>> 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: LC 5.5 GM2 and trouble with standalone settings

2012-03-24 Thread Thomas McGrath III
William,

All except the saving of settings is happening here. When I make a change in 
the standalone settings it stays between closing and opening of my stack. 
But the window not being sized correctly to handle the contents of the iOS 
settings and the missing Profiles is a problem.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 24, 2012, at 6:00 AM, William de Smet wrote:

> Hi there,
> 
> I was very happy RR announced support for LC 5.1 so I bought my
> upgrade last night.
> I installed it, pointed the new Xcode 4.3.1 app to the developer root
> and so far so good.
> 
> I opened a stack and checked the standalone settings for iOS and
> noticed the new layout.
> But I think there is something wrong with it.
> My settings are lost every time I close and save  my stack and reopen it.
> Everytime it opens with the default settings. It also occurs to me
> that the screen is to small. So I have it to drag it bigger to see all
> the settings.
> And the biggest trouble s that it doesn't show my Profiles. Only the
> standard iOS Team provisioning Profile is visible.
> 
> I anyone else having the same problem?
> Am I missing something?
> 
> I use OSX 10.7.3 with LC 5.5 GM2
> When I use LC 5.02 with the old Xcode 4.2 and the old location of the
> Developer root everything works fine (except the support for iOS 5.1)
> 
> 
> greetings,
> 
> William
> 
> ___
> 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: Bug in custom fonts on iOS?

2012-03-24 Thread Thomas McGrath III
Ken,

Very nice explanation and solution for dealing with the fontStyles and textFont.

Thanks

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 24, 2012, at 2:00 AM, Ken Ray wrote:

>> 
>> Doing a 'Get Info' for those fonts, they all come up with names like this:
>> 
>> Myriad Pro-Cond
>> Myriad Pro-Bold
>> Myriad Pro-Italic
>> etc...
>> 
>> Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' 
>> looks like an em-dash.  Could that break things?
>> 
>> Has anyone else seen this problem?  (bonus: anyone have a work around?)
> 
> It's not a bug, technically, but an idiosyncracy of working with mobile - 
> this is referenced loosely in the iOS Deployment Release Notes (page 13), but 
> here's the skinny:
> 
> Fonts are assigned using the internal font name of a specific weight of a 
> font (like "AmericanTypewriter-CondensedLight"), but that is not in "the 
> fontNames"; it's in "the fontStyles" for a specific font, so to verify that 
> you are setting a font properly, you have to check the fontStyles of every 
> font.
> 
> For example, you can set the textFont of a field in the IDE to "Palatino", 
> but when you move the app to iOS, the textFont of the field is actually 
> "Palatino-Roman", which is one of the fontStyles of the Palatino font.
> 
> So for your app, if you want to display the different weights of the font, on 
> iOS you'd say:
> 
>  put the fontStyles("Myriad Pro",0) into tFontWeights 
> 
> … which would give you back "Myriad Pro-Cond", "Myriad Pro-Bold", etc.
> 
> What I've done for my application is to create a lookup table that I store in 
> a custom property of my stack that maps these "weights" to names I want to 
> have appear in a font menu. So for example, you could have:
> 
> Myriad Pro-Cond = Myriad Pro Condensed
> Myriad Pro-Bold = Myriad Pro Bold
> (etc.)
> 
> and then when someone picks "Myriad Pro Condensed" from the font menu, you do 
> the lookup, find out that the weight is actually "Myriad Pro-Cond" and 
> execute:
> 
>  set the textfont of  to "Myriad Pro-Cond"
> 
> A pain, but it works…
> 
> 
> 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


___
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: New Xcode 4.3.1

2012-03-17 Thread Thomas McGrath III
OK, You must have xCode 4.3 & xCode 4.3.1

There are two copies to perform, right click on each of the above and 'show 
package contents':

copy this folder from xCode.app (4.3) bundle -- 
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk

and place a copy of it here in the xCode.app (4.3.1) bundle -- 
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

THEN

copy this folder from xCode.app (4.3) bundle -- 
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk

and place a copy of it here in the xCode.app (4.3.1) bundle --  
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/

-
You should now have both iPhoneSimulator5.1.sdk and iPhoneSimulator5.0.sdk in 
the iPhoneSimulators SDKs folder && both iPhoneOS5.1.sdk and iPhoneOS5.0.sdk in 
the iPhoneOS SDKs folder.

Then point the xCode 4 and above preference in LC to the xCode.app (4.3.1) -- 
It may crash the first time out.

Also, if these are fresh installs of xCode then you will need to open a sample 
project to force them to download any missing components etc.

NOW, when you TEST you will be testing in the 5.1 simulator for retina iPad BUT 
you will build for the 5.0 for device deployment.

And remember LC does not support this yet so use at your own discretion. I 
can't guarantee this will not harm LC. I can only say that it has not harmed my 
copy. You at your own risk.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 17, 2012, at 2:46 PM, Edward D Lavieri Jr wrote:

> Hi Tom,
> 
> Sorry to be a simpleton on this, but I cannot seem to get this to work. 
> 
> Your statement that we can get 4.3.1 to work with LC 5.5rc2 is encouraging. 
> Would you mind providing more specifics  regarding what files/folders need to 
> be copied from/to each location?
> 
> On my Mac Pro, I see /Library/Developer/ with the following subdirectories:
> /4.0
> /4.2
> /4.2.1
> /Documentation
> /Shared
> 
> I see the /Platforms directory in the Xcode.app package. What do I copy from 
> there and to where?
> 
> Thanks much,
> Ed
> 
> 
> On Mar 16, 2012, at 8:42 PM, Thomas McGrath III wrote:
> 
>> 4.3.1 does work with LC 5.5rc2 -IF you copy over both the iOS 5.0 simulator 
>> SDK and the iOS 5.0 developer SDK to their appropriate folders in the 4.3.1 
>> app bundle. That said, You can then check out how your app will look in the 
>> retina size for iPad only in the simulator using Simulator 5.1 But you will 
>> only be able to build with 5.0 for the device and not 5.1-- LC will do that 
>> for you if all four SDKs are available.
>> 
>> To say again it is iOS 5.1 that is not supported yet by LC for device 
>> builds. But with a little copying you can still use xCode 4.3.1 with BOTH 
>> the 5.0 for device builds and 5.1 SDKs for the Simulator.
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Mar 16, 2012, at 7:39 PM, Pierre Sahores wrote:
>> 
>>> Using :
>>> 
>>> MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2
>>> 
>>> Devices addressed trough the XCode Organizer : iPad 1, iPod Touch
>>> Devices directly addressed via the LC test button : iPhone/iPad simulator, 
>>> Galaxy S2
>>> 
>>> --
>>> Pierre Sahores
>>> mobile : 06 03 95 77 70
>>> www.spimsco.net : la première solution saas open source et commerciale de 
>>> développement sémantique préprogrammé
>>> 
>>> Le 16 mars 2012 à 19:46, Mike Kerner a écrit :
>>> 
>>>> Sergio,
>>>> 
>>>> 4.3.1 is not supported yet.  4.3 is.  You can download 4.3 from Apple's dev
>>>> site.  As of today, there is no solution (despite multiple attempts) for
>>>> using 4.3.1.
>>>> 
>>>> 
>>>> -- 
>>>> On the first day, God created the heavens and the Earth
>>>> On the second day, God created the oceans.
>>>> On the third day, God put the animals on hold for a few hours,
>>>> and did a little diving.
>>>> And God said, "This is good."
>>>> ___
>>>> 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 m

Re: New Xcode 4.3.1

2012-03-16 Thread Thomas McGrath III
4.3.1 does work with LC 5.5rc2 -IF you copy over both the iOS 5.0 simulator SDK 
and the iOS 5.0 developer SDK to their appropriate folders in the 4.3.1 app 
bundle. That said, You can then check out how your app will look in the retina 
size for iPad only in the simulator using Simulator 5.1 But you will only be 
able to build with 5.0 for the device and not 5.1-- LC will do that for you if 
all four SDKs are available.

To say again it is iOS 5.1 that is not supported yet by LC for device builds. 
But with a little copying you can still use xCode 4.3.1 with BOTH the 5.0 for 
device builds and 5.1 SDKs for the Simulator.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 16, 2012, at 7:39 PM, Pierre Sahores wrote:

> Using :
> 
> MBP i7, OSX 10.6.8, XCode 4.2, Android SDK API 8 to 15, LC 5.5 rc2
> 
> Devices addressed trough the XCode Organizer : iPad 1, iPod Touch
> Devices directly addressed via the LC test button : iPhone/iPad simulator, 
> Galaxy S2
> 
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.spimsco.net : la première solution saas open source et commerciale de 
> développement sémantique préprogrammé
> 
> Le 16 mars 2012 à 19:46, Mike Kerner a écrit :
> 
>> Sergio,
>> 
>> 4.3.1 is not supported yet.  4.3 is.  You can download 4.3 from Apple's dev
>> site.  As of today, there is no solution (despite multiple attempts) for
>> using 4.3.1.
>> 
>> 
>> -- 
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> ___
>> 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: detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
Well, thank you very much. I knew my head was not screwed on tight today….

THanks again.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 15, 2012, at 4:21 PM, Thomas McGrath III wrote:

> OK, so I put my field in a scrolling group and got a nice iOS scroll bar and 
> my text field works and looks great. However because my field has text added 
> to it during runtime I need to grow the text field after new lines of text 
> are added.
> 
> I thought using the effective height of the field would give me the size 
> needed to hold all of the lines of text but that doesn't work. Any ideas how 
> to make the field grow as new text is added???
> 
> THanks again, I think I'm coming down with something because thinking seems 
> more difficult today.
> 
> put the top of field "Lap Counter" of this card into tTop
> put the effective height of field "Lap Counter" of this card into tEHeight
> set the height of field "Lap Counter" to tEHeight
> set the top of field "Lap Counter" to tTop -- just to make sure the top 
> position doesn't move
> 
> Any idaes
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
> 
> On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote:
> 
>> I tried this once, and I think I gave up, and used a picker instead.
>> 
>> 
>> On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote:
>> 
>>> I must be tired.. How do you detect a clicked line in an iOS multiLine 
>>> field?
>> 
>> ___
>> 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: detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my 
text field works and looks great. However because my field has text added to it 
during runtime I need to grow the text field after new lines of text are added.

I thought using the effective height of the field would give me the size needed 
to hold all of the lines of text but that doesn't work. Any ideas how to make 
the field grow as new text is added???

THanks again, I think I'm coming down with something because thinking seems 
more difficult today.

 put the top of field "Lap Counter" of this card into tTop
 put the effective height of field "Lap Counter" of this card into tEHeight
 set the height of field "Lap Counter" to tEHeight
 set the top of field "Lap Counter" to tTop -- just to make sure the top 
position doesn't move

Any idaes


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote:

> I tried this once, and I think I gave up, and used a picker instead.
> 
> 
> On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote:
> 
>> I must be tired.. How do you detect a clicked line in an iOS multiLine field?
> 
> ___
> 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


detect line clicked in iOS multiline field

2012-03-15 Thread Thomas McGrath III
I must be tired.. How do you detect a clicked line in an iOS multiLine field?

Thanks
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Suggestions for an iOS/Android/CD/web site strategy

2012-03-15 Thread Thomas McGrath III
Richard,

Just a gut reaction but I would say "no" to forcing them to buy the app on 
those stores. It is odd at best.

How about "IF" they buy the app then you supply in the app a link to the 
private web site free with user name and password and a years subscription. BUT 
if they do not have an iOS/Android then instead have a landing web site page 
that gives them either the choice to go ahead and purchase those apps(with 
subscription) OR purchase straight a subscription from that web page to the 
site with, and say if they do purchase the iOS/Android app that they can get a 
credit for another year - or - a refund through the system they used on the 
website. 

Just my thoughts...


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 15, 2012, at 10:45 AM, Richard Miller wrote:

> I'd looking for suggestions on the best strategy for this situation.
> 
> I have an app I'd like to make available on 4 platforms: iPhone/iPad, 
> Android, standalone download (both Mac & Windows), and a protected web site.
> 
> Preferably, I'd like buyers of the iOS or Android versions to get a free 
> standalone and free access to our web site. I am thinking that if a customer 
> buys the iOS or Android app, we can use the proof of those purchases to send 
> them the standalone and give them access to our site. Sounds straightforward 
> so far.
> 
> The problem comes up as follows.
> 
> Three of these platforms are done, but the Android app is still a month or so 
> away. We presumably need all sales to be through Apple (iTunes/iPhone/iPad) 
> or the Android store, as my understanding is that there is no practical 
> manner to allow a customer to, for example, purchase a subscription to our 
> web site, then use that purchase (credit) to download a full version of our 
> iOS app without paying for the app through Apple. Same thing with the Amazon 
> App Store... a customer could not download our Android app using a credit 
> from having purchased our standalone, for example.
> 
> Some of our users (perhaps a fairly large number) will not have EITHER an 
> iPhone or an Android phone currently, but may buy one in the near future 
> yet they want immediate access to our standalone and web site. Would it make 
> sense to insist that all customers buy either our iPhone or Android app, even 
> if they don't have one of these phones, in order to get access to our 
> standalone and web site? Is this the simplest strategy to use?
> 
> Thanks.
> Richard Miller
> 
> ___
> 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: [ANN] iOS document interaction external added to mergExt

2012-03-14 Thread Thomas McGrath III
Monte,

This is a great external. Thanks so much for this. This is the best purchase 
I've made in a long time.

Keep up the great work….

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 14, 2012, at 12:54 AM, Monte Goulding wrote:

> Hi LiveCoders
> 
> mergExt (http://mergext.com) has grown again with a new external called 
> mergDoc. The suite now includes 8 externals: barcode reading, video 
> recording, extended file attributes, iAd banners and more.
> 
> mergDoc is an iOS external that adds functions and commands related to 
> document interaction. This currently includes presenting a modal preview, 
> open in app menu, document options menu and requesting the document icons in 
> PNG form. Printing is also available via the preview. mergDoc with 29% of the 
> vote came in a close second in the poll to MapKit. There's a new poll up now 
> but clearly MapKit is next on the hit list.
> 
> Users can now also participate in the mergExt affiliate program to get a free 
> month of updates for every sale. Once logged in you will see the referral url 
> above the poll.
> 
> Don't forget to vote for what you want next! If you want something that's not 
> on the poll then add it to the Ideas topic in the mergExt forum.
> 
> Monte Goulding
> --
> M E R Goulding
> Software development services
> ___
> 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: Test using 5.1 Retina Simulator

2012-03-08 Thread Thomas McGrath III
This is not an easy egg to crack. I have been trying for a few hours now. When 
and if I get somewhere I will get back to you.

Tom
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 8, 2012, at 4:11 PM, Graham Samuel wrote:

> Tom, you understand this so much better than me - could you explain whether 
> and what upgrades on the Apple side I can do and still work with the current 
> version of LC (5.0.2). Presumably you've seen the email from Apple "Update 
> your apps for iOS 5.1". Can we? I understand your point about the Simulator 
> (just), but I don't know really understand your 'app bundle' point and what 
> prevents LC being compatible with the new xCode.
> 
> Really the mother ship should explain all this, but I'm not holding my 
> breath, so I would be grateful for any clarification, and I suspect I will 
> not be the only one.
> 
> TIA
> 
> Graham
> 
> On Thu, 08 Mar 2012 09:31:36 -0500, Thomas McGrath III  
> wrote:
> 
>> Since the new xCode is an App bundle it isn't recognized as a folder for dev 
>> in LC.
>> 
>> But you can still run LC apps in the simulator. 
>> 
>> As long as you have not deleted the old xCode  /developer folder (or if you 
>> did and then moved it back after install) and you are using  Lion 10.7.3 & 
>> xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 +
>> Here's how:
>> 
>> Find the new Simulator at: 
>> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
>>   and copy it to the old simulator folder here:   
>> /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
>> 
>> Then in LC just select Test and then from within the 'new' Simulator choose 
>> Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu.
>> 
>> Also, even though the screen is reduced to 50% the Copy Screen command and 
>> the Save Screen Shot command both produce the 1536 ? 2048 pixel png.
>> 
>> SDK next?
>> 
>> 
>> -- Tom McGrath III
> 
> ___
> 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


Test using 5.1 Retina Simulator

2012-03-08 Thread Thomas McGrath III
Since the new xCode is an App bundle it isn't recognized as a folder for dev in 
LC.

But you can still run LC apps in the simulator. 

As long as you have not deleted the old xCode  /developer folder (or if you did 
and then moved it back after install) and you are using  Lion 10.7.3 & xCode 
4.3.1 and iOS 5.1 SDK and LiveCode 5 +
Here's how:

Find the new Simulator at: 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
  and copy it to the old simulator folder here:   
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/

Then in LC just select Test and then from within the 'new' Simulator choose 
Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu.

Also, even though the screen is reduced to 50% the Copy Screen command and the 
Save Screen Shot command both produce the 1536 × 2048 pixel png.

SDK next…


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Directories on iOS?

2012-03-04 Thread Thomas McGrath III
There are a few reserved names for folders and places where you can put them. A 
little code could help figure this one out.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Mar 4, 2012, at 11:35 AM, Ken Corey wrote:

> Hi All,
> 
> I found a /hugely/ useful error message just now.
> 
> My app is called "WriteOn.app", at least for the moment.
> 
> Hi All,
> 
> I'm hoping someone can help.
> 
> I called 'create folder' with the path to my app on my iPad:
> /var/mobile/Applications/706ECCCF-DC1D-42F1-B71E-F3D96610DAEF/WriteOn.app/Downloaded
> 
> The error in 'the result' is "can't create that directory". Just lovely. 
> Might as well put the "engine" light on my iPad. It would tell me as much.
> 
> Can anyone shed a tiny bit more light on that error message?
> It /shouldn't/ be permissions, because it's within my app's sandbox.
> It can't be space, as I've got 2.4GB remaining.
> It shouldn't be rights, as the standalone downloads to the iPad just fine and 
> is attempting to run when this error happens.
> I don't have AFAICT any other app using the same signature (but that 
> shouldn't matter anyway, should it)?
> 
> Are there any other reasons why one can't create a folder on iOS from within 
> LiveCode?
> 
> Thanks,
> 
> -Ken
> kcorey
> Â
> Posts: 59
> Joined: Fri Nov 25, 2011 5:06 pm
> 
> 
> ___
> 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 flies to the Amazon

2012-02-28 Thread Thomas McGrath III
Just remember to never substitute powdered creamer for milk in the pudding or 
it will never set. FWIW

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 28, 2012, at 10:23 PM, Tim Jones wrote:

> Congrats on getting this done.
> 
> Now, to quote ye olde bard - "The proof is in the tasting of the pudding."  
> Let's see where you end up in a month or so.  I have heard the same thing 
> about the success rates between the two stores.
> 
> 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: iPhonePickMedia .m4p

2012-02-28 Thread Thomas McGrath III
Todd,

I had a different problem with iPhonePickMedia but not with .m4p files. For me 
the problem was that certain songs could be listed in the library but not 
really be there physically and yet they were not available to download via 
iCloud either. It was as if they were in-between being downloaded from i-cloud 
and living on the device. They could not be deleted either.

These songs would cause the app to quit after choosing a playlist or group of 
songs that included one of these files. The solution was to turn off iCloud on 
the device and then turn it back on and then the offending songs were gone. The 
icon on the song in the device was the downloading icon (outside circle with a 
square in it). 

The reason I am posting this here is that it is very hard to release an app 
knowing there is a case where it will crash and yet if you reveal that 
particular issue during the publishing process you will be rejected. If you 
don't then people will give poor reviews because you didn't let them know about 
the condition beforehand. A catch 22…

With this in mind I do not think the iPhonePickMedia, as it is now, can be used 
in any apps that are to be published on the App Store. This therefore is a 
blocking issue although it works on 'normal' downloaded songs and 'normal' 
iCloud songs.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 27, 2012, at 2:17 PM, Todd Little wrote:

> Dear All,
> 
> We've encountered an issue with using iPhonePickMedia. We can play
> purchased iTunes songs great except when we play a .m4p (FairPlay) song and
> it promptly quits the app with no warning.
> We've tried to intercept the result that contains a ".m4p" extension, but
> it still quits.
> 
> We've submitted the iOS app for review and were rejected because in our
> metadata, we stated that we had known issues that the app would quit when
> using .m4p files.
> 
> Has anyone else had similar issues or have recommendations?
> 
> -T.Little
> ___
> 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: Sound loops in iOS

2012-02-26 Thread Thomas McGrath III
The Play command used for iOS is a special adaptation of the regular Play 
command (as is described in the docs) and as such does not yet support looping 
when on iOS. "For more control use the iphonePlaySoundOnChannel" for looping. 
But meanwhile if you use the mediaPicker it only works with the Play command 
and will not work with the iphonePlaySoundOnChannel. So you have to make 
specific choices based upon what you are needing.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 26, 2012, at 10:56 AM, John Dixon wrote:

> 
> I too couldn't get 'looping' to work with the 'play' command... however using 
> 'iphonePlaySoundOnChannel thefile, theChannel, type' does work...
> 
> on mouseUp
>   put specialfolderpath("engine") & "/sc.mp3" into thefile
>   iphonePlaySoundOnChannel thefile, 1, looping
> end mouseUp
> 
> 
> 
>> Thanks to Ken Corey and others on this list, I am managing to play sounds in 
>> my developing iOS app quite nicely - as appears to be required, I'm playing 
>> them from a file, and I'm using 'the environment' to distinguish between the 
>> IDE and the real app (and simulator). So far so good. My current problem is 
>> that my sounds won't loop. I have code like this, where t3 contains a path 
>> to a sound file.
>> 
>> play t3 looping
>> 
>> This is in fact just one variation on several attempts, but the important 
>> point is the sound only plays once on the simulator and the iPad (thus 
>> showing at least that my t3 does correctly identify a sound file in the iOS 
>> environment); but in the IDE, the exact same code does loop the sound as 
>> expected.
> 
> 
> ___
> 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: On-Rev Mail woes

2012-02-25 Thread Thomas McGrath III
I can't get mail any more from any on-rev mail accounts except my main email. I 
hope they finish 'fixing' the server soon.



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 25, 2012, at 7:59 AM, Medard wrote:

> Hi!
> 
> My mail client cannot get my mail on the On-Rev server...
> especially the IMAP boxes
> 
> oddly, the webmail works OK!
> 
> maybe some trick from my Orange provider ;->
> [France]
> 
> ___
> 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: [ANN] ExtTextInputMode external

2012-02-17 Thread Thomas McGrath III
Mark,

This is awesome. Thank you.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 16, 2012, at 11:50 PM, Mark Schonewille wrote:

> Hi,
> 
> Because I'm doing a lot with RTL and East Asian languages lately and things 
> may go wrong if the user of my software uses the wrong keyboard, I wanted to 
> check the input language on iOS devices before the user starts typing. There 
> was no way to do this in LiveCode AFAIK and thus I decided to make a little 
> external.
> 
> The external is called ExtTextInputMode. The function extCurrentInputMode() 
> returns the language code of the currently selected keyboard.
> 
> The external is available for download from the private section of the 
> Economy-x-Talk website and is free for everyone who has made a donation 
> during the past year. Go to http://qery.us/1t8 for more information.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
> 
> 
> ___
> 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: Mac OS X 10.8!

2012-02-16 Thread Thomas McGrath III
I love the pronghorn antelope.

Also, notes, reminders, notifications and especially AirPlay and Game Center.  
And I just downloaded the new Messages which has a very cool integration with 
iChat, FaceTime, and iMessages. Things just got more interesting.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 16, 2012, at 10:15 AM, Richard Gaskin wrote:

> Klaus wrote:
> 
>> just in case you did not know, check this:
>> 
> 
> Thanks for that.
> 
> I was wondering when they'd get around to naming a release after California's 
> most beautiful animal (well, maybe a close second to the pronghorn antelope).
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 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: iOS Grab Image from Library and Email as Attachment?

2012-02-14 Thread Thomas McGrath III
OH, skip the doStartActivityIndicator and doStopActivityIndicator parts.

 set the width of the templateImage to 200
   set the height of the templateImage to 200
   set the lockLoc of the templateImage to true
   set the name of the templateImage to "test"
   mobilePickPhoto "Library"
  put the text of image "test" into tAttachment["data"]
  put "image/png" into tAttachment["type"]
  put "MinSticker" into tAttachment["name"]
  mobileComposeMail "It Works!!!""This is my Picture", tAttachment  

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 14, 2012, at 8:43 AM, Thomas McGrath III wrote:

> John,
> 
> Have you used the templateImage? Also, I use type image/png and not 
> image/jpg. This code works for me on iPad1 and iPhone:
> ...
>   doStartActivityIndicator
>set the width of the templateImage to 200
>set the height of the templateImage to 200
>set the lockLoc of the templateImage to true
>set the name of the templateImage to "test"
>mobilePickPhoto "Library"
>   put the text of image "test" into tAttachment["data"]
>   put "image/png" into tAttachment["type"]
>   put "MinSticker" into tAttachment["name"]
>   doStopActivityIndicator
>   mobileComposeMail "It Works!!!""This is my Picture", tAttachment
> 
> -- delete image "test"
> …
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
> 
> On Feb 14, 2012, at 12:23 AM, John Patten wrote:
> 
>> Hi All..
>> 
>> I'm attempting to send an email message with an attachment of the last image 
>> added to the card via the mobilePickPhoto call. I don't have the attachment 
>> call correct.  I'm using the following:
>> 
>> on mouseUp
>> 
>>  if iphoneCanSendMail () is true then
>> put the text of field "subject" into tSubject
>> put the text of field "toField" into tTo
>> put the text of fld "body" into tBody
>> put "" into tCCs
>> put "" into tBCCs
>> 
>> -- I'm using the mobilePickPhoto to add an image to the card from the 
>> library.
>> 
>> put the name of the last img into gvAttachment["name"]
>> put "image/jpeg" into gvAttachment["type"]
>> put the text of  last img into gvAttachment["data"]
>> 
>> mobileComposeMail field "subject", field "toField", , , field "body", 
>> gvAttachment
>> answer the result with "OK"
>>  else
>> answer "Your device cannot be used to send email." with "OK"
>>  end if
>> 
>> end mouseUp
>> 
>> Any advice on how to add the image attachment?
>> 
>> Thank you!
>> 
>> John Patten
>> SUSD
>> 
>> ___
>> 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: iOS Grab Image from Library and Email as Attachment?

2012-02-14 Thread Thomas McGrath III
John,

Have you used the templateImage? Also, I use type image/png and not image/jpg. 
This code works for me on iPad1 and iPhone:
...
   doStartActivityIndicator
set the width of the templateImage to 200
set the height of the templateImage to 200
set the lockLoc of the templateImage to true
set the name of the templateImage to "test"
mobilePickPhoto "Library"
   put the text of image "test" into tAttachment["data"]
   put "image/png" into tAttachment["type"]
   put "MinSticker" into tAttachment["name"]
   doStopActivityIndicator
   mobileComposeMail "It Works!!!""This is my Picture", tAttachment 
 -- delete image "test"
…

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 14, 2012, at 12:23 AM, John Patten wrote:

> Hi All..
> 
> I'm attempting to send an email message with an attachment of the last image 
> added to the card via the mobilePickPhoto call. I don't have the attachment 
> call correct.  I'm using the following:
> 
> on mouseUp
> 
>   if iphoneCanSendMail () is true then
>  put the text of field "subject" into tSubject
>  put the text of field "toField" into tTo
>  put the text of fld "body" into tBody
>  put "" into tCCs
>  put "" into tBCCs
> 
> -- I'm using the mobilePickPhoto to add an image to the card from the library.
> 
>  put the name of the last img into gvAttachment["name"]
>  put "image/jpeg" into gvAttachment["type"]
>  put the text of  last img into gvAttachment["data"]
> 
>  mobileComposeMail field "subject", field "toField", , , field "body", 
> gvAttachment
>  answer the result with "OK"
>   else
>  answer "Your device cannot be used to send email." with "OK"
>   end if
> 
> end mouseUp
> 
> Any advice on how to add the image attachment?
> 
> Thank you!
> 
> John Patten
> SUSD
> 
> ___
> 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


iphoneCurrentHeading() gotcha

2012-02-10 Thread Thomas McGrath III
This is a heads up on using iphoneCurrentHeading() and its returned timestamp.

I struggled with this for many hours. It turns out that the heading and the 
timeStamp from the iphoneCurrentHeading() only return the heading and time from 
'when' the last location was last changed. It returns the last known timestamp 
and heading and not a new heading(same heading) and a new timestamp. 

Calling it repeatedly returns the same results, which makes sense for the 
heading (since it has not changed so it is not returning a new heading) but I 
thought repeated calling the currentheading would give me a new timestamp from 
the new call to it. Not so.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: [ANN] Casey's Solitaire published on Android Market

2012-02-09 Thread Thomas McGrath III
John,

I have examples at work so it will have to wait until next week. I will post 
them then.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 9, 2012, at 11:44 AM, John Craig wrote:

> 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 very well for you.
>> 
>> As far as the artifacts, Were these PNGs under the fields? From Photoshop? 
>> If so there is a very weird instance where transparencies produce this kind 
>> of visual effect. I have been able to solve that problem on a Mac. The 
>> problem is there is something 'legacy' left over in the way photoshop (and 
>> some other apps as well) saves pngs that only shows up in certain 
>> applications and or when using certain techniques to display a png with 
>> transparency. A lot of people mistakenly have been blaming 
>> powerpoint/preview/etc. on the internet, but it is actually an issue with 
>> legacy code used to write out transparencies in pngs.
>> 
>> If this is the case I can box up my workaround (it is a kludge however) and 
>> send it to you.
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Feb 8, 2012, at 5:49 PM, J. Landman Gay wrote:
>> 
>>> On 2/8/12 4:26 PM, Ralph DiMola wrote:
>>>> Jacque,
>>>> 
>>>> I can't find it in the Market. Is it my device/OS version?
>>> Yeah, probably, and I'm sorry about that. :( I had to set the manifest to 
>>> allow only Android 2.3 or higher. I had got it to work on 2.2 by using 
>>> software rendering instead of OpenGL, but the engine started drawing crazy 
>>> blue artifacts around all the transparent fields. They didn't coincide with 
>>> any object shapes, it was random blocks of noise. I couldn't release it 
>>> that way.
>>> 
>>> If you're curious what it was doing, I put screen shots in the QCC:
>>> <http://quality.runrev.com/show_bug.cgi?id=9881>. It's wild.
>>> 
>>> So I'm hoping that gets fixed in the engine, and if it does I'll change the 
>>> manifest to allow 2.2. It still won't be the fastest rendering but at least 
>>> the screen will look right.
>>> 
>>> I'll shoot you a private email if/when I can update the app, if you want, 
>>> and to anyone else who just can't wait to clean up bird poop.
>>> 
>>> -- 
>>> 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
>> 
>> ___
>> 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: [ANN] Casey's Solitaire published on Android Market

2012-02-09 Thread Thomas McGrath III
Jac,

Congratulations, Looks great. I hope it does very well for you.

As far as the artifacts, Were these PNGs under the fields? From Photoshop? If 
so there is a very weird instance where transparencies produce this kind of 
visual effect. I have been able to solve that problem on a Mac. The problem is 
there is something 'legacy' left over in the way photoshop (and some other apps 
as well) saves pngs that only shows up in certain applications and or when 
using certain techniques to display a png with transparency. A lot of people 
mistakenly have been blaming powerpoint/preview/etc. on the internet, but it is 
actually an issue with legacy code used to write out transparencies in pngs.

If this is the case I can box up my workaround (it is a kludge however) and 
send it to you.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 8, 2012, at 5:49 PM, J. Landman Gay wrote:

> On 2/8/12 4:26 PM, Ralph DiMola wrote:
>> Jacque,
>> 
>> I can't find it in the Market. Is it my device/OS version?
> 
> Yeah, probably, and I'm sorry about that. :( I had to set the manifest to 
> allow only Android 2.3 or higher. I had got it to work on 2.2 by using 
> software rendering instead of OpenGL, but the engine started drawing crazy 
> blue artifacts around all the transparent fields. They didn't coincide with 
> any object shapes, it was random blocks of noise. I couldn't release it that 
> way.
> 
> If you're curious what it was doing, I put screen shots in the QCC:
> . It's wild.
> 
> So I'm hoping that gets fixed in the engine, and if it does I'll change the 
> manifest to allow 2.2. It still won't be the fastest rendering but at least 
> the screen will look right.
> 
> I'll shoot you a private email if/when I can update the app, if you want, and 
> to anyone else who just can't wait to clean up bird poop.
> 
> -- 
> 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


___
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: Print revBrowser to PDF?

2012-02-06 Thread Thomas McGrath III
Scott,

I could only get an import snapshot from the rect of a graphic the same size as 
the browser object and then save that and print it to pdf. Not exactly the same 
as printing the full on and off screen contents of the browser window.

Maybe its possible to create an offscreen revBrowser window big enough to 
handle the whole web page then import a snapshot of that and save it. Then 
delete the offscreen browser and lastly print to PDF???


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Feb 6, 2012, at 6:03 AM, Scott Rossi wrote:

> Anyone know if it's possible to print the content of a revBrowser instance
> directly to a PDF?
> 
> I see the dictionary reference to "open printing to PDF" but this seems to
> be intended for outputting the cards of a stack.  Is there some way instead
> to programmatically send revBrowser content to a PDF?
> 
> Thanks for any suggestions.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> ___
> 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


title of songs from iphonePickMedia

2012-02-04 Thread Thomas McGrath III
Has anyone been able to get the title of a song retrieved using iphonePickMedia?


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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


iphonePickMedia crashes with iCloud

2012-02-01 Thread Thomas McGrath III
I have been playing with iPhonePickMedia and when loading a song that has 
either the cloud icon or the round circle with the square in it the app 
crashes. It is a pain because you can add a whole playlist and if there are any 
songs in it that have any of these icons it will crash. 

A poor work around is to turn off the "Show All Music" item in Music - Settings.

Has anyone else been able to duplicate this? I assume it is a bug.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: An iPhone app as a remote control for an iPad app. Is it possible?

2012-01-31 Thread Thomas McGrath III
Monte,

Actually that might still be useful because I can poll for the reason for the 
scheduled notif and react accordingly. I just don't know how useful…..


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 31, 2012, at 2:44 PM, Monte Goulding wrote:

> Hi Thomas
> 
> I'm quite enjoying the iOS sdk. It's certainly a breeze compared to the sdk 
> for the other platforms. I hope they all get updated to match. The main 
> gotcha I've found the test app won't  copy in any resources so in most cases 
> it's  e to test via livecode.
> 
> As for push notifications I think we need to wait for rev on those as the 
> application delegate needs to respond to delegate messages.
> 
> It would be possible to schedule a local one but when the user clicks on it 
> your app will open and it won't know it was launched from a notification. 
> Would that be helpful at all?
> 
> Cheers
> --
> Monte Goulding
> 
> On 01/02/2012, at 1:16 AM, Thomas McGrath III  wrote:
> 
>> Wow, this is great, Monte, I really need the Push Notification in all of my 
>> apps. Even just local would be great. Video recording and Game Kit are a 
>> bonus as well.
>> 
>> What is your experience so far working with the SDK and with xCode? 
>> Gotcha's, advice, etc?
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Jan 31, 2012, at 3:57 AM, Ken Corey wrote:
>> 
>>> On 31/01/2012 08:50, Monte Goulding wrote:
>>>> Hehe, had another little look at it this afternoon and now I'm sending 
>>>> little messages to my wife :-)
>>>> 
>>>> Also added a few things to the video recording external: edit video, save 
>>>> video to photo album and save image to photo album.
>>> 
>>> Hi Monte,
>>> 
>>> I could think of ways to use both of those in an app I'm working on.  If 
>>> you would like testers, please shout!
>>> 
>>> -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
>> 
>> 
>> ___
>> 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: An iPhone app as a remote control for an iPad app. Is it possible?

2012-01-31 Thread Thomas McGrath III
Wow, this is great, Monte, I really need the Push Notification in all of my 
apps. Even just local would be great. Video recording and Game Kit are a bonus 
as well.

What is your experience so far working with the SDK and with xCode? Gotcha's, 
advice, etc?


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 31, 2012, at 3:57 AM, Ken Corey wrote:

> On 31/01/2012 08:50, Monte Goulding wrote:
>> Hehe, had another little look at it this afternoon and now I'm sending 
>> little messages to my wife :-)
>> 
>> Also added a few things to the video recording external: edit video, save 
>> video to photo album and save image to photo album.
> 
> Hi Monte,
> 
> I could think of ways to use both of those in an app I'm working on.  If you 
> would like testers, please shout!
> 
> -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


___
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: Walking

2012-01-31 Thread Thomas McGrath III
Mike,

Thank you so much for sharing this here. Hope doesn't always get a front page 
story yet it is so very very powerful. I'm really very grateful for you sharing 
this.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 30, 2012, at 11:17 PM, Ralph DiMola wrote:

> Mike,
> 
> 3,2,1..hee-hah!!!
> 
> Great for you! Keep it up!
> 
> Ralph DiMola
> MIS DirectorEvergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original message-
> From: Mike Bonner 
> To: How to use LiveCode 
> Sent: Tue, Jan 31, 2012 02:53:59 GMT+00:00
> Subject: OT: Walking
> 
> Ok. I know this is not the most appropriate place for this but.. Today for
> the first time in about 12 years I walked 5 unassisted steps in physical
> therapy.  (no walker, cane, walking sticks or anything) And no face plant!
> So on the count of 3. 1, 2, 3 WOO HOO
> 
> Back to the normally scheduled program.
> ___
> 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: Pinch and Rotate

2012-01-25 Thread Thomas McGrath III
Ken,

These are exactly the kinds of things I ran into as well. One thing that 
happens is that when rotating an image the image gets distorted and so we need 
the resizeQuality set to "good" or "best" but then it really slows down even 
further.

Still looking

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 24, 2012, at 2:35 AM, Ken Corey wrote:

> I hadn't tried that before.  I tried it just now, and if anything it made the 
> behaviour worse.  This were even more jittery than before.  By "jittery" I 
> mean the items flash back and forth 10-20 pixels.  If you move your fingers 
> quickly, it's easy to get the image drawing in a wildly incorrect place, only 
> settling down once the fingers move more slowly.
> 
> I feel script-based multi-touch is a bit of a damp squib. The performance 
> isn't that great, and without items (images or graphics) being able to rotate 
> and scale, there's little reason to do it all at once.
> 
> On 23/01/2012 23:19, Chris Sheffield wrote:
>> Did you try setting acceleratedRendering to true and then setting the 
>> layerMode property of the image to "dynamic"? Might make a difference. Kind 
>> of guessing, though.
> 
> 
> ___
> 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: Pinch and Rotate

2012-01-22 Thread Thomas McGrath III
I also added a resizeQuality to the "on touchMove" handler: 

set the resizeQuality of image "square" to "best"


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 22, 2012, at 1:57 PM, Thomas McGrath III wrote:

> 
> I was playing around with the "Pinch to Zoom an object" lesson at: 
> http://lessons.runrev.com/s/lessons/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion
> 
> And I wanted to add rotate to it as well so that I could pinch and rotate at 
> the same time. I ran into a big wall (called Math I think) in trying to 
> rotate based on how far from the original start point and wether I was 
> rotating left or right.
> 
> My solution works for the most part but it is not optimal or very clean and 
> wanted to invite others to take a stab at it:
> 
> I stated with the Pinch lesson stack and changed the GRAPHIC to an IMAGE and 
> then modified the script to come up with this solution. This script goes into 
> the card script and the card has an image named "square" on it. I edited it 
> and added the rotateimage handler;
> 
> local sTouchArray, sFRAMEWIDTH, sFRAMEHEIGHT
> 
> on touchStart pId, pX, pY
>   put the width of image "square" into sFRAMEWIDTH
>   put the height of image "square" into sFRAMEHEIGHT
> end touchStart
> 
> on touchEnd pId
>   delete variable sTouchArray[pId]
> end touchEnd
> 
> on touchMove pId, pX, pY
set the resizeQuality of image "square" to "best"

>if sTouchArray[pId]["startloc"] is empty then
>put (pX & comma & pY) into sTouchArray[pId]["startloc"]
>end if
> 
>put (pX & comma & pY) into sTouchArray[pId]["currentloc"]
> 
>if the number of lines of the keys of sTouchArray is 2 then
># First lets get the data out of the array
>put line 1 of the keys of sTouchArray into tPointOne
>put line 2 of the keys of sTouchArray into tPointTwo
> 
># First lets calculate the size of the picture base on the distance 
># between the two touch points
>put sTouchArray[tPointOne]["startloc"] into tStartLoc1
>put sTouchArray[tPointTwo]["startloc"] into tStartLoc2
>put sTouchArray[tPointOne]["currentLoc"] into tCurrentLoc1
>if tStartLoc1 is not empty and tStartLoc2 is not empty then
>put resizeDistance(tStartLoc1, tStartLoc2) into tStartDistance
>put resizeDistance(sTouchArray[tPointOne]["currentloc"], 
> sTouchArray[tPointTwo]["currentloc"]) into tCurrentDistance
>resizeimage tStartDistance, tCurrentDistance
>if item 2 of tStartLoc1 < item 2 of tCurrentLoc1 then
>rotateimage "left", item 2 of tStartLoc1, item 2 of 
> tCurrentLoc1
>else
>rotateimage "right", item 2 of tStartLoc1, item 2 of 
> tCurrentLoc1
>end if
>end if
>end if
> end touchMove
> 
> function resizeDistance pLoc1, pLoc2
>local dy, dx, tDistance
>put item 2 of pLoc1 - item 2 of pLoc2 into dy
>put item 1 of  pLoc1 - item 1 of pLoc2 into dx
>put sqrt((dy*dy) + (dx*dx)) into tDistance
>return tDistance
> end resizeDistance 
> 
> on rotateimage pAngle pStart pNew
>if pAngle contains "left" then
>put pStart - pNew into tDistance
>set the angle of image "square" to tDistance
>else
>put pNew - pStart into tDistance
>set the angle of image "square" to (- tDistance)
>end if
>unlock screen
> end rotateimage
> 
> on resizeimage pStartDistance, pNewDistance
># Work out the percentage change between the old and new image
>put round((pNewDistance / pStartDistance) * 100) into tPercentage
> 
># Store the original location of the image
>put the loc of image "square" into tLoc
> 
># Calculate the new width and height
>set the width of image "square"  to round(sFRAMEWIDTH * (tPercentage / 
> 100))
>set the height of image "square" to round(sFRAMEHEIGHT * (tPercentage / 
> 100))
> 
>set the loc of image "square"  to tLoc
>unlock screen
> end resize image
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.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


___
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


Pinch and Rotate

2012-01-22 Thread Thomas McGrath III

I was playing around with the "Pinch to Zoom an object" lesson at: 
http://lessons.runrev.com/s/lessons/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion

And I wanted to add rotate to it as well so that I could pinch and rotate at 
the same time. I ran into a big wall (called Math I think) in trying to rotate 
based on how far from the original start point and wether I was rotating left 
or right.

My solution works for the most part but it is not optimal or very clean and 
wanted to invite others to take a stab at it:

I stated with the Pinch lesson stack and changed the GRAPHIC to an IMAGE and 
then modified the script to come up with this solution. This script goes into 
the card script and the card has an image named "square" on it. I edited it and 
added the rotateimage handler;

local sTouchArray, sFRAMEWIDTH, sFRAMEHEIGHT

on touchStart pId, pX, pY
   put the width of image "square" into sFRAMEWIDTH
   put the height of image "square" into sFRAMEHEIGHT
end touchStart

on touchEnd pId
   delete variable sTouchArray[pId]
end touchEnd

on touchMove pId, pX, pY

if sTouchArray[pId]["startloc"] is empty then
put (pX & comma & pY) into sTouchArray[pId]["startloc"]
end if

put (pX & comma & pY) into sTouchArray[pId]["currentloc"]

if the number of lines of the keys of sTouchArray is 2 then
# First lets get the data out of the array
put line 1 of the keys of sTouchArray into tPointOne
put line 2 of the keys of sTouchArray into tPointTwo

# First lets calculate the size of the picture base on the distance 
# between the two touch points
put sTouchArray[tPointOne]["startloc"] into tStartLoc1
put sTouchArray[tPointTwo]["startloc"] into tStartLoc2
put sTouchArray[tPointOne]["currentLoc"] into tCurrentLoc1
if tStartLoc1 is not empty and tStartLoc2 is not empty then
put resizeDistance(tStartLoc1, tStartLoc2) into tStartDistance
put resizeDistance(sTouchArray[tPointOne]["currentloc"], 
sTouchArray[tPointTwo]["currentloc"]) into tCurrentDistance
resizeimage tStartDistance, tCurrentDistance
if item 2 of tStartLoc1 < item 2 of tCurrentLoc1 then
rotateimage "left", item 2 of tStartLoc1, item 2 of tCurrentLoc1
else
rotateimage "right", item 2 of tStartLoc1, item 2 of 
tCurrentLoc1
end if
end if
end if
end touchMove

function resizeDistance pLoc1, pLoc2
local dy, dx, tDistance
put item 2 of pLoc1 - item 2 of pLoc2 into dy
put item 1 of  pLoc1 - item 1 of pLoc2 into dx
put sqrt((dy*dy) + (dx*dx)) into tDistance
return tDistance
end resizeDistance 

on rotateimage pAngle pStart pNew
if pAngle contains "left" then
put pStart - pNew into tDistance
set the angle of image "square" to tDistance
else
put pNew - pStart into tDistance
set the angle of image "square" to (- tDistance)
end if
unlock screen
end rotateimage

on resizeimage pStartDistance, pNewDistance
# Work out the percentage change between the old and new image
put round((pNewDistance / pStartDistance) * 100) into tPercentage

# Store the original location of the image
put the loc of image "square" into tLoc

# Calculate the new width and height
set the width of image "square"  to round(sFRAMEWIDTH * (tPercentage / 100))
set the height of image "square" to round(sFRAMEHEIGHT * (tPercentage / 
100))

set the loc of image "square"  to tLoc
unlock screen
end resize image


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Scrolling and multiTouch

2012-01-22 Thread Thomas McGrath III
Mike,

Take a look at the scrolling a group lesson online: -- 
http://lessons.runrev.com/s/lessons/m/4071/l/44421-How-to-create-a-scrolling-group-using-the-improved-graphics-architecture


And then take a look at the pinch lesson online: -- 
http://lessons.runrev.com/s/lessons/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion

HTHs


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 22, 2012, at 8:16 AM, Michael Doub wrote:

> I am trying to understand how multitouch scrolling and selection work 
> together.   Here is the problem I am trying to solve:
> 
> 1) the user takes a picture where the picture is larger than the screen.
> 2) the user needs to both scroll the picture and resize it with pinch to zoom
> 3) once the correct part of the image is in the screen, a selection needs to 
> be made to capture the 
> color of a specific part of the image.
> 4) then match this color to a non-rgb color pallet
> 
> 
> Well I have the number 1 and 4 parts of the app working.  Does anyone have an 
> example of how to 
> manage scrolling and pinch to zoom?
> 
> I don't know how to do this yet but I am thinking that I need to set up the 
> scroller to match the image after the picture is taken then when
> a multitouch is detected disable the scroller, then resize the image and then 
> reinitialize the scroller.  I am not sure
> how to go about getting into "Selection" mode.   I would like to avoid having 
> a special mode, but don't
> have any ideas how to separate selection from scrolling.
> 
> Any examples or advise would be welcome.
> 
> Regards,
>   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


___
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


Determine 180 degree turn using compass

2012-01-15 Thread Thomas McGrath III
OK, this is for the math experts here.

Using a working Compass app I would like to determine when the phone is turned 
around from an initial starting point. So I am working out the best ways to do 
this.
1. Start by capturing the start heading
2. Store that in a global
3. Store that the start heading has been set
4. Using headingChanged capture the currentHeading at intervals
5. Check the new currentHeading against the start heading
6. If enough of a difference is detected then count that as a lap
7. Set the new currentHeading as the global heading
8. Using headingChanged capture the currentHeading at intervals
9. Repeat until stopped
10. return total lap count

So this seems straight forward (if I haven't missed anything)
And if I start at 10 degrees and turn right 170 now I am at 180. Good. I just 
subtract 10 from 180 and I know I have turned at least 170 degrees and can 
count that as a lap (give or take) 

BUT then the new starting point may not be right since I might be mid turn when 
the interval fires.

And if the starting point is say 10 and I turn left 170 degrees and now I am at 
200 and 10 - 200 is -190 but I have not really turned -190 but only 170 and 
again this may be incorrect based on when the sample interval was fired.

So, It looks to me like I need to come up with a better way to estimate the 
general direction I am starting from and a better  way to set the intervals. As 
well as figuring out the right way to handle the compass degrees when they pass 
0/360.

I have never had to do this before and would like some advice and feedback on 
what/how to get there.

So far I started with this code after starting the compass heading capture:

global  myLapCountNumber

on headingChanged
   put iphoneCurrentHeading() into tHeading
   lapCount tHeading["heading"]
end headingChanged

on lapCount pNum
   if pNum is not "" then
  if myLapCountNumber is not "" then
 if pNum > myLapCountNumber then
if pNum - myLapCountNumber > 150 then
   answer pNum && "-" && myLapCountNumber && "= Lap Right +"
   put pNum into myLapCountNumber
end if
 else -- pNum is less than myLapCountNumber
if myLapCountNumber - pNum > 150 then
   answer myLapCountNumber && "-" && pNum && "= Lap Left -"
   put pNum into myLapCountNumber
end if
 end if
  else 
 put 0 into myLapCountNumber -- Needs changed to a sampling of the 
general direction
  end if
   end if 
end lapCount

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Compass Lesson not working

2012-01-15 Thread Thomas McGrath III
John,

There must be something different about the lessons stack. On the forums a few 
people have also had problems running it.

I added all of my code to your stack and used your methods and all works great. 
I created a new stack and copied all of your elements and code and mine and it 
works great. I copied all of your code to the Lessons stack and no compass.

Very strange indeed.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 14, 2012, at 3:52 PM, John Dixon wrote:

> 
> I can confirm that the location & compass features both work
> I sent a stack to your email address..
> 
> Dixie
> 
>> There is a lesson at run rev for the Compass features on iOS, but I can't 
>> get the heading part to work. I down loaded the stack from revOnline and 
>> added my provisioning profile and then run it as is on my iPhone 4 (not 4S) 
>> with iOS 5.0.1 -- The location works just fine but the heading does not 
>> return any data. When I tap at "Test for Heading Support" I get a correct 
>> answer. But no heading information is returned after tapping "Start 
>> Heading…" or "Get Heading…"
>> 
>> Lesson:
>> http://lessons.runrev.com/s/lessons/m/4069/l/30379-how-do-i-get-the-location-and-use-the-digital-compass-in-ios
>> 
>> Stack:
>> http://revonline2.runrev.com/stack/599/Compass
>> 
>> Can anyone else confirm this?
>> 
>> I built my own stack as well and use the headingChanged and headingError at 
>> the card level and still can not get any data back.
>> 
>> Thanks
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.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


___
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: Compass Lesson not working

2012-01-15 Thread Thomas McGrath III
Thanks John,

Your stacks works perfectly on my iphone4. Side by side the stack from the 
runrev lesson does not work and yours does work. I even copied my get current 
location script to your stack and it works there. You use the headingChanged 
and locationChanged and the lesson stack does not, but I still can't figure out 
what else is different so that yours works in initializing the compass???

Still looking.


Thanks again,

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 14, 2012, at 3:52 PM, John Dixon wrote:

> 
> I can confirm that the location & compass features both work
> I sent a stack to your email address..
> 
> Dixie
> 
>> There is a lesson at run rev for the Compass features on iOS, but I can't 
>> get the heading part to work. I down loaded the stack from revOnline and 
>> added my provisioning profile and then run it as is on my iPhone 4 (not 4S) 
>> with iOS 5.0.1 -- The location works just fine but the heading does not 
>> return any data. When I tap at "Test for Heading Support" I get a correct 
>> answer. But no heading information is returned after tapping "Start 
>> Heading…" or "Get Heading…"
>> 
>> Lesson:
>> http://lessons.runrev.com/s/lessons/m/4069/l/30379-how-do-i-get-the-location-and-use-the-digital-compass-in-ios
>> 
>> Stack:
>> http://revonline2.runrev.com/stack/599/Compass
>> 
>> Can anyone else confirm this?
>> 
>> I built my own stack as well and use the headingChanged and headingError at 
>> the card level and still can not get any data back.
>> 
>> Thanks
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.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


___
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


Compass Lesson not working

2012-01-14 Thread Thomas McGrath III
Dear Listers,

There is a lesson at run rev for the Compass features on iOS, but I can't get 
the heading part to work. I down loaded the stack from revOnline and added my 
provisioning profile and then run it as is on my iPhone 4 (not 4S) with iOS 
5.0.1 -- The location works just fine but the heading does not return any data. 
When I tap at "Test for Heading Support" I get a correct answer. But no heading 
information is returned after tapping "Start Heading…" or "Get Heading…"

Lesson:
http://lessons.runrev.com/s/lessons/m/4069/l/30379-how-do-i-get-the-location-and-use-the-digital-compass-in-ios

Stack:
http://revonline2.runrev.com/stack/599/Compass

Can anyone else confirm this?

I built my own stack as well and use the headingChanged and headingError at the 
card level and still can not get any data back.

Thanks

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Copy to Group problems

2012-01-14 Thread Thomas McGrath III
Alan,

nextName is not just a number, but text and a number and you are trying to do 
math on an item of it, so I don't think you can just add a number to it. Try:

set itemDelimiter to "_"
put last item of nextName into tLastNumber
add 10 to tLastNumber
put tLastNumber into last item of nextName

in place of the line -- add 10 to last item of nextName

Hope that helps


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 14, 2012, at 12:15 AM, user wrote:

> Hi everyone,
> 
> I have a script intended to add, name and position a label and field group 
> (which I refer to as a "doublet) into a group that already has a number of 
> such doublet groups.
> 
> Here's the script:
> 
> on addFldDoublet theGroup
>   put the number of grps in grp theGroup into lastDoublet
>   put the short name of grp lastDoublet of grp theGroup into lastName
>   put the left of grp lastName into newLeft
>   put (the bottom of grp lastName +2) into newTop
>   put lastName into nextName
>   set itemDelimiter to "_"
>   add 10 to last item of nextName
>   set itemDelimiter to ","
>   copy grp lastName to grp theGroup
>   set the name of the last grp to nextName
>   answer the short name of the last grp -- confirms the correct name
>   put the short name of the last grp into newGrp
>   answer newGrp -- confirms the correct name
>   set the left of grp newGrp to newLeft
>   set the top of grp newGrp to newTop
> end addFldDoublet
> 
> FYI - assume the name of grp lastDoublet is "DB_Doublet_160"
> 
> Group newGrp is supposed to be "DB_Doublet_170" and this appears to be 
> confirmed by the two "answer" commands I've inserted in the script to verify.
> 
> But after the script runs, it turns out that the new group is also named 
> "DB_Doublet_160" instead of "DB_Doublet_170" (which does not seem to exist, 
> even though the second "answer" test shows that it did ), and the new group 
> is positioned right on top of the old group, and not offset to to newTop as 
> desired (2 pixels below the bottom of the old group.
> 
> Anybody have any idea as to what is causing this script to not work as 
> intended?
> 
> Thanks in advance for your help in this matter.
> 
> Kind regards,
> ALAN GAYNE
> 
> ___
> 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: FaceBook lesson and images

2012-01-13 Thread Thomas McGrath III
Here ya go:

http://lessons.runrev.com/s/lessons/m/4069/l/48805-accessing-facebook-api-s-using-livecode


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 13, 2012, at 8:20 PM, Alejandro Tejada wrote:

> Hi Thomas,
> 
> 
> Thomas McGrath III-2 wrote
>> 
>> Has anyone taken the FB lesson on run rev any further. I am not up on
>> using the data grid with images and would love to inspect how that is
>> accomplished.
>> 
> 
> Could you post a link to this lesson?
> 
> Thanks in advance!
> 
> Al
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/FaceBook-lesson-and-images-tp4291357p4293921.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


___
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


FaceBook lesson and images

2012-01-12 Thread Thomas McGrath III
Has anyone taken the FB lesson on run rev any further. I am not up on using the 
data grid with images and would love to inspect how that is accomplished.

Thanks

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Knockout

2012-01-07 Thread Thomas McGrath III
Mark I have not been able to figure out a clear example of knockout. It does 
not seem to make any difference in my tests.
Sorry.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jan 6, 2012, at 4:55 PM, Mark Schonewille wrote:

> Hi,
> 
> I'm looking for a clear example showing the effect of dropShadow["knockout"]. 
> Anyone?
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Become our partner in sales http://qery.us/1bq Start selling Color Converter 
> today. 20% commission!
> 
> 
> ___
> 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


iOS print card with graphic effects bug entered

2012-01-07 Thread Thomas McGrath III
I entered a bug report for printing cards with graphic effects on iOS devices 
causing a crash.

Report #9946
print card crashes with graphic effects

I spent three days tracking down this bug to what was causing it. At first I 
thought it was the external for printing on iOS but then with help finally 
figured out the cause.

The workaround is to export a snap shot of the card into a variable (instead of 
print to pdf / print card) and then use the external used in rreHardcopy to 
print the snap shot from the variable.

Here is the code I am calling from within a Share button:

on doPNGPrint
  doStartActivityIndicator 
  if not rreHardcopyIsAvailable() then
answer "Printing is not available at this time." titled "Printing Error"
exit to top
   end if
  put "MinStickerFreePlay" into tPrintJob
  export snapshot from rect (the rect of graphic "Scene") of this card to tPNG 
as PNG
  put tPNG into URL ("file:" & specialFolderPath("documents") & 
"/MinStickerFreePlay.png")
  doStopActivityIndicator
  put specialFolderPath("Documents") & slash & "MinStickerFreePlay.png" into 
tPDFFile
   rreHardcopyPrintPDF tPDFFile, tPrintJob
   if the result = "printing cancelled" then
exit to top
   end if
end doPNGPrint



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Anyone knows how to scroll native iOS controls alongside with groups?

2011-12-30 Thread Thomas McGrath III
Andre,

That's what I do. I change the loc of the iOS control based on the LC controls 
during a scroll. But can be choppy if a lot of scrolling is going on.

 iphoneControlSet sScrollerId, "rect", tRect



-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 30, 2011, at 8:21 AM, Andre Garzia wrote:

> Folks,
> 
> I have a form here that is a group. I use a native scroller to move the
> group and it works great but there are a couple of native fields in the
> form and they do not scroll alongside with the group.
> 
> Anyone here has some points to scroll the controls? Should I try to compute
> some offset and set new rects?
> 
> Cheers
> andre
> 
> -- 
> 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


___
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 pagingEnabled

2011-12-30 Thread Thomas McGrath III
Has anyone been able to get pagingEnabled for a scrolling group to work in iOS. 
Any working examples?

Not getting any results here. As it makes no difference at all.

Thanks 
Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: How do I debug iOS app crashes?

2011-12-19 Thread Thomas McGrath III
Bill,

Take good look at any openStack messages for crashes at start up. I have had to 
move certain things into a preOpenStack handler which seems to work better on 
iOS.
As is the standard for debugging I first look at startup scripts and then move 
right to I/O scripts and then to the creating, editing and deleting of objects 
and lastly to complex storage of info schemes.

I do a systematic commenting out of handlers and try again when converting 
desktop apps to iOS.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 18, 2011, at 8:17 PM, Bill Vlahos wrote:

> I have an app that works fine on Desktop computers but when I run it in the 
> simulator it crashes the app when I do a particular thing. I've looked at all 
> the code I don't see anything that should fail.
> 
> Since I'm running it in the simulator I can't tell why it is crashing. How 
> can I debug it?
> 
> Bill Vlahos
> 
> Sent from my iPhone
> 
> ___
> 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: Happy Ho ! Ho !

2011-12-19 Thread Thomas McGrath III
Thank you so much, and I also wish everyone the best of health, family, friends 
and peace for the new year and thank you for being there for me this past year.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 18, 2011, at 2:13 PM, Bob Earp wrote:

> From the centre of the universe (White Rock, British Columbia), here's 
> thanking everybody on the list for fantastic support over the last year, I 
> don't know of another developer group that supports each other so well.   
> 
> Do have some very happy and safe holidays, and I wish you all a healthy 2012 
> !!
> 
> Kind regards, Bob...
> 
> 
> Bob Earp
> White Rock, British Columbia.
> 
> 
> 
> 
> ___
> 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


[iOs] No rotation in Simulator

2011-12-15 Thread Thomas McGrath III
I am using LC 5.0.2 and built a simple new stack with 1024x1024 with one 
button. I build for iPhone,iPad,iPod and 3.2 with all orientations checked in 
the standalone settings.

Anyway, If I launch on the iPad when I rotate the simulator the screen rotates 
But not on the iPhone or Retina simulators.

Can anyone explain this or confirm this?


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.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: Are iOS push notifications needed for this use case?

2011-12-07 Thread Thomas McGrath III
I agree, I have been requesting Push Notification since the beginning of LC's 
transition to mobile. Maybe they will implement something soon.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 7, 2011, at 4:17 AM, Keith Clarke wrote:

> ...thanks for the link, Tom. Interesting concept but I'm not sure if a 
> per-user, service-based model could work for the app I have in mind (it 
> introduces pricing issues for me and security concerns for my target market).
> 
> Native support for push notifications would be so much easier! :-(
> Best,
> Keith..
> 
> On 7 Dec 2011, at 04:52, Thomas McGrath III wrote:
> 
>> Keith,
>> The one that I am looking into is Urban Airship 
>> http://urbanairship.com/pricing/ but it is not free but does cover iOS 
>> Android and Blackberry…
>> 
>> Basic Free is a pay per message version that I am looking into. THe API 
>> looks straight forward and might work with LC.
>> 
>> HTHs
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Dec 6, 2011, at 12:13 PM, Keith Clarke wrote:
>> 
>>> Thanks for the confirmation that it's push notifications I need, Tom. 
>>> 
>>> Before I put LiveCode on ice as a platform for iOS apps (as I've already 
>>> had to for web apps), are there any examples of these third-party solutions 
>>> that play nicely with LC?
>>> Best,
>>> Keith..  
>>> 
>>> On 6 Dec 2011, at 14:40, Thomas McGrath III wrote:
>>> 
>>>> Keith,
>>>> 
>>>> As of this moment RunRev has not implemented the push notification APIs 
>>>> for iOS into LiveCode. There are third party solutions outside of LC. I 
>>>> also have a vital need for Push Notification.
>>>> 
>>>> 
>>>> -- Tom McGrath III
>>>> http://lazyriver.on-rev.com
>>>> 3mcgr...@comcast.net
>>>> 
>>>> On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:
>>>> 
>>>>> Hi folks,
>>>>> I'm considering LiveCode for an iOS app but I think I need push 
>>>>> notification support. 
>>>>> 
>>>>> The use case is to alert users of app-specific messages waiting (even 
>>>>> when the application is not active) and set the little 'messages waiting' 
>>>>> counter on the app's icon. I'm looking for on-device behaviour much like 
>>>>> with the Mail app. 
>>>>> 
>>>>> Is this use case supportable with LiveCode as-is or do I need to look 
>>>>> elsewhere unless/until RunRev implement support for push notifications?
>>>>> Best,
>>>>> Keith.. 
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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


___
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: Are iOS push notifications needed for this use case?

2011-12-06 Thread Thomas McGrath III
Keith,
The one that I am looking into is Urban Airship 
http://urbanairship.com/pricing/ but it is not free but does cover iOS Android 
and Blackberry…

Basic Free is a pay per message version that I am looking into. THe API looks 
straight forward and might work with LC.

HTHs

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 6, 2011, at 12:13 PM, Keith Clarke wrote:

> Thanks for the confirmation that it's push notifications I need, Tom. 
> 
> Before I put LiveCode on ice as a platform for iOS apps (as I've already had 
> to for web apps), are there any examples of these third-party solutions that 
> play nicely with LC?
> Best,
> Keith..  
> 
> On 6 Dec 2011, at 14:40, Thomas McGrath III wrote:
> 
>> Keith,
>> 
>> As of this moment RunRev has not implemented the push notification APIs for 
>> iOS into LiveCode. There are third party solutions outside of LC. I also 
>> have a vital need for Push Notification.
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:
>> 
>>> Hi folks,
>>> I'm considering LiveCode for an iOS app but I think I need push 
>>> notification support. 
>>> 
>>> The use case is to alert users of app-specific messages waiting (even when 
>>> the application is not active) and set the little 'messages waiting' 
>>> counter on the app's icon. I'm looking for on-device behaviour much like 
>>> with the Mail app. 
>>> 
>>> Is this use case supportable with LiveCode as-is or do I need to look 
>>> elsewhere unless/until RunRev implement support for push notifications?
>>> Best,
>>> Keith.. 
>>> 
>>> 
>>> ___
>>> 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: Are iOS push notifications needed for this use case?

2011-12-06 Thread Thomas McGrath III
Keith,

As of this moment RunRev has not implemented the push notification APIs for iOS 
into LiveCode. There are third party solutions outside of LC. I also have a 
vital need for Push Notification.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:

> Hi folks,
> I'm considering LiveCode for an iOS app but I think I need push notification 
> support. 
> 
> The use case is to alert users of app-specific messages waiting (even when 
> the application is not active) and set the little 'messages waiting' counter 
> on the app's icon. I'm looking for on-device behaviour much like with the 
> Mail app. 
> 
> Is this use case supportable with LiveCode as-is or do I need to look 
> elsewhere unless/until RunRev implement support for push notifications?
> Best,
> Keith.. 
> 
> 
> ___
> 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: LiveCode.tv Event #44 Wrap-up

2011-11-25 Thread Thomas McGrath III
I still would like to see those on the list that have products for LC show how 
to use them and take Q&A sessions. Can we petition them to do so?


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Nov 24, 2011, at 11:20 AM, Mark Schonewille wrote:

> Hi Robert,
> 
> Last year, we started somewhere in September and had 2 presentations every 
> week until Christmas. I'd prefer not to make an official break but instead 
> organise an event whenever someone would like to present. It would be a real 
> shame if someone is willing to do a presentation next week only but we have 
> to refuse because of an official break.
> 
> We keep all options open for now. Anyone who has a new product to show or a 
> nice trick to share, please contact me off-list to set a date for the event.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Become our partner in sales http://qery.us/1bq Start selling Color Converter 
> today. 20% commission!
>> 
>> May be instead of cancelling, make an official break for a couple month. 
>> With Thanxgiving, Black Friday, preparations for Christmas, New Year, 
>> wrapping up the year, ... (fill you stuff in), too many people might be more 
>> focused on other matters in the near future.
>> 
>> Robert
> 
> 
> ___
> 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: Text-to-speech

2011-10-26 Thread Thomas McGrath III
You can however turn on speak selection in accessibility preference pane in iOS 
5. Then when you select text in an app the option to speak it is there. Haven't 
tested yet with LC fields.

Also fwiw, turn on big text and set to 20 or 24 to ease your eyes when using 
the iPhone.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Oct 26, 2011, at 9:04 AM, Andre Garzia wrote:

> Paolo,
> 
> As far as I know, Apple has no way for apps to integrate with Siri at this
> time.
> 
> Cheers
> andre
> 
> On Wed, Oct 26, 2011 at 10:52 AM, paolo mazza 
> wrote:
> 
>> Dear livecoders,
>> I have few questions about iOS app.
>> 
>> how can I integrate  text-to-speech/Siri  in an iOS application ?
>> 
>> Can i use different languages  as other apps do?
>> 
>> Then , can I set the international keyboard from an iOS LC app?
>> 
>> Thanks a lot
>> 
>> All the best.
>> 
>> Paolo Mazza
>> 
>> ___
>> 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


___
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: Another examples of the screen refresh problem on the Mac?

2011-10-13 Thread Thomas McGrath III
Great explanation and break down Richard. I very much enjoyed this.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Oct 12, 2011, at 9:54 AM, Richard Gaskin wrote:

> James Hurley wrote:
> 
>> Thank you for this Bernd. It is going to take me a while to digest these new 
>> graphic features in 5.0. I confess I am unaware of the interaction between 
>> RR code and the display on the screen. That's probably important. :-)
>> 
>> Like you, I don't see much improvement of 5.0 over 4.6 in animation.  The 
>> effect of lowering the syncRate, not so much the rate as the time between 
>> syncs (?), is significant, but then that was something available to us in 
>> 4.6--except that I didn't know it. The nomenclature suggests that it is the 
>> frequency, when it appears to be the period. And, as we all learned in 
>> physics, one is the reciprocal of the other.
>> 
>> I would like to see a little help from RR on these new features--by way of a 
>> demonstration stack perhaps.
> 
> Yes, I think that's going to be necessary, and over time as more is 
> understood about the new rendering scheme, hopefully there will also be more 
> intelligent defaults so users can immediately see at least some benefit 
> without having to do multiple iterations of experimentation.
> 
> The v5.0 rendering engine represents perhaps the biggest change in the 
> history of the engine to how objects are rendered on screen.   The upside is 
> that it's possible to see graphics performance increase many times over 
> previous versions.  The downside is that it's not easy to realize that 
> performance gain without a great deal of experimentation.
> 
> In earlier versions, cards were rendered using a very brute-force method, in 
> which every time there was a screen refresh every object was rendered from 
> back to front until all had been rendered, and then that composite image was 
> copied to the graphport of the window in which the card is displayed.
> 
> So simply moving a single billiard ball, which might actually affect only one 
> small portion of the screen, caused the entire screen to go through that 
> rendering process.  It was thorough and robust, but often redundant.
> 
> In the new rendering engine, the screen composite is divided into tiles, and 
> logic is applied to determining whether a given tile is affected by a given 
> change.  Those tiles that are affected will be re-rendered, while those that 
> aren't will simply retain their last rendering and use that to copy to the 
> window for the finished result.
> 
> There is a certain amount of additional internal overhead to this tiled 
> scheme, however, since it now has to keep track of multiple sections of the 
> screen and run through that hit-testing to determine which ones need to be 
> re-rendered.  On the one hand, more tiles can mean less re-rerendering, but 
> on the other hand it means more tile management.
> 
> So the key to using the new graphics engine effectively boils down to finding 
> the right tile size optimal for your particular layout and the nature of the 
> changes happening within it.
> 
> If you have relatively small objects whose changes affect relatively small 
> portions of the screen, you may find a smaller tile size will offer greater 
> performance.
> 
> But if even a small object moves over a large area, a larger tile size may 
> provide even better performance.
> 
> The optimal tile size can't be known in advance, because it depends on a wide 
> variety of factors driven by scripts that may exist in the objects on the 
> card themselves, or even in some remote library, and the sum of their 
> interactions may be too complex to expect that the engine can figure out in 
> advance how to set an optimal tile size.
> 
> So in v5, to take advantage of this new rendering scheme we need to 
> experiment with different tile sizes, some larger and some smaller, and 
> perhaps even different rendering engines on the platforms they're available 
> on (LC now uses OpenGL, for example, on platforms where that technology is 
> available).
> 
> Through the evolution of this new engine, developers on the dev list noted a 
> wide range of performance results from "worse than before" to "OMG this thing 
> just flies!", depending on the different combinations of tile sizes and other 
> rendering options they took the time to experiment with.
> 
> Given the complexity of the new renderer, and how much conceptualization and 
> experimentation is required by the user to use it well, it could be argued 
> that it has introduced a level of complexity that seems counter-productive to 
> RunRev's goal of delivering the simplest system possible for delivering 
> professional software.
> 
> But I believe that as we use it more often, and as experimentation and 
> development continue at RunRev, we will shortly see ever-better versions of 
> this engine which are able to apply defaults which provide at least some of 
> the benefits, leaving furt

Re: [ANN] minimal facebook library available

2011-10-13 Thread Thomas McGrath III
Just joined the fundraising efforts. Hope you get enough contributions soon.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Oct 12, 2011, at 8:42 AM, Maarten Koopmans wrote:

> How much do you need, and what will you build for that?
> And what do we need to raise to make the end result BSD licensed once
> its feature-complete?
> 
> --Maarten
> PS:great work!
> 
> On Tue, Oct 11, 2011 at 5:27 AM, Andre Garzia  wrote:
>> Folks,
>> 
>> Thanks to those that contributed with my little fundraising campaign, I am
>> now able to release a minimal facebook library. There is still much work to
>> be done and I don't plan to stop it.
>> 
>> You can learn more about my Social Network Library Suite here:
>> http://andregarzia.com/page/socialsuite
>> 
>> You can browse the mercurial repository here:
>> http://hg.andregarzia.com/livecode-socialsuite
>> 
>> I am still raising funds for this suite, so, don't loose your chance to
>> contribute.
>> 
>> WHAT IS AVAILABLE:
>> 
>> * lib.aag.json.livecode - a minimal JSON library. BSD License.
>> * lib.aag.facebook.livecode - a simple low level facebook library.
>> * examples/facebook/simpleposter.livecode - a sample stack that posts to a
>> user wall.
>> 
>> Remember this library is GPL licensed. You can only build FREE, OPEN SOURCE
>> software with it. If you want a commercial version, then, you'd better join
>> the fundraising.
>> 
>> So guys, can you please test?
>> 
>> By the way, you will need to register your application on
>> http://developer.facebook.com. After registering, you will need to pick your
>> application id and application secret and fill the setup card on the example
>> stack. I am not sharing my application id and secret with you.
>> 
>> Cheers
>> andre
>> PS: fundraiser, sleep with this sound.
>> 
>> --
>> 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
>> 
> 
> ___
> 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: Jobs Passed Away

2011-10-06 Thread Thomas McGrath III
I for one will miss him and his influence on my computing life. So long Steve...


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Oct 5, 2011, at 8:07 PM, Petrides, M.D. Marian wrote:

> So, so sad, if not entirely unexpected.  He'll be missed. :-
> 
> On Oct 5, 2011, at 6:47 PM, Scott Rossi wrote:
> 
>> Our local news just broadcast that Steve Jobs passed away recently.  Anybody
>> else see this news?
>> 
>> Sad, came across a TED talk he apparently gave several years ago:
>> http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die.html
>> 
>> End of an era.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
>> 
>> 
>> 
>> ___
>> 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: [ANN] ObjectFormats plugin

2011-09-05 Thread Thomas McGrath III
Downloading now...

Looks very interesting


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Sep 5, 2011, at 12:13 AM, Peter M. Brigham, MD wrote:

> I'm making available for general use a plugin I've developed. Here's from the 
> help text:
> 
> --
> 
> What it is
> 
> The ObjectFormats plugin helps you apply stored properties to buttons or 
> fields in any stack. Set up a field or button the way you want it and save 
> its properties in this plugin, then apply the whole set of properties to 
> future fields or buttons with a mouseclick. You can store a list of button 
> and field formats and use them whenever you want. 
> 
> How it works
> 
> Select a button or a field in any stack with the pointer tool, then click the 
> "save format" button. (The plugin only works for buttons and fields, at least 
> for now.) After naming your format, a number of properties of the selected 
> control will be stored and the format will appear in the list in the main 
> field. Button formats will be indicated with a little oval button icon and 
> field formats will be indicated with a square field icon.
> 
> Thereafter, if you select a button or a field in any stack and then click on 
> a format in the list, all the stored properties of that format will be 
> applied at once to the selected control.
> 
> Certain properties will not be stored or changed, for obvious reasons: the 
> name, label, altID, rect, behavior, script, layer, text, icon, etc., of 
> controls will remain untouched, since they are either unique for each control 
> or should otherwise be handled individually. Only properties relevant to the 
> general appearance and functioning of the button or field will be set, like 
> the button or field style, text appearance, border width, margins, blending, 
> locktext, tabstops, colors, autohilite, showborder, etc, where applicable.
> 
> After you apply a format to an object, the undo button will appear at top 
> right. If you regret your reformatting of the object, click the undo button 
> and the previous properties of the selected object will be restored. Note 
> that only the most recent reformatting operation can be undone.
> 
> Option-click on the "save format" button to examine the relevant properties 
> of the selected object (without saving them). Option-click on a line in the 
> format list to see the stored properties of that format (without applying 
> them). Shift-click on a format in the list to delete it from the plugin. 
> Command-click on a format to change its name.
> 
> To use it as a plugin, drop the ObjectFormats.rev file into your plugins 
> folder and restart LiveCode.
> 
> ---
> 
> Available at:
> .dmg -- http://db.tt/dCBTN1d
> .zip -- http://db.tt/Ck6PnYn
> 
> -- Peter
> 
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
> 
> 
> 
> ___
> 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: Sound formats on Android

2011-08-31 Thread Thomas McGrath III
:)



On Aug 31, 2011, at 6:06 PM, Colin Holgate wrote:

> You're allowed to admit that?
> 
> 
> On Aug 31, 2011, at 5:53 PM, Thomas McGrath III wrote:
> 
>> There is an NDA in effect for 4.6.4
> 
> ___
> 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: Sound formats on Android

2011-08-31 Thread Thomas McGrath III
There is an NDA in effect for 4.6.4


On Aug 31, 2011, at 2:47 PM, Ralph DiMola wrote:

> Mike,
> 
> 4.6.4 is not released yet. It's in prelease on for pre-release program
> participants. The bug report gives an easy workaround. This bug appeared
> when "SDK Platform Android 2.2, API 8, Revision 1" was updated to "SDK
> Platform Android 2.2, API 8, Revision 2"
> Do you have access to the bug reports?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> Phone: 518-636-3998 Ex:11
> Cell: 518-796-9332
> 
> 
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Admin
> Sent: Wednesday, August 31, 2011 2:38 PM
> To: How to use LiveCode
> Subject: RE: Sound formats on Android
> 
> 
> 
> Ralph, 
> 
> OK. And where do we get 4.6.4 - is it available for d/l
> yet? 
> 
> Mike 
> 
> On Wed, 31 Aug 2011 13:40:32 -0400, Ralph DiMola wrote:
> 
> 
>> Mike,
>> 
>> Check out this bug report #9682--Livecode 4.6.3 GM2
> or earlier does not
>> recognize Android SDK
>> This is fixed for all
> 4.6.4 incarnations.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen
> Information Services
>> Phone: 518-636-3998 Ex:11
>> Cell: 518-796-9332
>> 
> 
>> -Original Message-
>> From:
> use-livecode-boun...@lists.runrev.com [1]
>> 
> [mailto:use-livecode-boun...@lists.runrev.com [2]] On Behalf Of Admin
>> 
> Sent: Tuesday, August 30, 2011 3:42 PM
>> To: How to use LiveCode
>> 
> Subject: Re: Sound formats on Android
>> 
>> Good job! My guess would be
> the android OS and not Live Code.
>> Sounds like a encoder/decoder issue.
> 
>> 
>> Personally, I am having a hell of
>> a time deploying to android. I
> wrote a small app to test sounds and
>> found out I could not deploy it
> properly, even though in another program
>> I can deploy to android
> without a problem. 
>> 
>> I re-installed the android
>> SDK, installed all
> packages and tried again, but the android plugin in
>> Live Code does not
> like the old or new SDK and says "That is not a
>> useable Android SDK
> root. Missing aapt tool. Make sure your sdk install
>> has not become
> corrupted". I re-doiwnloaded the SDK twice and both times
>> it
> downloaded 100% and installed without incident. 
>> 
>> Also, in running
>> 
> the SDK manager, if you try to run any of the Android Virtual Devices
> (I
>> made one representing my Aconia tablet and my HTC Evo, plus the
> stock
>> one), it does not start and gives this error: "Invalid command
> line
>> command: FILES". 
>> 
>> Any help is appreciated. 
>> 
>> Mike 
>> 
>> 
> On Tue, 30 Aug 2011
>> 15:24:28 -0400, Roger Eller wrote:
>> 
>>> On Tue,
> Aug 30, 2011 at 2:05 PM,
>> 
>> J. Landman Gay wrote:
>> 
 On 8/30/11
> 12:06 PM, Bob Sneidar wrote:
>> 
>>> 
 Wow Jacque! What kind of hell
> did you have to go through to get to
>>> 
>>> that conclusion?
>> lid;
> margin-left:5px; width:100%"> Three days worth. The light actually came
> on because 
>> 
>> of a bug in an older versi> ich wasn't at all what I
> wanted. Upgrading to the latest Audacity fixed that problem. I'd already
> upgraded when I posted. Then I got to thinking back and I remembered
> that I d
>> ar one of the sounds when it was 10 seconds long. I wish I'd
> remembered that earlier. I'm still not sure what the exact cutoff is for
> sound length on Android, but 1 second fixed it for me and I'm tired of
> messing with it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com
> [3] [1] HyperActive Software | http://www.hyperactivesw.com [4][2] It
> would be interesting to find 
>> 
>> out whether it is the LC engine or
> IDE -
>> relative to Android, or is it 
>> 
>> Android itself that is
> imposing this minimum
>> sound length. 
>> 
>> ~Roger
>> 
> http://lists.runrev.com/mailman/listinfo/use-livecode [4] Links: --
> [1] mailto:use-livecode@lists.runrev.com [5] [4]
> use-livecode@lists.runrev.com [6] Please visit this url to subscribe,
> unsubscribe and manage your subscriptio
>> 
>>> man/listinfo/use-livecode
> ___ use-livecode mailing l
>> 
> "mailto:use-livecode@lists.runrev.com";>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 [7]
> 
> 
> 
> 
> Links:
> --
> [1] mailto:use-livecode-boun...@lists.runrev.com
> [2]
> mailto:use-livecode-boun...@lists.runrev.com
> [3]
> mailto:jac...@hyperactivesw.com
> [4] http://www.hyperactivesw.com
> [5]
> mailto:jacque@h
> 
>> ctivesw.com
> to: [6]
> http://lists.runrev.com/mailma
> 
>> __use-livecodemailinglist
> vec...@lists.runrev.com
> [7]
> 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/mai

Re: LiveCode.tv event needs you

2011-08-19 Thread Thomas McGrath III
1. iRev Ideas about integrating iRev and livecode apps. exchanging information, 
images, etc.

2. Integrating RevLets into the workflow.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Aug 17, 2011, at 11:52 PM, Admin wrote:

> 
> 
> Judy, 
> 
> For one, I would like to see how to make applications that
> actually work using the web deloyment module (revlet player). 
> 
> Mike
> 
> 
> On Wed, 17 Aug 2011 19:53:51 -0700 (PDT), Judy Perry wrote: 
> 
>> 
> Mike,
>> 
>> As someone who is "new to livecode," what would you be
> interested in 
>> seeing?
>> 
>> Judy
>> 
>> On Wed, 17 Aug 2011, Mike Felker
> wrote:
>> 
>> I have not yet attended an event (new to livecode), but if I
> can help I will.
>> 
>> ___
>> 
> use-livecode mailing list
>> use-livecode@lists.runrev.com [1]
>> Please
> visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> [2]
> 
> 
> 
> Links:
> --
> [1] mailto:use-livecode@lists.runrev.com
> [2]
> 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: Airlaunch 1.0b2

2011-08-06 Thread Thomas McGrath III
I can't get this to work for me. I used an app that I had installed previously 
on the iPad but I just get a null error.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Aug 5, 2011, at 12:56 PM, J. Landman Gay wrote:

> On 8/5/11 9:16 AM, Björnke von Gierke wrote:
>> Sooo.. silly banter aside, what is this thing, what can it do for me
>> and when to use it?
> 
> But BvG, it is so clear to me -- what happened to your telepathy skills? ;)
> 
> AirLaunch lets you bypass Apple's methods of installing your test apps on iOS 
> devices, and lets you install via a wi-fi connection instead. Normally to 
> install a newly built app for testing, you must connect the device to your 
> Mac via USB cable, launch either iTunes or XCode, and drag your standalone 
> there. If you're in iTunes, you also have to wait for a synch.
> 
> AirLaunch bypasses all that. It builds a set of files that you copy to a 
> server or your Dropbox. (Using Dropbox is the easiest way for now, very 
> quick.) On the device, you open a browser (or the Dropbox app,) tap a link, 
> and your app installs. You don't need to mess with cabling, synching, or 
> launching an Apple application.
> 
>> 
>> You really should up your [ANN] count, so you can get better at it
>> :P
> 
> You're right. I'm almost finished testing scripts that upload to the server 
> from within AirLaunch, which will make installation even easier. When that's 
> done, I'll [ANN] with more care. :)
> 
> -- 
> Jacqueline Landman Gay | 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


___
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


<    1   2   3   4   5   6   >