AW: put the qtversion crashes

2013-02-15 Thread Tiemo Hollmann TB
Hi Bob,
I've wrapped the qtversion in a try catch in my next version, but with all
current version out there I still have this issue. Just yesterday again I
had another customer (Win 7 Ultimate 64, other customes were XP,...). On the
first start of my program I check for qtversion and I pop up a message to
install QT please... After the install of QT my program crashes only.
Deinstalling QT three times, reinstalling it (as Admin) three times again,
with or without virus scanner, having sufficient RAM, starting as Admin,
etc. nothing helped, my program couldn't get to start anymore without total
crash. Reinstalling windows probably would solve the problem, but I haven't
met any customer yet who was ready to do that, they better rejected my
program and complain about the bad quality of my software.
I wonder if there are no other bells and whistles to check for a full QT
installation? Am I the only one making theses experiences with QT? No
experiences and tricks?
Tiemo


> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
> von Robert Sneidar
> Gesendet: Donnerstag, 31. Januar 2013 19:16
> An: How to use LiveCode
> Betreff: Re: put the qtversion crashes
> 
> Wrap the code into try catch and see if that crashes. Just a thot. It may
> still. It sounds like the mechanism for querying for Quicktime is doing
> something external to the app that is making the OS wiggy.
> 
> Bob
> 
> 
> On Jan 31, 2013, at 2:21 AM, Tiemo Hollmann TB wrote:
> 
> > Hi,
> >
> > I have a customer, where my program just crashes on windows when
> > asking for
> > quicktime: "put the qtversion" and quicktime is not installed.
> >
> > Usually this works without any problems, but this specific customer
> > tried to install my program on three different Windows machines (XP)
> > and it crashed on all three machines as far quicktime was not
> > installed. After quicktime was installed, everything was fine.
> >
> > Any idea what is going on here? Any similar experiences?
> >
> > Tiemo
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-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: Please can you help increase the number of visitors to 1001 things to do with LiveCode

2013-02-15 Thread Peter W A Wood
Thanks Monte. I've added the small Kickstarter image linked to the Kickstarter 
Project Home Page. Blogger wouldn't let me simply embed the widget and I don't 
have time to mess with the Blogger template at the moment.

Peter

On 15 Feb 2013, at 14:02, Monte Goulding wrote:

> I just facebooked it. You should probably put the kickstarter widget on there.
> 
> On 15/02/2013, at 4:04 PM, Peter W A Wood wrote:
> 
>> On Wednesday, there were 301 page views of "1001 things to do with 
>> LiveCode'. Yesterday, it went up to 500. I hope that the number of page 
>> views will increase every day until at least the end of the LiveCode Open 
>> Source Kickstarter campaign.
>> 
>> I'd really appreciate any help you could give me in getting people to visit 
>> the site - a link on your website, a mention on Facebook, a tweet on 
>> Twitter, an update on LinkedIn. The more people from outside the LiveCode 
>> community we can enthuse about LiveCode by sparking their ideas on what they 
>> could do with LiveCode the better. Some of them will then be motivated to 
>> join in the Kickstarter campaign.
>> 
>> For this to work we must try and turn this trickle of views into an 
>> avalanche. Can you help me by pushing my "snowball" a little down the slope. 
>> If we can get it up to speed, it will start growing rapidly on its own.
>> 
>> Peter
>> 
>> PS Once again thanks for all the contributions. Please don't be shy if you 
>> haven't sent me a screenshot yet, there's still plenty of time.
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> --
> M E R Goulding 
> Software development services
> Bespoke application development for vertical markets
> 
> mergExt - There's an external for that!
> 
> ___
> use-livecode mailing list
> use-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: Please can you help increase the number of visitors to 1001 things to do with LiveCode

2013-02-15 Thread Heather Laine
Mmm I think its slightly broken the page. Its displaying weirdly for me now, in 
chrome on Mac. If you want a screenshot drop me a line off list.

Other than that, I am *loving* this blog. It's an excellent way to show all the 
many things people do with LiveCode, and I will feature it in the next 
newsletter for sure.

Good Work!

Heather

On 15 Feb 2013, at 08:12, Peter W A Wood wrote:

> Thanks Monte. I've added the small Kickstarter image linked to the 
> Kickstarter Project Home Page. Blogger wouldn't let me simply embed the 
> widget and I don't have time to mess with the Blogger template at the moment.
> 
> Peter
> 
> On 15 Feb 2013, at 14:02, Monte Goulding wrote:
> 
>> I just facebooked it. You should probably put the kickstarter widget on 
>> there.
>> 
>> On 15/02/2013, at 4:04 PM, Peter W A Wood wrote:
>> 
>>> On Wednesday, there were 301 page views of "1001 things to do with 
>>> LiveCode'. Yesterday, it went up to 500. I hope that the number of page 
>>> views will increase every day until at least the end of the LiveCode Open 
>>> Source Kickstarter campaign.
>>> 
>>> I'd really appreciate any help you could give me in getting people to visit 
>>> the site - a link on your website, a mention on Facebook, a tweet on 
>>> Twitter, an update on LinkedIn. The more people from outside the LiveCode 
>>> community we can enthuse about LiveCode by sparking their ideas on what 
>>> they could do with LiveCode the better. Some of them will then be motivated 
>>> to join in the Kickstarter campaign.
>>> 
>>> For this to work we must try and turn this trickle of views into an 
>>> avalanche. Can you help me by pushing my "snowball" a little down the 
>>> slope. If we can get it up to speed, it will start growing rapidly on its 
>>> own.
>>> 
>>> Peter
>>> 
>>> PS Once again thanks for all the contributions. Please don't be shy if you 
>>> haven't sent me a screenshot yet, there's still plenty of time.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> --
>> M E R Goulding 
>> Software development services
>> Bespoke application development for vertical markets
>> 
>> mergExt - There's an external for that!
>> 
>> ___
>> use-livecode mailing list
>> use-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

