Re: Menu Builder

2012-01-11 Thread Pete
OK, now on to the next step. Menus working fine, all scripted. Now I want to add a menu item to the File menu in certain circumstances. I coded a mouseDown handler in the button named "File" in my menu group to do this. It gets the text of the menu, adds the text for the new menu item to the en

Re: Menu Builder

2012-01-11 Thread Joe Lewis Wilkins
All of these suggestions are well and good; but, on my most recent project, I bi-passed the entire problem by creating my own menus on the cards for both the Mac and Windows versions of a much larger size so that I don't have to deal with the minuscule fonts normally used for Windows apps. This

Re: Menu Builder

2012-01-11 Thread Pete
Thanks Jacque. Things appear to be working now but I have no idea what combination of things I did to make it happen, and I hate that. Your explanation and the links helped explain it all. As Joe said, if only this was in the User Guide, there'd be a lot less nervousness about using the menu bui

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
On 1/11/12 10:41 PM, Joe Lewis Wilkins wrote: Jacqi, Your explanation should appear on the "Menu Builder" Dialog from a Help Button thereon. It would save a lot of newbies gobs of hair follicles. Thanks. I thought it was in the User Guide but I just looked and couldn't find much. Once you "ge

Re: Menu Builder

2012-01-11 Thread Joe Lewis Wilkins
Jacqi, Your explanation should appear on the "Menu Builder" Dialog from a Help Button thereon. It would save a lot of newbies gobs of hair follicles. I don't recall how many hours I've wasted coming to terms with these issues; in some instances scraping a project and starting all over again. Of

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
As soon as I click OK, all the controls on the open stack move up, some of them to be underneath the window title bar. Uhhh, I asked for them not to be moved down, not to be moved up! Oh, forgot: you've probably designed your card with space at the top that you want to preserve. If so, then y

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
On 1/11/12 6:51 PM, Pete wrote: In the first screen, I click the New button and on the next screen, give the menu a name and leave the give the menubar a name and uncheck the box "move objects down to accommodate menu bar" (I want the menu to be in the OS X menu bar). As soon as I click OK, al

Re: Date intersection revisited

