Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread J. Landman Gay
On 11/22/11 10:36 PM, Kay C Lan wrote: And just to clarify, the only problem I'm seeing is in the actual blank part of the bar. I can tap on the arrows that are part of the scroll bar and the field will scroll one line. I can double tap and drag the blue bar up and down the bar. What isn't worki

Re: Repeat until (mouseDoulbeUp?)

2011-11-22 Thread Jan Schenkel
Hi James, The trick is to use 'wait with messages' in your 'repeat' loop. This allows the processing of events, including 'mouseDoubleUp' - which in turn allows you to set some sort of flag, which the loop can check afterwards to know if it needs to exit. Bear in mind that the 'wait with messag

Re: Survey

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 9:18 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Wow... you really have got too much time on your hands, Colin! ;-) > > I figured he just wanted the iPad really, really, really, really (repeat 196 more times) badly ;-) _

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 10:54 PM, Richard Gaskin wrote: > > This was a bug in earlier version of LiveCode, fixed as of 4.6.4 (or > perhaps a something earlier in the 4.6 series). Testing this AM in that > version has LiveCode responding to tap-to-click. > > What version are you using? > > OS X 1

Re: How would I automatically insert username/password into .htaccess with livecode?

2011-11-22 Thread Admin
To go one step further - I need to also write a .htpasswd file with username:password - and that password needs to be encrypted. The .htpasswd file has to be out of public reach. The .htaccess refers to the .htpasswd file and has to be in the folders to be protected. All of the folders alre

How would I automatically insert username/password into .htaccess with livecode?

2011-11-22 Thread Admin
I want to write my own shopping cart because I need very specific functionality. To do this, I need to open a .htaccess file on the server, insert a username and password and then save that file. Then the cart will allow them to download multiple files (some are BIG). How would I go about

Re: text color part 2

2011-11-22 Thread Mark Wieder
John- Tuesday, November 22, 2011, 5:22:51 PM, you wrote: > Mark, > Thanks for the suggestion. I've typically done just that to > color text. The problem is, in this case, the field contains > plaintext that is actual html, and I need to be able to view it > without it disappearing and modifyin

Re: text color part 2

2011-11-22 Thread John Brozycki
Mark, Thanks for the suggestion. I've typically done just that to color text. The problem is, in this case, the field contains plaintext that is actual html, and I need to be able to view it without it disappearing and modifying other text. For example, a search could be done on, say, " John

Re: Copying A Card

2011-11-22 Thread Pete
Thanks Mark, that seems to have fixed it ( I locked/unlocked screen and messages so not sure which one fixed it) Pete On Tue, Nov 22, 2011 at 3:45 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Pete, > > Perhaps lock screen and messages and go back to the previous card after

Re: text color part 2

2011-11-22 Thread Mark Wieder
John- If you can get by without setting the background color, try using the htmlText property of the field, something like this: on mouseUp local tText local tStrReplace put the htmlText of field "Original" into tStrReplace put "" \ & field "SearchField" &\ & "" into tStrReplace

Re: Copying A Card

2011-11-22 Thread Bob Sneidar
I do not believe there is a way to prevent it from opening, but you can copy the card, go to the destination stack invisible and paste the card. Then go back to the source stack. Would that help? I tried this in a button and it worked famously: on mouseUp pMouseBtnNo copy card 1 of stack "U

Repeat until (mouseDoulbeUp?)

2011-11-22 Thread James Hurley
is it possible to terminate (exit) a repeat loop with a mouseDoubleUp? Thanks, Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lis

Re: Copying A Card

2011-11-22 Thread Mark Schonewille
Hi Pete, Perhaps lock screen and messages and go back to the previous card after copying? -- 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 sal

Copying A Card

2011-11-22 Thread Pete
I have a script that copies a card from one substack to another, eg copy card 1 of stack "abc" to stack "xyz". Whenever it executes the new card is opened. Is there a way to prevent that behavior? -- Pete Molly's Revenge ___

Re: [ANN] Last Day for tmCONTROL Reduced Price

2011-11-22 Thread Scott Rossi
Recently, Judy Perry wrote: > Does this apply to those of us who bought it at the conference? Folks who have already ordered (such as yourself) should have already received their packages. If you have not, please contact me off list and I'll make sure it gets to you. Regards, Scott Rossi Creat

Re: [ANN] Last Day for tmCONTROL Reduced Price

2011-11-22 Thread Judy Perry
Does this apply to those of us who bought it at the conference? Judy On Tue, 22 Nov 2011, Scott Rossi wrote: Just a reminder that today is the final day of introductory pricing for tmCONTROL. A FAQ, screenshots, and other information is here: http://tmtools.tactilemedia.com/tmcontrol/faq.html

Re: [ANN] Last Day for tmCONTROL Reduced Price

2011-11-22 Thread Andre Garzia
On Tue, Nov 22, 2011 at 7:24 PM, Scott Rossi wrote: > Just a reminder that today is the final day of introductory pricing for > tmCONTROL. A FAQ, screenshots, and other information is here: > http://tmtools.tactilemedia.com/tmcontrol/faq.html > > I recommend it. The controls and themes are great