Heather Laine
Customer Services Manager
http://www.runrev.com/
Support Open Source LiveCode on Kickstarter
http://www.kickstarter.com/projects/1755283828/open-source-edition-of-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: Please can you help increase the number of visitors to 1001 things to do with LiveCode

2013-02-15 Thread Peter W A Wood
Could you check again please Heather in case the weird display was when I was 
adding the Kickstarter image. It looks okay for me in Safari and FireFox on the 
Mac and Chrome under Windows. If it's still weird, I would appreciate a 
screenshot.

Thanks

Peter

On 15 Feb 2013, at 16:16, Heather Laine wrote:

> Mmm I think its slightly broken the page. Its displaying weirdly for me now, 
> in chrome on Mac. If you want a screenshot drop me a line off list.
> 
> Other than that, I am *loving* this blog. It's an excellent way to show all 
> the many things people do with LiveCode, and I will feature it in the next 
> newsletter for sure.
> 
> Good Work!
> 
> Heather
> 
> On 15 Feb 2013, at 08:12, Peter W A Wood wrote:
> 
>> Thanks Monte. I've added the small Kickstarter image linked to the 
>> Kickstarter Project Home Page. Blogger wouldn't let me simply embed the 
>> widget and I don't have time to mess with the Blogger template at the moment.
>> 
>> Peter
>> 
>> On 15 Feb 2013, at 14:02, Monte Goulding wrote:
>> 
>>> I just facebooked it. You should probably put the kickstarter widget on 
>>> there.
>>> 
>>> On 15/02/2013, at 4:04 PM, Peter W A Wood wrote:
>>> 
 On Wednesday, there were 301 page views of "1001 things to do with 
 LiveCode'. Yesterday, it went up to 500. I hope that the number of page 
 views will increase every day until at least the end of the LiveCode Open 
 Source Kickstarter campaign.
 
 I'd really appreciate any help you could give me in getting people to 
 visit the site - a link on your website, a mention on Facebook, a tweet on 
 Twitter, an update on LinkedIn. The more people from outside the LiveCode 
 community we can enthuse about LiveCode by sparking their ideas on what 
 they could do with LiveCode the better. Some of them will then be 
 motivated to join in the Kickstarter campaign.
 
 For this to work we must try and turn this trickle of views into an 
 avalanche. Can you help me by pushing my "snowball" a little down the 
 slope. If we can get it up to speed, it will start growing rapidly on its 
 own.
 
 Peter
 
 PS Once again thanks for all the contributions. Please don't be shy if you 
 haven't sent me a screenshot yet, there's still plenty of time.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> --
>>> M E R Goulding 
>>> Software development services
>>> Bespoke application development for vertical markets
>>> 
>>> mergExt - There's an external for that!
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-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
> 
> Heather Laine
> Customer Services Manager
> http://www.runrev.com/
> Support Open Source LiveCode on Kickstarter
> http://www.kickstarter.com/projects/1755283828/open-source-edition-of-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: Please can you help increase the number of visitors to 1001 things to do with LiveCode

2013-02-15 Thread Heather Laine
Checked, perfect. I guess I looked at it while you were editing :).

On with the show!

Regards,

Heather

On 15 Feb 2013, at 08:23, Peter W A Wood wrote:

> Could you check again please Heather in case the weird display was when I was 
> adding the Kickstarter image. It looks okay for me in Safari and FireFox on 
> the Mac and Chrome under Windows. If it's still weird, I would appreciate a 
> screenshot.
> 
> Thanks
> 
> Peter
> 
> On 15 Feb 2013, at 16:16, Heather Laine wrote:
> 
>> Mmm I think its slightly broken the page. Its displaying weirdly for me now, 
>> in chrome on Mac. If you want a screenshot drop me a line off list.
>> 
>> Other than that, I am *loving* this blog. It's an excellent way to show all 
>> the many things people do with LiveCode, and I will feature it in the next 
>> newsletter for sure.
>> 
>> Good Work!
>> 
>> Heather
>> 
>> On 15 Feb 2013, at 08:12, Peter W A Wood wrote:
>> 
>>> Thanks Monte. I've added the small Kickstarter image linked to the 
>>> Kickstarter Project Home Page. Blogger wouldn't let me simply embed the 
>>> widget and I don't have time to mess with the Blogger template at the 
>>> moment.
>>> 
>>> Peter
>>> 
>>> On 15 Feb 2013, at 14:02, Monte Goulding wrote:
>>> 
 I just facebooked it. You should probably put the kickstarter widget on 
 there.
 
 On 15/02/2013, at 4:04 PM, Peter W A Wood wrote:
 
> On Wednesday, there were 301 page views of "1001 things to do with 
> LiveCode'. Yesterday, it went up to 500. I hope that the number of page 
> views will increase every day until at least the end of the LiveCode Open 
> Source Kickstarter campaign.
> 
> I'd really appreciate any help you could give me in getting people to 
> visit the site - a link on your website, a mention on Facebook, a tweet 
> on Twitter, an update on LinkedIn. The more people from outside the 
> LiveCode community we can enthuse about LiveCode by sparking their ideas 
> on what they could do with LiveCode the better. Some of them will then be 
> motivated to join in the Kickstarter campaign.
> 
> For this to work we must try and turn this trickle of views into an 
> avalanche. Can you help me by pushing my "snowball" a little down the 
> slope. If we can get it up to speed, it will start growing rapidly on its 
> own.
> 
> Peter
> 
> PS Once again thanks for all the contributions. Please don't be shy if 
> you haven't sent me a screenshot yet, there's still plenty of time.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 --
 M E R Goulding 
 Software development services
 Bespoke application development for vertical markets
 
 mergExt - There's an external for that!
 
 ___
 use-livecode mailing list
 use-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
>> 
>> Heather Laine
>> Customer Services Manager
>> http://www.runrev.com/
>> Support Open Source LiveCode on Kickstarter
>> http://www.kickstarter.com/projects/1755283828/open-source-edition-of-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