2012-01-11 Thread Pete
You can do this with sql functions too Bob. The sqlite date function has a modifier parameter, eg date(2011-1-11,'+ 1 DAY). MYSQL has the DATE_ADD and DATE_SUB functions which do the same thing. Pete On Wed, Jan 11, 2012 at 6:55 PM, Bob Sneidar wrote: > Hi all. A while ago someone asked how to

Re: Menu Builder

2012-01-11 Thread Bob Sneidar
What you can do is create a new stack, build your menu there, copy the text of the button it creates, then build on the fly when you open your stack. I think. I'm a little fuzzy about that. :-) Bob On Jan 11, 2012, at 4:51 PM, Pete wrote: > After a gap of many months since last using the Menu

Re: Menu Builder

2012-01-11 Thread Pete
Well, I guess back to square 1. What seemed to work (don't move controls, set as Stack menubar) now results in controls being moved up again. Pete On Wed, Jan 11, 2012 at 5:53 PM, Pete wrote: > Yes I just discovered that. If that checkbox had been on the same screen > as the "move controls" ch

Date intersection revisited

2012-01-11 Thread Bob Sneidar
Hi all. A while ago someone asked how to phrase a query for date intersections. I have been struggling all day to come up with what is probably very simple logic for date intersections. For instance, I need to find all the reserved rooms whose dates fall within the selected dates of a new reserv

Re: SQL Date Formatting

2012-01-11 Thread Pete
Hi Bob, I guess it depends on what you mean by "real dates" SQL date fields are pretty specific as to their format, that's why you give them a type of DATE or DATETIME. It's just a case of adjusting your SELECT statement to use the functions that SQL provides to return the date in whatever format

Re: SQL Date Formatting

2012-01-11 Thread Bob Sneidar
No you are right about it being a choice of one or the other. My functions only convert dates, so they are a lot simpler than yours, and I don't do any error checking. I ended up converting all my sql columns to date type and presenting my users with the sql format date. I then use a date picker

Re: SQL Date Formatting

2012-01-11 Thread Bob Sneidar
I could massage the sql date format in my select statement, but I am trying to keep my select statements as simple as I can, so I have 2 functions that convert to and from the standard sql date format. Bob On Jan 11, 2012, at 5:55 PM, Warren Samples wrote: > On 01/11/2012 07:20 PM, Bob Sneid

Re: SQL Date Formatting

2012-01-11 Thread Bob Sneidar
h... I get it. have SQL change the way IT looks at dates. Well that would work. Instead though I decided to bite the bullet and write two functions to convert to and from standard mySQL date format. Thanks for the info though I will probably use that elsewhere. Bob On Jan 11, 2012, at 5:

Re: SQL Date Formatting

2012-01-11 Thread stephen barncard
Did I misunderstand your requirements, Bob? On 11 January 2012 18:07, stephen barncard wrote: > Really, this is no big deal. You can either convert at the Livecode end, > or if you don't need to sort by seconds, you could just make the date field > as a plain text field. Also consider storing ti

Re: SQL Date Formatting

2012-01-11 Thread stephen barncard
Really, this is no big deal. You can either convert at the Livecode end, or if you don't need to sort by seconds, you could just make the date field as a plain text field. Also consider storing time as seconds in the database, which is sortable. The second handler I found useful too. function co

[ANN] Alpha Twitter Support

2012-01-11 Thread Andre Garzia
Folks, I know this has been delayed forever but the time is upon us to have Twitter-enabled apps. During the last conference, I demoed a very simple twitter library but did not share it because it relied on some command line tools that were only available on Mac OS X. It took me a while to find th

Re: SQL Date Formatting

2012-01-11 Thread Warren Samples
On 01/11/2012 07:20 PM, Bob Sneidar wrote: Hi all. I am having F-I-TZ working with dates in mySQL. I WANT to store the dates as real dates, but mySQL formats them as -mm-dd. Livecode does no such thing and nothing I know how to do can get Livecode to work with dates in this format AS dates

Re: Menu Builder

2012-01-11 Thread Pete
Yes I just discovered that. If that checkbox had been on the same screen as the "move controls" checkbox, life would have been much simpler! So I'm now on the right track I think, but looks like I need to adjust some code which resizes windows in some circumstances. Pete On Wed, Jan 11, 2012 at

Re: SQL Date Formatting

2012-01-11 Thread Mike Bonner
Can't try it but I believe you can do something like select field1, field2, DATE_FORMAT(yourdatefield,"%m/%d/%Y" from On Wed, Jan 11, 2012 at 6:20 PM, Bob Sneidar wrote: > Hi all. I am having F-I-TZ working with dates in mySQL. I WANT to store > the dates as real dates, but mySQL formats t

Re: Menu Builder

2012-01-11 Thread Mark Schonewille
Hi Pete, If I keep that darn checkbox unchecked and do check the checkbox Set as stack Menu bar, then all is fine and the controls don't move up or down (actually they do move down by the same amount of pixels the card moves up). I don't know about a tutorial or something, but I rarely look at

SQL Date Formatting

2012-01-11 Thread Bob Sneidar
Hi all. I am having F-I-TZ working with dates in mySQL. I WANT to store the dates as real dates, but mySQL formats them as -mm-dd. Livecode does no such thing and nothing I know how to do can get Livecode to work with dates in this format AS dates. It's no good for my present purposes to w

Re: Menu Builder

2012-01-11 Thread Pete
HI Mark, I guess it's a case of "once bitten, twice shy". As mentioned, I had weird problems trying to use it last time around and now I can't get past the first screen without a problem so I just don't trust it. I didn't uncheck the box, it was already unchecked. I also tried checking it, which

Re: Menu Builder

2012-01-11 Thread Mark Schonewille
Hi Pete, Why do you want a different way? The menu builder still is the easiest way to create a menu, even if it is unintuitive and buggy. Next time, just don't uncheck that checkbox :-) Surely, you can create a group, set the menubar of the stack to the name of that group and set the editmenu

Menu Builder

2012-01-11 Thread Pete
After a gap of many months since last using the Menu Builder, I'm back to trying it again with not very auspicious results. In the first screen, I click the New button and on the next screen, give the menu a name and leave the give the menubar a name and uncheck the box "move objects down to accom

Re: [ANN] animationEngine 5 Manuel en français

2012-01-11 Thread René Micout
Hello Malte, I think French readers of this list understand also English ! But if the French message is not strictly correct, it is understandable ! ;-) René Le 11 janv. 2012 à 23:07, Malte Brill a écrit : > Bonjour à tous les utilisateurs français d'animationEngine! > Heureusement René Micout tr

[ANN] mergZXing 1.0.1 - iOS barcode reader external and mergAnswerColor

2012-01-11 Thread Monte Goulding
Hi Everyone Just a small documentation bug. People that have already purchased should have received a notification already. I have also included mergBanner an iAd external (which won't be sold separately) to show the banner at the bottom of the screen as a bonus when purchasing mergZXing. mergA

Re: color picker in IOS

2012-01-11 Thread Monte Goulding
On 12/01/2012, at 7:28 AM, Howard Bornstein wrote: > Hi Monte, > > Congratulations on the release of mergzxing. I wish you success with it. :-) > > The image for the color-picker external seems to show that it takes up the > entire iphone screen. Is there any way to specify a resize on it to ta

Re: [ANN] animationEngine 5 Manuel en français

2012-01-11 Thread Malte Brill
Updated link: http://derbrill.de/animationEngine/animationEngine_5_Manuel.pdf Malte > Bonjour à tous les utilisateurs français d'animationEngine! > Heureusement René Micout traduit le manuel en français. Le lien est ici: > http://derbrill.de/animationEngine/anim ... Manuel.pdf Merci encore René

[ANN] animationEngine 5 Manuel en français

2012-01-11 Thread Malte Brill
Bonjour à tous les utilisateurs français d'animationEngine! Heureusement René Micout traduit le manuel en français. Le lien est ici: http://derbrill.de/animationEngine/anim ... Manuel.pdf Merci encore René! S'il vous plaît excuser mon mauvais français. Je n'ai Google translate prises pour aider.

[OT] Going bananas with "The Desktop Experience"

2012-01-11 Thread Richmond
After the debacle of Ubuntu and its Unity desktop, the equally hot huffing and puffing about GNOME 3, and so on, I see that quite a few Linux people are jumping on the desktop environment bandwagon: http://unity.ubuntu.com/ http://www.gnome.org/gnome-3/ http://asturix.com/2012/01/asturix-4-re

Re: Find nearest color in an RGB list

2012-01-11 Thread Nonsanity
Yeay! One always worries about code written IN the email... :) ~ Nonsanity On Tue, Jan 10, 2012 at 3:31 PM, Michael Doub wrote: > This works like a charm! > > Thanks, > Mike > > > > On 2012-01-10, at 3:03 PM, Nonsanity wrote: > > > Both look like good suggestions for getting the closest col