[ANN] Last Day for tmCONTROL Reduced Price

2011-11-22 Thread Scott Rossi
Just a reminder that today is the final day of introductory pricing for tmCONTROL. A FAQ, screenshots, and other information is here: http://tmtools.tactilemedia.com/tmcontrol/faq.html Best Regards, Scott Rossi Creative Director Tactile Media, UX Design ___

Re: Can't (quite) Capitalize Card Name in property inspector

2011-11-22 Thread Roger Eller
On Tue, Nov 22, 2011 at 3:49 PM, AcidJazz wrote: > I have cards named: condition1, condition2, etc. and want (owing no > doubt to my own obsessive compulsive tendencies) to rename them to: > Condition1, Condition2, etc.Yes, I merely want to capitalize the names. > > Mark > > set the name

Can't (quite) Capitalize Card Name in property inspector

2011-11-22 Thread AcidJazz
I have cards named: condition1, condition2, etc. and want (owing no doubt to my own obsessive compulsive tendencies) to rename them to: Condition1, Condition2, etc.Yes, I merely want to capitalize the names. However, when I change the little "c" to a big "C" it accepts it in the prop

Re: Dirty Salsa mini - In Appstore

2011-11-22 Thread ddas
Hi Richard, Thank you. You are most kind. While it's true that I pointed out that WebMerge could be a product, you sent me the proprietary uncompiled stack for free to begin with. You were very generous. You deserve all the success that WebMerge brought you. I am proud of my role. I am honored

Re: SELECT count(*) as

2011-11-22 Thread Pete
RevQueryDatabase returns a cursor not the result of the SELECT. If you use revDataFromQuery instead, you'll get the result of the SELECT, eg: put revDatafromQuery(,,DB_ID, "SELECT count(*) as anzahl from MYFILE where something = '"&yxz&"' and something_else = 'false'") into counted Probably don't

Re: text color

2011-11-22 Thread John Brozycki
Mike, Thanks! You got me started with your first reply. I saw that it was grabbing the first characters of the word, even if not what you wanted. For example, if word was timebandit, but you wanted bandit, it selected "timeba". Also, I messed up incrementing my offset, so it only got the fi

Re: SELECT count(*) as

2011-11-22 Thread Ruslan Zasukhin
On 11/22/11 8:19 PM, "Inselfan" wrote: > Hola, > > using this: > > put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where > something = '"&yxz&"' and something_else = 'false'") into counted > > shows me wrong results in counted. Does one of you will be so kind to tell > me m

SELECT count(*) as

2011-11-22 Thread Inselfan
Hola, using this: put revQueryDatabase (DB_ID, "SELECT count(*) as anzahl from MYFILE where something = '"&yxz&"' and something_else = 'false'") into counted shows me wrong results in counted. Does one of you will be so kind to tell me my fold? thanks -- View this message in context: http://r

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Pete
I've always had minor problems with mouse clicks in scrollbars not registering on all versions up to 4.6.3. It's always been scrollbars on datagrids that exhibit the problem but then again I don't think I've used scrollbars anywhere else. Sounds like I should try 4.6.4. Pete On Tue, Nov 22, 2011

Re: [OT] eSellerate

2011-11-22 Thread Pete
Thanks Bill, I plan to look into them. On Mon, Nov 21, 2011 at 9:47 PM, Bill Vlahos wrote: > I use Kagi for InfoWallet and they have been terrific. > > Bill Vlahos > _ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible

Re: [OT] A FLASH in the pan? Part 2

2011-11-22 Thread Richmond
On 11/22/2011 07:12 PM, Bob Sneidar wrote: The fact that I am right about everything gives me the confidence to remain calm and not flame anyone. ;-) I love you almost as much as you love yourself . . . LOL Bob On Nov 21, 2011, at 10:53 PM, Matthias Rebbe wrote: I just was worried that

Re: text color

2011-11-22 Thread Mike Bonner
Last time. I swear. Really. Would help if I'd locate all the quirks before posting, eh? The problem with the last code is that if nothing is found it still hilites from the beginning of the field for the number of chars in the search string. So to fix that.. on mouseUp set the wholematches to

Re: text color

2011-11-22 Thread Mike Bonner
Oops, me again. If you want to change the color of text anywhere in a string, inside words or not, offset is the way to go. The code I sent.. well if you have the word "biggest" and search for g, it will hilite the b because its the first letter of the word, and the length of the word being search

Re: text color

2011-11-22 Thread Mike Bonner
Oh, my last response was in your second set of code that you was causing a syntax error. The complete code is as follows. on mouseUp set the traversalOn of field "Results" to true put the text of field Results into tResults put the text of field "SearchField" into strSearch put the len

Re: Survey