Heather Laine
Customer Services Manager
http://www.runrev.com/
Support Open Source LiveCode on Kickstarter
http://www.kickstarter.com/projects/1755283828/open-source-edition-of-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] Possible NorCal Users Group/LiveCode Intro Meetup

2013-02-15 Thread Scott Rossi
Hello LiveCoders:

The LiveCode meetup at Google is on!  The date will be Monday Feb 25, 6:30 ­
8:30PM PST.
Google headquarters is located in Mountain View CA, near the 101 freeway.
Directions to the actual building will be provided once the room is
finalized (Google owns a lot of buildings).

A few folks have asked about the possibility of doing remote presentations
and/or listening in.  We're waiting to find out what services Google can
provide.  Worst case, we might try to arrange some kind of Ustream or
similar connection.  More details to come.

The current plan for the event is two parts: the first 30 - 45 min or so
will be allotted for an informal introduction to LiveCode for folks who
haven't used the platform or have questions about it.  The remaining time is
available for you to share a project you're working on and/or discuss your
development issues.  (I have a few things myself that I think folks might be
interested in seeing.)  If you would like to make a presentation, please
contact me off list so I can arrange a schedule.

Free registration for the event is setup here:
http://livecode-meetup-sfbayarea.eventbrite.com/

To the folks who contacted me directly, please use the above form so we can
keep track of the number of people attending.

Looking forward to meeting up :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




From:  Scott Rossi 
Date:  Saturday, February 2, 2013 4:26 PM
To:  LiveCode Mail List 
Cc:  LiveCode Mail List 
Subject:  [ANN] Possible NorCal Users Group/LiveCode Intro Meetup

> Are any of you LiveCode developers located in Northern California?
> 
> Would you be interested in attending a LiveCode meetup in the hub of Silicon
> Valley?
> 
> Over the last several months, I've had discussions with a Google colleague of
> mine about the possibility of having Google host a LiveCode meetup.  Google
> often hosts outside events/activities, and while my friend was willing to help
> facilitate an event, he was unable to find the proper channels. Yesterday,
> some new info came to light, and we may be able to arrange such an event.
> 
> My original hope was simply to arrange a central location for a user group
> meeting.  But with RunRev's recent open source goal announcement, it occurred
> to me that this could also be an opportunity to provide a LiveCode
> introduction for folks who want more info, from developers who actually use
> the platform.  Google's Mountain View campus is centrally located in
> California's Silicon Valley, so it's a prime location for such an event.


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


Question about textFont in Livecode

2013-02-15 Thread Lars Brehmer
I seem to have a problem with Livecode vs. RunRev and textFont.

In RunRev stacks, I could have some fields with the textFont set to 
"Arial,Russian" and others set to "Arial." Tabbing between these fields (or 
simply clicking in them) would change the keyboard from English to Russian and 
back.

Now Livecode handles unicode differently, and while I for the most part get it, 
I can't get the keyboard to switch between English and Russian, which means 
each time a filed is focused I have to manually switch the keyboard. There must 
be a simply way to correct this, but I can't find it.

What am I missing?

Cheers,

Lars
___
use-livecode mailing list
use-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: Question about textFont in Livecode

2013-02-15 Thread dunbarx
Hi.


I never even knew this was an option. But you are right, in a v3.5 stack, the 
textFont can be set to both a fontName and a language, and the field text 
follows faithfully, In v.5.3, only the font is set.


Someone? Or is this a bug?



Craig Newman


-Original Message-
From: Lars Brehmer 
To: use-livecode 
Sent: Fri, Feb 15, 2013 6:35 am
Subject: Question about textFont in Livecode


I seem to have a problem with Livecode vs. RunRev and textFont.

In RunRev stacks, I could have some fields with the textFont set to 
"Arial,Russian" and others set to "Arial." Tabbing between these fields (or 
simply clicking in them) would change the keyboard from English to Russian and 
back.

Now Livecode handles unicode differently, and while I for the most part get it, 
I can't get the keyboard to switch between English and Russian, which means 
each 
time a filed is focused I have to manually switch the keyboard. There must be a 
simply way to correct this, but I can't find it.

What am I missing?

Cheers,

Lars
___
use-livecode mailing list
use-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 check

2013-02-15 Thread Mike Kerner
The thing that's annoying about the script update is that LC knows when any
other changes are made to a stack, and asks if you want to save them, but
not for a script.


On Thu, Feb 14, 2013 at 9:43 PM, J. Landman Gay wrote:

> On 2/14/13 3:18 PM, Mike Kerner wrote:
>
>> Could someone else please confirm these for me?
>>
>> I'm building an ios app
>> 1) Edit a script of an object
>> 2) Hit the "Test" button.without first hitting "enter" or saving the
>> change
>> to the script.  The indicator for the script status should be yellow
>>
>> LC doesn't ask to save the stack, it seems, and runs the stack in the
>> simulator without the changes.  That seems like a bug.
>>
>
> It's the same behavior the script editor always has. If you don't compile,
> LiveCode is happy to run the old version. Whether that's a bug or not, I
> don't know, but it's consistent.
>
>
>
>> Here's another:
>> 1) create a button
>> 2) create a field
>> 3) change the script of the button to
>> answer the bogusproperty of field 1
>> answer "this is an answer dialog"
>>
>> When testing, no dialog appears for me, even though at least the second
>> one
>> should, even though the property name is bogus in the first case.
>>
>>
> It's acting as though the script has thrown an error and aborted. But if
> the property doesn't exist, it should be answering empty. Maybe wrapping it
> in a try structure would give a clue in the catch statement.
>
> --
> 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
>



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


Mac App Submit

2013-02-15 Thread Lars Brehmer
I am trying to submit an app to the Mac App Store.

I am one of those Livecode users who only know Livecode - no Xcode, no C++, 
just Livecode, so this is a bit daunting to say the least.