Re: color picker in IOS

2012-01-11 Thread Howard Bornstein
Hi Monte, Congratulations on the release of mergzxing. I wish you success with it. :-) The image for the color-picker external seems to show that it takes up the entire iphone screen. Is there any way to specify a resize on it to take a lesser portion of the screen? I am currently rolling my own

Re: [ANN] mergZXing - iOS Barcode Reader External

2012-01-11 Thread Bob Sneidar
Taze him. That's what I do with my cat. Not to get him to stand still, just for entertainment. ;-) KIDDING! I'M KIDDING! Bob On Jan 11, 2012, at 11:40 AM, Andre Garzia wrote: > Just purchased it! will use 2D barcodes to label everything here.. now, > if this cat stand still for couple mi

Re: Group Question

2012-01-11 Thread Bob Sneidar
I got the propertynames and pasted them into a text editor. I then searched for "group" and none of the things I found sound like they are properties you can set to add an object to a group. Bob On Jan 11, 2012, at 11:15 AM, Warren Kuhl wrote: > I want to add an object to a group (which is i

Re: [ANN] mergZXing - iOS Barcode Reader External

2012-01-11 Thread Andre Garzia
Just purchased it! will use 2D barcodes to label everything here.. now, if this cat stand still for couple minutes, I can tag him too Monte, thanks for the external! On Wed, Jan 11, 2012 at 2:30 PM, Bob Sneidar wrote: > Good job and good luck to you! > > Bob > > > On Jan 10, 2012, at 8:

Re: Group Question

2012-01-11 Thread Bob Sneidar
Don't you mean: set the group of image "Imagexxx" to group "group1" of group "group 2" Also the names of the groups are not consistent. Typo? I do not think you have to use "of group "Group 2". Bob On Jan 11, 2012, at 11:15 AM, Warren Kuhl wrote: > I want to add an object to a group (which

Re: Group Question

2012-01-11 Thread Klaus on-rev
Hi Warren, Am 11.01.2012 um 20:15 schrieb Warren Kuhl: > I want to add an object to a group (which is in another group). I am > trying to do this from the message box. What is the syntax of this? > Isn't it something like: > > In the example below, group 1 is in group 2. > > set the group of

Group Question

2012-01-11 Thread Warren Kuhl
I want to add an object to a group (which is in another group). I am trying to do this from the message box. What is the syntax of this? Isn't it something like: In the example below, group 1 is in group 2. set the group of image "Imagexxx" to group "group1" of group2 "group 2" I thought I d

Re: OT Password protection of RR server?

2012-01-11 Thread Jim Hurley
P.S. Below the message (To view this page etc.) are the fields in which to enter a username and password. Jim > Mark, > > Thanks Mark. I did as you suggested without results. I am trying to unprotect > the url: > >jamesphurley.com/District3 > > but I still get this message: > >To

Re: OT Password protection of RR server?

2012-01-11 Thread Mike Bonner
:80 just indicates that its the default http port. On Wed, Jan 11, 2012 at 12:11 PM, Jim Hurley wrote: > Mark, > > Thanks Mark. I did as you suggested without results. I am trying to > unprotect the url: > >jamesphurley.com/District3 > > but I still get this message: > >To view this page,

Re: OT Password protection of RR server?

2012-01-11 Thread Jim Hurley
Mark, Thanks Mark. I did as you suggested without results. I am trying to unprotect the url: jamesphurley.com/District3 but I still get this message: To view this page, you must log in to area “District3” on jamesphurley.com:80. I have no idea what the :80 suffix means. District3 is

Re: Oops

2012-01-11 Thread Mike Bonner
oops, sorry for replying then :) On Wed, Jan 11, 2012 at 11:46 AM, Jim Hurley wrote: > Oops. > > That last message of mine was intended for Mark, not the entire list. > > Jim Hurley > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > P