2011-11-22 Thread Bob Sneidar
So they tried to complete the survey, only to find they were required to complete the survey first? Only in the digital world. :-) Bob On Nov 21, 2011, at 5:00 PM, Colin Holgate wrote: > It's good that they fixed it, but previously if you accidentally went on to > complete the survey 200 time

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Bob Sneidar
I have noticed at times in Livecode that a quick click will not register. I have to be more determined in my clicks to get them to register. Could it be that a tap is too quick a click to be seen by Livecode as an actual click? Just guessing. Bob On Nov 21, 2011, at 11:43 PM, Malte Brill wro

Re: [OT] A FLASH in the pan? Part 2

2011-11-22 Thread Bob Sneidar
The fact that I am right about everything gives me the confidence to remain calm and not flame anyone. ;-) Bob On Nov 21, 2011, at 10:53 PM, Matthias Rebbe wrote: > I just was worried that this discussion might end in a flame war. ___ use-livecode

Re: text color

2011-11-22 Thread Mike Bonner
Try changing your select to this: select char 1 to tLength of word (tFramePos+tPreviousOffset) of field "Results" On Tue, Nov 22, 2011 at 8:37 AM, Devin Asay wrote: > > On Nov 21, 2011, at 6:31 PM, Mike Bonner wrote: > > > you can "set the textcolor of the selection to red" > > I've been

Re: PHP & LiveCode Server

2011-11-22 Thread Ian Wood
Surely it would be more secure, in that there are no .php files lying around on the server? Ian On 22 Nov 2011, at 16:15, Andrew Kluthe wrote: > Very true, but unfortunately this is similar to what I am doing now which is > making a script file that loads the library and calls the function I ne

Re: text color part 2

2011-11-22 Thread John Brozycki
This still isn't exactly what I want. Given search term of "http:" this will change color of the entire word "http://somesite.com";. I only want to change the color of what matches. Tried the following: on mouseUp set the traversalOn of field "Results" to true put the text of field Resul

Re: PHP & LiveCode Server

2011-11-22 Thread Andrew Kluthe
Very true, but unfortunately this is similar to what I am doing now which is making a script file that loads the library and calls the function I need with parameters being passed via post. This also means I have about 15 different .php scripts that take post information floating on my server. I co

Re: text color

2011-11-22 Thread Devin Asay
On Nov 21, 2011, at 6:31 PM, Mike Bonner wrote: > you can "set the textcolor of the selection to red" I've been using RunRev/LC since 2001, and this is the first time I have ever heard about the selection function! Thanks Mike! Love LC. Love this list. Devin Devin Asay Humanities Technology

Re: Copy msg box?

2011-11-22 Thread James Hurley
Thanks Mike and Mark. I just wish it weren't so complicated. Jim > Jim, > > I believe that should be: put msg into myVar > > -- > Best regards, > > Mark Schonewille > Mike Bonner wrote: > > This works. > put msg into field 1 ___ use-liveco

Re: Dirty Salsa mini - In Appstore

2011-11-22 Thread Richard Gaskin
Debdoot wrote: I am happy to announce that now the power to learn Salsa Dancing is in the palm of your hands. Thanks to Gerry, Richard, Mark, Jacqueline, Scott, Björnke and anyone who helped me but I have missed. Special thanks to Bernd. I swiped a lot of code from him. It's a very simple ap

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Richard Gaskin
Kay C Lan wrote: Thanks Mark for the response, after Malte's post I thought I was going to be able to sleep tonight, but now I'm going to have to figure out why LC isn't responding to my taps in scrollbars ;-( This was a bug in earlier version of LiveCode, fixed as of 4.6.4 (or perhaps a somet

Siri article might be of interest

2011-11-22 Thread Michael Kann
http://www.newscientist.com/blogs/onepercent/2011/11/siri-hacked-to-adjust-your-the.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.ru

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 6:54 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Kay, > > The trackpad works fine for me with scrollbars objects and scrollbars of > fields and groups. OSX 10.6.8, MacBook, LC 5.0. > > Hmm, now that's confused the issue, although it makes sense - could

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Mark Schonewille
Kay, The trackpad works fine for me with scrollbars objects and scrollbars of fields and groups. OSX 10.6.8, MacBook, LC 5.0. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK

Re: PHP & LiveCode Server

2011-11-22 Thread Mark Schonewille
Andrew, You can execute PHP from the command line. Mac OS X/Linux: php [options] [ -f ] file [[--] args...] php [options] -r code [[--] args...] php [options] [-B code] -R code [-E code] [[--] args...] php [options] [-B code] -F file [-E code] [[--] args...] php [options] -- [ args...] php [

PHP & LiveCode Server

2011-11-22 Thread Andrew Kluthe
On the desktop, I can execute python and other scripting languages. But how might one go about making calls to PHP functions in LiveCode Server? I have all of these wonderfully useful PHP libraries for different web services. While I have been making a habit of trying to recreate them in livecode

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 3:43 PM, Malte Brill wrote: > > My trackpad is not that worn out yet and liveCode still ignores tapping in > quite a few places here. Same configuration as yours. (Physical clicks > always work though) > > Thanks Malte for the quick response, at least that's one less hair