I am following this article 
"http://runrev.com/newsletter/june/issue112/newsletter4.php"; step by step. It 
was posted in a Livecode Newsletter a few months ago.

So far so good until this;

> Edit Info.plist to include information not automatically inserted by 
> LiveCode. "Info.plist" is in the "Contents" folder inside the application 
> package. Double click on "Info.plist" to open it with "Property List Editor" 
> (provided in the Apple Developer tools assuming you installed those).

It opens in Xcode, not "Property List Editor." 

> Change the view to display the raw key values. In the "View" menu select the 
> "Show Raw Keys/Values" menu item.

In the Xcode menu bar there is Editor>Show Raw Key Values, so I choose it

> Select the key "Information Property List" and press the "Add Child" button.

The Plist window doesn't look like the one in the article, but hovering over 
"Information Property List" a little + button appears, which I assume is like 
the Add Child in the picture in the article.

> A list of possible keys to add will be displayed, because it is not in the 
> list, manually type "LSApplicationCategoryType".

"LSApplicationCategory" IS in the list so I choose it.

> For the value enter the previously chosen Mac App Store Application Category 
> Type from the list of allowed category types provided by Apple. For this 
> example we are entering "public.app-category.entertainment". Save your 
> changes.

I add this value manually and save, but when I close and reopen it the changes 
age gone.

So I am confused why my editor window looks different and doesn't seem to save 
changes.

I have searched my drive for "Property List Editor" - nothing

The Developer tools folder only contains and uninstaller.

I searched Apple Downloads for "Developer Tools" 150 results, no "Property List 
Editor," nothng by Apple called "developer Tools."

I searched the App Store for Developer Tools and get an handful of results, the 
only one from Apple is Xcode, which I already have installed.

I have heard that actually submitting an App is complex and hard, but I can't 
even get far enough to try it!

Help would be very appreciated, as always!

Cheers,

Lars
___
use-livecode mailing list
use-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 App Submit

2013-02-15 Thread Colin Holgate
I just went through the steps, and what you say here is confusing:

>> 
>> For the value enter the previously chosen Mac App Store Application Category 
>> Type from the list of allowed category types provided by Apple. For this 
>> example we are entering "public.app-category.entertainment". Save your 
>> changes.
> 
> I add this value manually and save, but when I close and reopen it the 
> changes age gone.


You don't manually add "Mac App Store Application Category Type", you choose 
from the menu an item that matches the Mac App Store category that you have 
previously claimed the app to be. So for example, in my test I chose 
"public.app-category.developer-tools". The save and reopen worked fine, but 
note that when you reopen you're no longer in Raw Keys/Values. The thing you 
added will show as "Application Category" with a value on the lines of 
"Developer Tools".

By the way, you can completely skip the raw keys steps, just let it stay in the 
easy looking English version, add in an "Application Category", and choose from 
the easy to understand category list.

Also, yes, the article is out of date, for a while now Xcode has taken over 
editing plists, there is no Property List Editor anymore.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Build-time v Run-time

2013-02-15 Thread Graham Samuel
Another naive questions, but this hasn't happened to me before, or at least I 
haven't recognised it properly.

I'm looking at some code written by an associate. As normal (to me) it's a 
mainstack and a lot of substacks. I want to tinker with the code, so I open the 
mainstack in the LC IDE, and immediately the program starts to run, even though 
the Edit tool is active in the toolbar rather than the Browse tool - it starts 
up and does stuff, like the IDE does. I don't want that, I want the code to 
remain entirely passive until I tell it to run!

How does a stack get into 'instant run mode' like that, and what can I do to 
stop it? Is there some way of creeping up on it so that no handler is executed?

Actually I noticed that Thierry's Kickstarter monitoring program does the same 
thing, but I still don't understand it, even tho it only has a few lines of 
script. What apparently happens is that the preOpenCard handler is executed 
when the file is opened, but why?

Dumb again

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


Re: Build-time v Run-time

2013-02-15 Thread Klaus on-rev
Hi Graham,

Am 15.02.2013 um 17:56 schrieb Graham Samuel :

> Another naive questions, but this hasn't happened to me before, or at least I 
> haven't recognised it properly.
> 
> I'm looking at some code written by an associate. As normal (to me) it's a 
> mainstack and a lot of substacks. I want to tinker with the code, so I open 
> the mainstack in the LC IDE, and immediately the program starts to run, even 
> though the Edit tool is active in the toolbar rather than the Browse tool - 
> it starts up and does stuff, like the IDE does. I don't want that, I want the 
> code to remain entirely passive until I tell it to run!
> 
> How does a stack get into 'instant run mode' like that, and what can I do to 
> stop it? Is there some way of creeping up on it so that no handler is 
> executed?
> 
> Actually I noticed that Thierry's Kickstarter monitoring program does the 
> same thing, but I still don't understand it, even tho it only has a few lines 
> of script. What apparently happens is that the preOpenCard handler is 
> executed when the file is opened, but why?

when you open a stack, all "pre-/open-stack/card" handlers will be executed, no 
matter what the current "tool" is!
You can "lock messages" before opening a stack to prevent this:
...
lock messages
go stack "path/to/stack"
...

Or select "Suppress messages" in the "development" menu in Livecode before 
opening that stack.
Which does the same.

And don't forget to switch it back afterwards! ;-)

Hope that helps.

> Dumb again
> 
> Graham

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


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


Re: Build-time v Run-time

2013-02-15 Thread Graham Samuel
Thanks Klaus. I guess I didn't encounter this because I always begin my apps 
with a 'startUp' handler - these are not executed when a stack is loaded into 
the IDE, but they are when a standalone is loaded. One can test the logic by 
doing 'send "startUp" to...'. I do use preOpenCard handlers but usually in 
distant cards which are only opened under program control.

Funny I didn't realise this after all this time.

Thanks again.

Graham