Re: OT Password protection of RR server?

2012-01-11 Thread Mike Bonner
If you want to look at the toplevel folder assigned to each of your domains you can go to cPanel and click domains. This is where you can add a domain or just adjust or see how things are set for existing domains. Your domain jamesphurley.com should be shown there. You can also look at "subdomain

Oops

2012-01-11 Thread Jim Hurley
Oops. That last message of mine was intended for Mark, not the entire list. Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.

Re: OT Password protection of RR server?

2012-01-11 Thread Mark Schonewille
Hi Jim, The easy way to unprotect a page is to log in with FTP and remove the httpaccess file from the directory. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553

Re: OT Password protection of RR server?

2012-01-11 Thread Jim Hurley
Mark, I finally got my password for cPanel from Heather and I plunged into password protecting a web page. Or so I thought. I assumed that a web address was a directory and I thought I was protecting a web page but turned out locking up much more. There is still one folder jamesphurley.com/D

Re: On-Rev down?

2012-01-11 Thread Bob Sneidar
NVM it is something on this end. Still troubleshooting... Bob On Jan 11, 2012, at 8:52 AM, Mike Bonner wrote: > My sites are working (odin) and I can log in to odins cpanel ok but there > was some weirdness. Went to https://odin.on-rev.com:2083/login/ box pops > up asking for username and pass