On 15 Feb 2013, at 18:05, Klaus on-rev wrote:

> Hi Graham,
> 
> Am 15.02.2013 um 17:56 schrieb Graham Samuel :
> 
>> Another naive questions, but this hasn't happened to me before, or at least 
>> I haven't recognised it properly.
>> 
>> I'm looking at some code written by an associate. As normal (to me) it's a 
>> mainstack and a lot of substacks. I want to tinker with the code, so I open 
>> the mainstack in the LC IDE, and immediately the program starts to run, even 
>> though the Edit tool is active in the toolbar rather than the Browse tool - 
>> it starts up and does stuff, like the IDE does. I don't want that, I want 
>> the code to remain entirely passive until I tell it to run!
>> 
>> How does a stack get into 'instant run mode' like that, and what can I do to 
>> stop it? Is there some way of creeping up on it so that no handler is 
>> executed?
>> 
>> Actually I noticed that Thierry's Kickstarter monitoring program does the 
>> same thing, but I still don't understand it, even tho it only has a few 
>> lines of script. What apparently happens is that the preOpenCard handler is 
>> executed when the file is opened, but why?
> 
> when you open a stack, all "pre-/open-stack/card" handlers will be executed, 
> no matter what the current "tool" is!
> You can "lock messages" before opening a stack to prevent this:
> ...
> lock messages
> go stack "path/to/stack"
> ...
> 
> Or select "Suppress messages" in the "development" menu in Livecode before 
> opening that stack.
> Which does the same.
> 
> And don't forget to switch it back afterwards! ;-)
> 
> Hope that helps.
> 
>> Dumb again
>> 
>> Graham
> 
> 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: Build-time v Run-time

2013-02-15 Thread Robert Brenstein

On 15.02.2013 at 17:56 Uhr +0100 Graham Samuel apparently wrote:
Another naive questions, but this hasn't happened to me before, or 
at least I haven't recognised it properly.


I'm looking at some code written by an associate. As normal (to me) 
it's a mainstack and a lot of substacks. I want to tinker with the 
code, so I open the mainstack in the LC IDE, and immediately the 
program starts to run, even though the Edit tool is active in the 
toolbar rather than the Browse tool - it starts up and does stuff, 
like the IDE does. I don't want that, I want the code to remain 
entirely passive until I tell it to run!


How does a stack get into 'instant run mode' like that, and what can 
I do to stop it? Is there some way of creeping up on it so that no 
handler is executed?




Apparently, your associate coded something in one of the openXxxx 
handlers to start execution. Those handlers run regardless of the IDE 
mode. To achieve what you want, the code should check the environment 
(look it up in the dictionary) and do not execute if it is 
"development". If you want to be able to execute after all, to 
simulate standalone execution, you may add checking whether the alt 
key is down, and if it is down, execute regardless of the environment.


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


OT. Kickstart Union of Genius

2013-02-15 Thread Mark Wieder
I want to take this opportunity to plug another Kickstarter project now that
it's into its last 48 hours. It's not entirely OT since it's in Edinburgh .
Union of Genius is a cafe that has met their original KS funding goals and a few
stretch goals, including providing soup in perpetuity to Edinburgh's Care Van.
I'm proud to be a supporter, and if you've got extra cash after supporting LC's
Kickstarter project, do think about sending some their way in the next couple of
days. I'll be happily making my way over to Union of Genius for a bowl of soup
at the conference in May. Yum.



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


1001 things you can do with LiveCode

2013-02-15 Thread Nigel Soden
Greetings

I'm currently developing an Estate Agent application that'll be used on iPad's, 
its not pretty at this stage but I've got a couple of screen dumps I can 
provide if you wish.

Nigel 
___
use-livecode mailing list
use-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: Campaign update

2013-02-15 Thread Robert Sneidar
What about the people over at the Landsat project? If they haven't pledged so 
far, it wouldn't take much convincing to get them to see the huge advantage for 
them! A perpetual Livecode would be right up their alley!

Bob


On Feb 14, 2013, at 7:54 AM, Kevin Miller wrote:

> Thanks for this. If you know any editors or bloggers you can continue to
> message them about us. I don't mean spam them, I just mean gentle
> pressure. Some of these folks are incredibly busy and need a little
> followup. We will also be releasing a new news story shortly (this one is
> about education which will help in some circles). We're on the lookout for
> any more news angles or hooks we can announce and will have more soon.
> 
> Kind regards,
> 
> Kevin
> 
> Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/
> LiveCode: Everyone can code
> 
> 
> 
> 
> On 14/02/2013 14:50, "Mark Schonewille" 
> wrote:
> 
>> Thanks, Kevin. Any ideas of what we could do to get more coverage
>> outside the LC community, besides what is already listed?
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
>> colour spaces. http://www.color-converter.com
>> 
>> We have time for new software development projects. Contact me for a
>> quote.
>> 
>> On 14 January, we suffered severe server problems. If you tried to send
>> an e-mail between 13 and 18 January and didn't get a reply, please try
>> again.
>> 
>> On 2/14/2013 00:06, Kevin Miller wrote:
>>> 
>>> https://docs.google.com/spreadsheet/ccc?key=0AmyCYc1cXUZodGMxbExYNVVsVDVk
>>> cU
>>> k2aTZPdHV5Qmc&usp=sharing
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Build-time v Run-time

2013-02-15 Thread Robert Sneidar
Easy enough to just click the suppress messages button before opening the 
stack. You will probably want to keep messages suppressed in this situation if 
going to other stacks and cards is going to trigger actions that the openstack 
has not set up yet. You can make a handler called startApp or something similar 
that the preOpenStack handler traps, so you can call it at will when you need 
to do runtime testing. 

Bob


On Feb 15, 2013, at 9:23 AM, Robert Brenstein wrote:

> On 15.02.2013 at 17:56 Uhr +0100 Graham Samuel apparently wrote:
>> Another naive questions, but this hasn't happened to me before, or at least 
>> I haven't recognised it properly.
>> 
>> I'm looking at some code written by an associate. As normal (to me) it's a 
>> mainstack and a lot of substacks. I want to tinker with the code, so I open 
>> the mainstack in the LC IDE, and immediately the program starts to run, even 
>> though the Edit tool is active in the toolbar rather than the Browse tool - 
>> it starts up and does stuff, like the IDE does. I don't want that, I want 
>> the code to remain entirely passive until I tell it to run!
>> 
>> How does a stack get into 'instant run mode' like that, and what can I do to 
>> stop it? Is there some way of creeping up on it so that no handler is 
>> executed?
>> 
> 
> Apparently, your associate coded something in one of the openXxxx handlers to 
> start execution. Those handlers run regardless of the IDE mode. To achieve 
> what you want, the code should check the environment (look it up in the 
> dictionary) and do not execute if it is "development". If you want to be able 
> to execute after all, to simulate standalone execution, you may add checking 
> whether the alt key is down, and if it is down, execute regardless of the 
> environment.
> 
> 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: OT. Kickstart Union of Genius

2013-02-15 Thread Alex Tweedly

OK, pledged.
btw - I notice that they started out asking for just 3% of the amount 
required for the LC Kickstart
- but their Kickstarter page is more than twice as long (and 
perhaps twice as interesting as well :-)


-- Alex.

On 15/02/2013 17:52, Mark Wieder wrote:

I want to take this opportunity to plug another Kickstarter project now that
it's into its last 48 hours. It's not entirely OT since it's in Edinburgh .
Union of Genius is a cafe that has met their original KS funding goals and a few
stretch goals, including providing soup in perpetuity to Edinburgh's Care Van.
I'm proud to be a supporter, and if you've got extra cash after supporting LC's
Kickstarter project, do think about sending some their way in the next couple of
days. I'll be happily making my way over to Union of Genius for a bowl of soup
at the conference in May. Yum.






___
use-livecode mailing list
use-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. Kickstart Union of Genius

2013-02-15 Thread Mark Talluto
On Feb 15, 2013, at 9:52 AM, Mark Wieder  wrote:

> I want to take this opportunity to plug another Kickstarter project now that
> it's into its last 48 hours. It's not entirely OT since it's in Edinburgh .
> Union of Genius is a cafe that has met their original KS funding goals and a 
> few
> stretch goals, including providing soup in perpetuity to Edinburgh's Care Van.
> I'm proud to be a supporter, and if you've got extra cash after supporting 
> LC's
> Kickstarter project, do think about sending some their way in the next couple 
> of
> days. I'll be happily making my way over to Union of Genius for a bowl of soup
> at the conference in May. Yum.


Hi Mark,

I pledged as well.  I am going to the conference and would like join you when 
you visit the Union of Genius cafe.


Best regards,

Mark Talluto
canelasoftware.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


On-Rev Odin

2013-02-15 Thread John Dixon
Anyone having problems with Odin ?

Dixie
  
___
use-livecode mailing list
use-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 Odin

2013-02-15 Thread Colin Holgate
Asgard really hasn't been the same since he took over.

Also, https://odin.on-rev.com doesn't load, but https://odin.on-rev.com:2096 
does quickly show a webmail login dialog.


On Feb 15, 2013, at 4:17 PM, John Dixon  wrote:

> >Anyone having problems with Odin ?

___
use-livecode mailing list
use-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 Odin

2013-02-15 Thread John Dixon


> From: co...@verizon.net
> Subject: Re: On-Rev Odin
> Date: Fri, 15 Feb 2013 16:25:33 -0500
> To: use-livecode@lists.runrev.com
> 
> Asgard really hasn't been the same since he took over.

:-)

Thanks Colin... I guess I'll just have to wait until the gods have finished 
their game of bowls...

Dixie
  
___
use-livecode mailing list
use-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 Odin

2013-02-15 Thread Mike Bonner
Yep, can't hit my odin pages.


On Fri, Feb 15, 2013 at 2:31 PM, John Dixon  wrote:

>
>
> > From: co...@verizon.net
> > Subject: Re: On-Rev Odin
> > Date: Fri, 15 Feb 2013 16:25:33 -0500
> > To: use-livecode@lists.runrev.com
> >
> > Asgard really hasn't been the same since he took over.
>
> :-)
>
> Thanks Colin... I guess I'll just have to wait until the gods have
> finished their game of bowls...
>
> Dixie
>
> ___
> use-livecode mailing list
> use-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 Odin

2013-02-15 Thread John Dixon
Thor must have thrown a hammer in the works


> Date: Fri, 15 Feb 2013 14:46:46 -0700
> Subject: Re: On-Rev Odin
> From: bonnm...@gmail.com
> To: use-livecode@lists.runrev.com
> 
> Yep, can't hit my odin pages.
> 
> 
> On Fri, Feb 15, 2013 at 2:31 PM, John Dixon  wrote:
> 
> >
> >
> > > From: co...@verizon.net
> > > Subject: Re: On-Rev Odin
> > > Date: Fri, 15 Feb 2013 16:25:33 -0500
> > > To: use-livecode@lists.runrev.com
> > >
> > > Asgard really hasn't been the same since he took over.
> >
> > :-)
> >
> > Thanks Colin... I guess I'll just have to wait until the gods have
> > finished their game of bowls...
> >
> > Dixie
> >
> > ___
> > use-livecode mailing list
> > use-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: On-Rev Odin

2013-02-15 Thread Mark Wieder
John Dixon  writes:

> 
> Anyone having problems with Odin ?

Yeah - Odin's having problems today.
If you get this it's  because I'm using gmane instead of email.

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


The love formula

2013-02-15 Thread Jim Hurley
This is a little late for Valentine's day, but I was being smothered in 
affection yesterday ;)

Here is a link to show the formula for a heart: 