Re: On-Rev down?

2012-01-11 Thread Pierre Sahores
loki is OK for me. Le 11 janv. 2012 à 17:40, Bob Sneidar a écrit : > I am trying to connect to On-Rev SQL database, and failing. Anyone else > having problems? > > Bob > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please

RE: On-Rev down?

2012-01-11 Thread Ralph DiMola
I am having no problem connecting to the control panel either. 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 Bo

Re: Stack to read offline the LiveCode Forum

2012-01-11 Thread Alejandro Tejada
Hi Mark, Mark Stuart-2 wrote > > Alejandro wrote: >>> > Does exists a LiveCode stack to read offline > all the LiveCode forum postings? > << > > Alejandro, if you go to this link, I mentioned that I had an application > that reads the mail list. > Currently, it doesn't have the offline feature,

RE: On-Rev down?

2012-01-11 Thread Ralph DiMola
I am having no problem connecting to my on-rev MySQL database. 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 Bo

Re: On-Rev down?

2012-01-11 Thread Mike Bonner
My sites are working (odin) and I can log in to odins cpanel ok but there was some weirdness. Went to https://odin.on-rev.com:2083/login/ box pops up asking for username and password. Wouldn't let me log in. Failed miserably. Tried alternate passwords on the offchance I mis-remember. Nope. Hit ca

On-Rev down?

2012-01-11 Thread Bob Sneidar
I am trying to connect to On-Rev SQL database, and failing. Anyone else having problems? Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http:/

Re: [ANN] mergZXing - iOS Barcode Reader External

2012-01-11 Thread Bob Sneidar
Good job and good luck to you! Bob On Jan 10, 2012, at 8:13 PM, Monte Goulding wrote: > Hi All > > Today I have released mergZXing my iOS Barcode Reader External for sale via > my website http://goulding.ws/mergzxing for US$49. > > The external will also be available on the LiveCode marketpl

[ANN] Installer Maker 1.7.2

2012-01-11 Thread Mark Schonewille
Hello, I made a small update to the Installer Maker Plugin. The new version is 1.7.2 and fixes two annoying bugs. This update is free for all owners of a valid license for 1.7.1. Go to http://qery.us/za to get it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engine

Re: Regular expression to find the date

2012-01-11 Thread Thierry Douez
Hi Paolo, Both of these solutions work great. > However, to me, a perfect solution would be a combination of the two, > > A Regular Expression that accept > > 05/01/2011 > 05-01-2011 > 05.01.2011 > ... > and also > > 11/9/2011 > 5/10/2011 > ... > as a date. > If you need an optional '0' for one

Re: standalone not quitting on Win7

2012-01-11 Thread Mark Schonewille
Hi, The wait command blocks all other handlers and hence has no effect. Maybe you mean wait 1 with messages, but I don't think it matters. You can ignore the wait command. Also, I wouldn't put the quit command in the closeStack handler but in the closeStackRequest handler because the closeStack

Re: standalone not quitting on Win7

2012-01-11 Thread Mark Schonewille
Happy new year to you too, Nico-san! -- 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 t

Re: Regular expression to find the date

2012-01-11 Thread paolo mazza
Thank you all. You are the wizards of Regular Expressions! Both of these solutions work great. However, to me, a perfect solution would be a combination of the two, A Regular Expression that accept 05/01/2011 05-01-2011 05.01.2011 ... and also 11/9/2011 5/10/2011 ... as a date. Thank you ve

Re: standalone not quitting on Win7

2012-01-11 Thread Pierre Sahores
Did you try ? on closeStack wait 1 quit end closeStack Best, Le 11 janv. 2012 à 03:04, Nicolas Cueto a écrit : > on closeStack > quit > end closeStack > > > Any ideas? Thanks. > > -- > Nicolas Cueto -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com ___

iOS print external problem

2012-01-11 Thread gwendalwood
Has anyone else found that the iOs HardCopy external has a problem dealing with two-sided printing? When two or more pages are printed from my iPad 2, it always prints two-sided to a two-sided capable printer even when the option is turned off in the pop-up dialog. Who is the author of the exter