http://www.google.com/imgres?q=the+love+formula&hl=en&client=safari&tbo=d&rls=en&biw=1335&bih=943&tbm=isch&tbnid=S0s-aYE5EW3kdM:&imgrefurl=http://9gag.com/gag/125927&docid=ZUOxCpj_QyMOlM&imgurl=http://d24w6bsrhbeh9d.cloudfront.net/photo/125927_700b.jpg&w=700&h=768&ei=dLkeUaj-Oci9igLty4CYCw&zoom=1&ved=1t:3588,r:5,s:0,i:96&iact=rc&dur=1220&sig=100340526412447560004&page=1&tbnh=172&tbnw=157&start=0&ndsp=20&tx=107&ty=88

And here is a script to draw one in LC.



local x0, y0, x, signum

on mouseUp
  --The equation of a heart is x^2 + (y - x^(2/3))^2  = 1
  --So that y = x^(2/3) + or - sqrt(1-x^2) 
  -- The plus give the top of the heart and the minus produces the bottom

  if there is no grc "heart" then create grc "heart"
  set the style of grc "heart" to "line"
  set the points of grc "heart" to empty
  put the width of this card/2 into x0
  Put round( the height of this card /2) into y0
  put  0 into x
  --Signum is used to change the sign of the square root
  put 1 into  signum
  put drawHeart() into tTopPoints
  put 0 into x
  --Now the bottom
  put -1 into signum
  put drawHeart() into tBottomPoints
  if last line of tBottpPoints is empty then delete the last line of 
tBottomPoints
  --The botton get drawn bottom up--so reverse the points.
  put reverse(tBottomPoints) into tBottomPoints
  --Combine top and bottom.
  put tTopPoints & cr & tBottomPoints into tFinal
  if the last line of tFinal is empty then delete last char of tFinal
--Now put those points into the center of the screen--at x0,y0
  repeat for each line tLine in tFinal
 if tLine is empty then next repeat
 put x0 + 100*item 1 of tLine into xTemp
 put x0 - 100*item 1 of tLine into xTempLeftSide
 put y0 - 100*item 2 of tLine into yTemp
 put  round(xTemp) , round(yTemp) into temp
 if temp is not empty then put temp & cr after results
 put  round(xTempLeftSide) , round(yTemp)  into temp2
 if temp2 is not empty then put temp2 & cr after resultsLeftSide
  end repeat
  set the points of grc "heart" to empty 
  set the points of grc "heart" to resultsLeftSide
  put cr & resultsLeftSide after results
  set the points of grc "heart" to results
end mouseUP

function y x
  return  x^(2/3) + signum* sqrt (1 - x^2) 
end y

function DrawHeart
  repeat 
 if x>= 1 then exit repeat
 put x , y(x) into tPoint
 put tPoint & cr after tPoints
 add .002to x
  end repeat
  return tPoints
end DrawHeart

function reverse tPoints
  repeat for each line tLine in tPoints
 put tLine & cr before results
  end repeat
  return results 
end reverse


___
use-livecode mailing list
use-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: The love formula

2013-02-15 Thread John Dixon
That is really nice

Two more lines to enhance it...

   set the linesize of grc "heart" to 5
   set the foregroundColor of grc "heart" to 255,0,0

Dixie

> Subject: The love formula
> From: jhurley0...@sbcglobal.net
> Date: Fri, 15 Feb 2013 14:51:08 -0800
> To: use-livecode@lists.runrev.com
> 
> This is a little late for Valentine's day, but I was being smothered in 
> affection yesterday ;)
> 
> Here is a link to show the formula for a heart: 
> 
> http://www.google.com/imgres?q=the+love+formula&hl=en&client=safari&tbo=d&rls=en&biw=1335&bih=943&tbm=isch&tbnid=S0s-aYE5EW3kdM:&imgrefurl=http://9gag.com/gag/125927&docid=ZUOxCpj_QyMOlM&imgurl=http://d24w6bsrhbeh9d.cloudfront.net/photo/125927_700b.jpg&w=700&h=768&ei=dLkeUaj-Oci9igLty4CYCw&zoom=1&ved=1t:3588,r:5,s:0,i:96&iact=rc&dur=1220&sig=100340526412447560004&page=1&tbnh=172&tbnw=157&start=0&ndsp=20&tx=107&ty=88
> 
> And here is a script to draw one in LC.
> 
> 
> 
> local x0, y0, x, signum
> 
> on mouseUp
>   --The equation of a heart is x^2 + (y - x^(2/3))^2  = 1
>   --So that y = x^(2/3) + or - sqrt(1-x^2) 
>   -- The plus give the top of the heart and the minus produces the bottom
> 
>   if there is no grc "heart" then create grc "heart"
>   set the style of grc "heart" to "line"
>   set the points of grc "heart" to empty
>   put the width of this card/2 into x0
>   Put round( the height of this card /2) into y0
>   put  0 into x
>   --Signum is used to change the sign of the square root
>   put 1 into  signum
>   put drawHeart() into tTopPoints
>   put 0 into x
>   --Now the bottom
>   put -1 into signum
>   put drawHeart() into tBottomPoints
>   if last line of tBottpPoints is empty then delete the last line of 
> tBottomPoints
>   --The botton get drawn bottom up--so reverse the points.
>   put reverse(tBottomPoints) into tBottomPoints
>   --Combine top and bottom.
>   put tTopPoints & cr & tBottomPoints into tFinal
>   if the last line of tFinal is empty then delete last char of tFinal
> --Now put those points into the center of the screen--at x0,y0
>   repeat for each line tLine in tFinal
>  if tLine is empty then next repeat
>  put x0 + 100*item 1 of tLine into xTemp
>  put x0 - 100*item 1 of tLine into xTempLeftSide
>  put y0 - 100*item 2 of tLine into yTemp
>  put  round(xTemp) , round(yTemp) into temp
>  if temp is not empty then put temp & cr after results
>  put  round(xTempLeftSide) , round(yTemp)  into temp2
>  if temp2 is not empty then put temp2 & cr after resultsLeftSide
>   end repeat
>   set the points of grc "heart" to empty 
>   set the points of grc "heart" to resultsLeftSide
>   put cr & resultsLeftSide after results
>   set the points of grc "heart" to results
> end mouseUP
> 
> function y x
>   return  x^(2/3) + signum* sqrt (1 - x^2) 
> end y
> 
> function DrawHeart
>   repeat 
>  if x>= 1 then exit repeat
>  put x , y(x) into tPoint
>  put tPoint & cr after tPoints
>  add .002to x
>   end repeat
>   return tPoints
> end DrawHeart
> 
> function reverse tPoints
>   repeat for each line tLine in tPoints
>  put tLine & cr before results
>   end repeat
>   return results 
> end reverse
> 
> 
> ___
> use-livecode mailing list
> use-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: The love formula

2013-02-15 Thread Scott Rossi
Thanks for sharing the love.


Scott Rossi
Creative Director
Tactile Media, UX Design

 Original message 
Subject: The love formula 
From: Jim Hurley  
To: use-livecode@lists.runrev.com 
CC:  

This is a little late for Valentine's day, but I was being smothered in 
affection yesterday ;)

Here is a link to show the formula for a heart: 

http://www.google.com/imgres?q=the+love+formula&hl=en&client=safari&tbo=d&rls=en&biw=1335&bih=943&tbm=isch&tbnid=S0s-aYE5EW3kdM:&imgrefurl=http://9gag.com/gag/125927&docid=ZUOxCpj_QyMOlM&imgurl=http://d24w6bsrhbeh9d.cloudfront.net/photo/125927_700b.jpg&w=700&h=768&ei=dLkeUaj-Oci9igLty4CYCw&zoom=1&ved=1t:3588,r:5,s:0,i:96&iact=rc&dur=1220&sig=100340526412447560004&page=1&tbnh=172&tbnw=157&start=0&ndsp=20&tx=107&ty=88

And here is a script to draw one in LC.



local x0, y0, x, signum

on mouseUp
  --The equation of a heart is x^2 + (y - x^(2/3))^2  = 1
  --So that y = x^(2/3) + or - sqrt(1-x^2) 
  -- The plus give the top of the heart and the minus produces the bottom

  if there is no grc "heart" then create grc "heart"
  set the style of grc "heart" to "line"
  set the points of grc "heart" to empty
  put the width of this card/2 into x0
  Put round( the height of this card /2) into y0
  put  0 into x
  --Signum is used to change the sign of the square root
  put 1 into  signum
  put drawHeart() into tTopPoints
  put 0 into x
  --Now the bottom
  put -1 into signum
  put drawHeart() into tBottomPoints
  if last line of tBottpPoints is empty then delete the last line of 
tBottomPoints
  --The botton get drawn bottom up--so reverse the points.
  put reverse(tBottomPoints) into tBottomPoints
  --Combine top and bottom.
  put tTopPoints & cr & tBottomPoints into tFinal
  if the last line of tFinal is empty then delete last char of tFinal
--Now put those points into the center of the screen--at x0,y0
  repeat for each line tLine in tFinal
 if tLine is empty then next repeat
 put x0 + 100*item 1 of tLine into xTemp
 put x0 - 100*item 1 of tLine into xTempLeftSide
 put y0 - 100*item 2 of tLine into yTemp
 put  round(xTemp) , round(yTemp) into temp
 if temp is not empty then put temp & cr after results
 put  round(xTempLeftSide) , round(yTemp)  into temp2
 if temp2 is not empty then put temp2 & cr after resultsLeftSide
  end repeat
  set the points of grc "heart" to empty 
  set the points of grc "heart" to resultsLeftSide
  put cr & resultsLeftSide after results
  set the points of grc "heart" to results
end mouseUP

function y x
  return  x^(2/3) + signum* sqrt (1 - x^2) 
end y

function DrawHeart
  repeat 
 if x>= 1 then exit repeat
 put x , y(x) into tPoint
 put tPoint & cr after tPoints
 add .002to x
  end repeat
  return tPoints
end DrawHeart

function reverse tPoints
  repeat for each line tLine in tPoints
 put tLine & cr before results
  end repeat
  return results 
end reverse


___
use-livecode mailing list
use-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: 1001 things you can do with LiveCode

2013-02-15 Thread Peter W A Wood

On 16 Feb 2013, at 02:04, Nigel Soden wrote:

> Greetings
> 
> I'm currently developing an Estate Agent application that'll be used on 
> iPad's, its not pretty at this stage but I've got a couple of screen dumps I 
> can provide if you wish.
> 
> Nigel 

Yes please Nigel.


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


AW: put the qtversion crashes

2013-02-15 Thread Dave Kilroy

Hi Tiemo

Did you know there are "K" and "KN" editions of Windows 7 Ultimate (I have the 
"N" edition) which come without Windows Media Player plus some other stuff that 
originally made viewing videos impossible.

Downloading Windows Media Player from Microsoft didn't stop the errors when 
attempting to play videos - and Real Player and QT also didn't run (think QT 
relies on Windows Media Player in Win7) - what fixed it for me was installing 
VLC media player and a reboot - after that Windows Media Player and QT worked!

So - it may be that the crash on your customer's Windows 7 Ultimate is not down 
to your software but to the OS being sold without Windows Media Player…

Dave
___
use-livecode mailing list
use-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. Kickstart Union of Genius

2013-02-15 Thread Mark Wieder
Mark-

Friday, February 15, 2013, 12:08:39 PM, you wrote:

> I pledged as well.  I am going to the conference and would like
> join you when you visit the Union of Genius cafe.

Odin's acting up today - this took two hours to get to me. That's two
hours after the listserv (in the same subnet) picked it up.

Anyway, much thanks. I'll contact the cafe and see about setting up an
appropriate LiveCode event during the conference.

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