copy-paste not working in a standalone

2012-07-12 Thread André Bisseret
Bonjour, I did not get any answer to this post so I am trying again ;-) Mac 10.6.8 ; Livecode 5.0.2 I have a standalone for an app. which is running well since january 2011. Particularly, it allows copy-paste with command + C and command + V in any stack of the app. A couple of days ago, I t

Re: Any Textile Markup to Rev HTML converter functions out there?

2012-07-12 Thread Richmond
On 07/13/2012 08:52 AM, Richmond wrote: On 07/13/2012 04:09 AM, Chipp Walters wrote: Subject says it all. I want my customers to use textile to do some basic markup and need to convert to HTML. Thought I'd ask before embarking on the journey... Have a look at this: http://textile.threshold

Re: Any Textile Markup to Rev HTML converter functions out there?

2012-07-12 Thread Richmond
On 07/13/2012 04:09 AM, Chipp Walters wrote: Subject says it all. I want my customers to use textile to do some basic markup and need to convert to HTML. Thought I'd ask before embarking on the journey... Have a look at this: http://textile.thresholdstate.com/ Richmond. ___

Re: finding the mousecolor in IOS

2012-07-12 Thread Howard Bornstein
I haven't had time to pursue any of this yet, but do you think the gamma would explain why I'm getting different values with Scott's routine versus the built-in mouseColor function? Btw, I'm using an imported image that I haven't modified in any way. This is all so I can build my own color picker

Re: finding the mousecolor in IOS

2012-07-12 Thread Howard Bornstein
Ah, I see. Thanks for the clarification. I've been putting on switching to Lion for as long as possible so I haven't seen that problem. I guess I'll have to bite the bullet with Mountain Lion though. On Thu, Jul 12, 2012 at 4:56 PM, Scott Rossi wrote: > Recently, Howard Bornstein wrote: > > >> I

Re: USB port

2012-07-12 Thread dunbarx
I keep touting the virtues of Bonig and Kallenbach http://www.bkohg.com Pricey, but a pleasure to use. There are frameworks for LC, of course, and a dozen other development environments. But who cares? LC is the one. The same coding experience that makes fields crunch text or objects jump

Re: Standalone Error Dialog

2012-07-12 Thread Mark Wieder
Richard- Thursday, July 12, 2012, 5:05:47 PM, you wrote: > I've also heard recently that there may now be a function in the engine > to obtain those strings, but I'm not sure if I'm remembering that > correctly or just getting senile. That is correct, but it's not documented. You'll have to use

Re: validating "per use" licensing

2012-07-12 Thread Mark Wieder
D- Thursday, July 12, 2012, 1:13:51 PM, you wrote: > On Thu, Jul 12, 2012 at 1:12 PM, Bob Sneidar wrote: >> Mark Weider is going bankrupt? Shouldn't we help him somehow?? ;-) > If he moves to Nevada, I can give him a great discount. > :) Oh, that sounds great. I'll pack up and move to Nevada

Re: my card is hiding from me and from preOpenCard!

2012-07-12 Thread J. Landman Gay
On 7/12/12 7:24 PM, Dr. Hawkins wrote: The script is : answer "here" go card "dinfo" of stack "debtor_info" answer "there" In the standalone, nothing displays. I open manually (from a menu), and it displays the card, but doesn't run the scripts in pre/open. I go to the next card,

Any Textile Markup to Rev HTML converter functions out there?

2012-07-12 Thread Chipp Walters
Subject says it all. I want my customers to use textile to do some basic markup and need to convert to HTML. Thought I'd ask before embarking on the journey... -- Chipp Walters CEO, Altuit, Inc. ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: USB port

2012-07-12 Thread Thomas McGrath III
Skip, Ron, I have been writing software for AAC special needs kids for 15-18 years now. I use LC but intercept keystrokes/mouse coordinates coming from most switches, head pointers, etc. And I am working on a serial library for iOS devices that will connect to serial devices for iOS. Desktop alr

Final Thoughts on my Disappearing Modeless STack Title

2012-07-12 Thread Peter Haworth
Thanks to Ken Ray, my modeless stack now correctly displays its title on Windows boxes. To recap, the fix was for me to set the text size on my Windows box to small (the default) - I had it set to medium when the problem occurred. So I'm a happy camper but I have this vague feeling I haven't seen

[ANN] lcStackDiff 1.0.2 Available

2012-07-12 Thread Peter Haworth
Folks, I've just made the above release available for download on my web site. There's one enhancement in this release. I've provided a checkbox when defining a new project version to request that messages be locked before opening the project version's stack file. One user reported problems whic

Re: Standalone Error Dialog

2012-07-12 Thread Peter Haworth
Folks, For some reason, I haven't been seeing some of the messages on this thread, but I found them on the mail archive, starting with Richard's telling me about the errorDialog message. My goals are relatively modest, just wanting to report the version (from the uRIP custom property set of course

my card is hiding from me and from preOpenCard!

2012-07-12 Thread Dr. Hawkins
this just started happening (well, I hadn't made a standalone in almost two weeks) In the IDE, I open a client database, open or go to a card of the first stack of interest by script, and it runs preOpenCard and openCardquite happily. When I create a standalone, I open the new file, and the outli

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 2:23 PM, Bob Sneidar wrote: > I never thought of that! Who wants to steal the identity of a bankrupt > person?? It took a while to occur to the courts, too. But after discharge, you have someone with no debt, and know his name, full social, place of employment . . . the

Re: Standalone Error Dialog

2012-07-12 Thread Richard Gaskin
Mark Wieder wrote: Richard Gaskin writes: If you need the strings associated with specific errors, you can get them from the cErrorsList property of the card in the revErrorsDisplay stack. Keep in mind, though, that Pete needs to do this in a standalone. To do this he'd need to grab the err

Re: finding the mousecolor in IOS

2012-07-12 Thread Scott Rossi
Recently, Howard Bornstein wrote: >> It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently >> it has been fixed on Lion which is a huge relief). >> > I don't understand this because you are comparing IOS and Lion. MouseColor > already works fine in OSX. Do you mean that if you

Re: finding the mousecolor in IOS

2012-07-12 Thread Scott Rossi
If you're working with an imported or referenced image, it would probably better to strip the gamma from the source image all together, using something like ColorSync Utility or similar -- as mentioned by Tim Bobo -- rather than changing the gamma of the screen. But if you're working with a snapsh

Re: finding the mousecolor in IOS

2012-07-12 Thread Colin Holgate
Try this line before doing the snapshot: set the screengamma to 2.23 LiveCode changes the values in image data depending on the color settings of the screen, and doing a snapshot of the card's graphics is likely to lead to different data. On Jul 12, 2012, at 7:23 PM, Howard Bornstein wrote:

Re: finding the mousecolor in IOS

2012-07-12 Thread Howard Bornstein
On Thu, Jul 12, 2012 at 3:18 PM, Scott Rossi wrote: > Hi Howard: > > It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently > it > has been fixed on Lion which is a huge relief). > I don't understand this because you are comparing IOS and Lion. MouseColor already works fine in

Re: Standalone Error Dialog

2012-07-12 Thread Mark Wieder
Peter Haworth writes: > > No replies to this so far so I'm assuming it's not possible. Sorry - I forgot to reply to this one. Have you looked at the "Bug Reports" section of the standalone settings? -- Mark Wieder mwie...@ahsoftware.net ___ us

Re: USB port

2012-07-12 Thread Skip Kimpel
Ron That is EXACTLY what I am designing for. I was the IT director of a children's hospital and one of my passions was finding / creating assistive and adaptive equipment for the special needs and medically fragile children that we served. I have some pretty extensive knowledge in this area!

Re: Standalone Error Dialog

2012-07-12 Thread Mark Wieder
Richard Gaskin writes: > If you need the strings associated with specific errors, you can get > them from the cErrorsList property of the card in the revErrorsDisplay > stack. Keep in mind, though, that Pete needs to do this in a standalone. To do this he'd need to grab the error list and pack

USB port

2012-07-12 Thread Ronald Zellner
I was reading the comments about Phidgets and externals and started wondering about being able to use the USB port to connect to special devices- mechanical switches, etc. for use with children with special needs, Is there a source of information about how to connect and read such things? Trans

Re: finding the mousecolor in IOS

2012-07-12 Thread Scott Rossi
Hi Howard: It seems the mouseColor is not functional on iOS in 5.5.1 (but apparently it has been fixed on Lion which is a huge relief). That said, if you can work with an image as your color source (ie import a snapshot if needed), you can use the following function as a workaround (watch wrap):

Re: slightly OT: how to search amazon?

2012-07-12 Thread Bob Sneidar
My advice would be to contact Amazon. They may provide an API. My gut tells me however that using their site in the way you prescribe would be looked down upon by them, and they probably have a mechanism in place to prevent too many queries from one IP in a given time frame. Bob On Jul 12, 2

slightly OT: how to search amazon?

2012-07-12 Thread Chris Sheffield
Hope no one minds if I ask this here. I'm having a hard time finding much in my searches for how to do this. Does anyone know how one would go about searching for product info on amazon.com via a custom url? If I wanted to include a search in an app by using isbn, key words, etc., what's the be

Re: Strange database error when closing Livecode on Windows

2012-07-12 Thread J. Landman Gay
On 7/12/12 4:25 PM, J. Landman Gay wrote: On 7/12/12 3:56 PM, Peter Haworth wrote: Maybe. But it doesn't happen on Macs, only Windows (haven't tried Linux). I hope Livecode doesn't do that on any platform since it's quite possible that applications will want to do some db housekeeping when the

Re: Strange database error when closing Livecode on Windows

2012-07-12 Thread J. Landman Gay
On 7/12/12 3:56 PM, Peter Haworth wrote: Maybe. But it doesn't happen on Macs, only Windows (haven't tried Linux). I hope Livecode doesn't do that on any platform since it's quite possible that applications will want to do some db housekeeping when they are closed and this would prevent them fr

Re: validating "per use" licensing

2012-07-12 Thread Bob Sneidar
Eheh. I guess the secret to tolerating the insanity is to become one of the inmates! Bob On Jul 12, 2012, at 2:07 PM, Richard Gaskin wrote: > Dr. Hawkins wrote: >> Lawyers. >> >> They're a level above in justifying software theft to themselves. > > Joining that irony, stats from the SPA sho

Re: validating "per use" licensing

2012-07-12 Thread Bob Sneidar
> If they want to file, they give it to the world. (twenty years ago, > the *entire* social was on many of the pleadings, including the > petition!!!) > I never thought of that! Who wants to steal the identity of a bankrupt person?? Bob ___ use-livecod

Re: validating "per use" licensing

2012-07-12 Thread Richard Gaskin
Dr. Hawkins wrote: Lawyers. They're a level above in justifying software theft to themselves. Joining that irony, stats from the SPA show music production software to be the second most-pirated category after games. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 1:49 PM, Magicgate Software - Skip Kimpel wrote: > I have much experience in this area of licensing. Since Dr. Hawkins > works for a law firm (owns the law firm?) Yes. Years ago a predecessor to this ran on Hypercard and then SuperCard 1.5. When I returned to practice,

Re: Strange database error when closing Livecode on Windows

2012-07-12 Thread Bob Sneidar
Oh, interesting that the Mac version of LC doesn't do that! At any rate, I have gotten into the habit of enclosing ALL my database access commands and functions inside a try catch construct. You never know when the plug has been pulled to your database access, at least from a networking perspect

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 1:17 PM, Richard Gaskin wrote: > If the software is targeted at people who've filed bankruptcy that may work, > except that if they've filed for bankruptcy they're probably not in a > position to pay for software. ;) I'm selling to attorneys. (and, yes, years ago, I didn'

Re: Strange database error when closing Livecode on Windows

2012-07-12 Thread Peter Haworth
Maybe. But it doesn't happen on Macs, only Windows (haven't tried Linux). I hope Livecode doesn't do that on any platform since it's quite possible that applications will want to do some db housekeeping when they are closed and this would prevent them from doing it. Pete lcSQL Software

Re: validating "per use" licensing

2012-07-12 Thread Richard Gaskin
Skip Kimpel wrote: I have much experience in this area of licensing. Since Dr. Hawkins works for a law firm (owns the law firm?) I would assume this piece of software is directly related to his operations... The last four digits of a social is something that his clients are willing to give him.

Re: validating "per use" licensing

2012-07-12 Thread Magicgate Software - Skip Kimpel
I have much experience in this area of licensing. Since Dr. Hawkins works for a law firm (owns the law firm?) I would assume this piece of software is directly related to his operations... The last four digits of a social is something that his clients are willing to give him. Just had an awesome

finding the mousecolor in IOS

2012-07-12 Thread Howard Bornstein
I'm designing a an IOS app that makes extensive use of determining "the mousecolor". Everything is working fine in my stack, but when I port it to the simulator (or create the IOS app), the mousecolor only returns 0,0,0 regardless of where the mouse is. I found some early posts from last year disc

Re: validating "per use" licensing

2012-07-12 Thread Richard Gaskin
Dr. Hawkins wrote: On Thu, Jul 12, 2012 at 12:24 PM, Mark Wieder wrote: Er... you expect that when I purchase your product I'm going to give you my social security number? I'll pass. No, when you file bankrutpcy, you must include the last 4 as part of the public record. If the software is

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 1:12 PM, Bob Sneidar wrote: > Mark Weider is going bankrupt? Shouldn't we help him somehow?? ;-) If he moves to Nevada, I can give him a great discount. :) -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 hawkinslawf...@gmail.com 3025 S. Maryland Parkway

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 10:46 AM, Bob Sneidar wrote: > It is feasible, but I must say that when searching for software for a > particular application, >when I encounter a per use license, I look elsewhere. This is software for which attorney licenses are typically in the $1k/year range. Each "u

Re: validating "per use" licensing

2012-07-12 Thread Bob Sneidar
Mark Weider is going bankrupt? Shouldn't we help him somehow?? ;-) Bob On Jul 12, 2012, at 12:57 PM, Dr. Hawkins wrote: > On Thu, Jul 12, 2012 at 12:24 PM, Mark Wieder wrote: >> >> Er... you expect that when I purchase your product I'm going to give you >> my >> social security number? I'll p

Re: Strange database error when closing Livecode on Windows

2012-07-12 Thread Bob Sneidar
My guess would be that because LC closes all database connections itself when you quit, that LC has already closed the database connection when your script tries to do it again, with a now defunct database id. Bob On Jul 12, 2012, at 12:31 PM, Peter Haworth wrote: > I have a closeStack handl

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 10:55 AM, Peter Haworth wrote: > Try ZygoDact, it already does all this for you. www.hyperactivesoftware.com it's at hyperactivesw.com. There is no server at hyperactivesoftware.com . . . Thanks. But that does seem like overkill as an approach . . . At the server, logg

Re: validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
On Thu, Jul 12, 2012 at 12:24 PM, Mark Wieder wrote: > > Er... you expect that when I purchase your product I'm going to give you > my > social security number? I'll pass. No, when you file bankrutpcy, you must include the last 4 as part of the public record. -- The Hawkins Law Firm Richard E.

Re: Lock Messages

2012-07-12 Thread Peter Haworth
Thanks Jacque, I kinda thought that would be the case but the dictionary made me wonder. Pete lcSQL Software On Thu, Jul 12, 2012 at 12:05 PM, J. Landman Gay wrote: > On 7/12/12 1:15 PM, Peter Haworth wrote: > >> The dictionary entry for lock messges says that it prevents

Strange database error when closing Livecode on Windows

2012-07-12 Thread Peter Haworth
I have a closeStack handler on card 1 of my main stack that calls revCloseDatabase passing a global variable in as the database id. It checks that the variable is an integer before calling revCloseDatabase just in case the db wasn't opened. This ll works fine when I close the stack. However, if

Re: validating "per use" licensing

2012-07-12 Thread stephen barncard
he said the "last four digits" of the ss# On Thu, Jul 12, 2012 at 12:24 PM, Mark Wieder wrote: > Dr. Hawkins writes: > > > Is this a sensible approach? And and any suggestions on the hash to use? > > > > Er... you expect that when I purchase your product I'm going to give you my > social securi

Re: validating "per use" licensing

2012-07-12 Thread Mark Wieder
Dr. Hawkins writes: > Is this a sensible approach? And and any suggestions on the hash to use? > Er... you expect that when I purchase your product I'm going to give you my social security number? I'll pass. -- Mark Wieder mwie...@ahsoftware.net __

Re: Lock Messages

2012-07-12 Thread J. Landman Gay
On 7/12/12 1:15 PM, Peter Haworth wrote: The dictionary entry for lock messges says that it prevents "setProp triggers , getProp calls , and certain messages from being sent." Is there a list anywhere of what those "certain messages" are? I thought it trapped all engine messages. Messages spe

Re: Standalone Error Dialog

2012-07-12 Thread J. Landman Gay
On 7/12/12 1:50 PM, Bob Sneidar wrote: Ooohh even better! I asked a long time ago if there was some kind of property that could be set to trigger a custom error handling routine, but this would work wonders in a frontscript. Trapping errorDialog is one of the ways I demoed at the conference for

Re: Standalone Error Dialog

2012-07-12 Thread Bob Sneidar
Ooohh even better! I asked a long time ago if there was some kind of property that could be set to trigger a custom error handling routine, but this would work wonders in a frontscript. Bob On Jul 12, 2012, at 11:45 AM, Richard Gaskin wrote: > Peter Haworth wrote: >> As another alternative,

Re: Standalone Error Dialog

2012-07-12 Thread Richard Gaskin
Peter Haworth wrote: As another alternative, is there a message thet is sent to trigger display of the error dialog? If so, I could write a handler for it and display my own custom error dialog box. To trigger a custom error dialog, see the errorDialog message in the Dictionary. If you need

Re: Phidgets and externals

2012-07-12 Thread Thomas McGrath III
Just to be clear, You do not need Applescript to connect to the Arduino from LiveCode. Although you can if you want. In the stack I uploaded to onrev there were four cards and one of them was a card that allows you to connect to the port and communicate with it and then to disconnect the port.

Re: Standalone Error Dialog

2012-07-12 Thread Bob Sneidar
Only thing I can think of is to wrap all the code inside all your handlers with a try/catch statement. Then you can do whatever LC will allow you to do, including a roll-your-own error function and dialog. Bob On Jul 12, 2012, at 11:13 AM, Peter Haworth wrote: > No replies to this so far so

Lock Messages

2012-07-12 Thread Peter Haworth
The dictionary entry for lock messges says that it prevents "setProp triggers , getProp calls , and certain messages from being sent." Is there a list anywhere of what those "certain messages" are? Pete lcSQL Software ___ use-liv

Re: Standalone Error Dialog

2012-07-12 Thread Peter Haworth
No replies to this so far so I'm assuming it's not possible. As another alternative, is there a message thet is sent to trigger display of the error dialog? If so, I could write a handler for it and display my own custom error dialog box. Pete lcSQL Software On Tue, Jul

Re: [ANN] lcStackDiff Version 1.0.0 Released

2012-07-12 Thread Peter Haworth
Thanks Ralph! Pete lcSQL Software On Thu, Jul 12, 2012 at 9:45 AM, Ralph DiMola wrote: > I want to echo the SQLiteAdmin being an invaluable tool for the iOS(waiting > for approval) and Android app that I have developed. The app is SQLite > based > and I use it all the tim

Re: validating "per use" licensing

2012-07-12 Thread Peter Haworth
Try ZygoDact, it already does all this for you. www.hyperactivesoftware.com Pete lcSQL Software On Thu, Jul 12, 2012 at 10:34 AM, Dr. Hawkins wrote: > I want people to be able to pay "per use" for the product. In this case, > it would mean per client file. > > My thinki

Re: validating "per use" licensing

2012-07-12 Thread Bob Sneidar
It is feasible, but I must say that when searching for software for a particular application, when I encounter a per use license, I look elsewhere. Bob On Jul 12, 2012, at 10:34 AM, Dr. Hawkins wrote: > I want people to be able to pay "per use" for the product. In this case, > it would mean

validating "per use" licensing

2012-07-12 Thread Dr. Hawkins
I want people to be able to pay "per use" for the product. In this case, it would mean per client file. My thinking is that I embed a large random string in the source code of their copy, and keep a copy of the string myself. When a license is purchased, it would be for a particular last name an

Re: Phidgets and externals

2012-07-12 Thread Thomas McGrath III
One of the scripts i was using to connect to the arduino in OSX: Global gThePort on mouseUp put getMacUSBDriver() into gThePort if last char of gThePort is cr then delete last char of gThePort replace "tty" with "cu" in gThePort put gThePort into thePort put quote & thePort & qu

RE: [ANN] lcStackDiff Version 1.0.0 Released

2012-07-12 Thread Ralph DiMola
I want to echo the SQLiteAdmin being an invaluable tool for the iOS(waiting for approval) and Android app that I have developed. The app is SQLite based and I use it all the time. Thanks Peter!!! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Mess

Re: [ANN] lcStackDiff Version 1.0.0 Released

2012-07-12 Thread Peter Haworth
Hi Matthias, Thanks for leltting me know, I'll look into it. Thanks also for donating, I'll email your license code shortly. And yet another thanks for the mention of SQLiteAdmin in connection with your iOS app, glad it helped. Pete lcSQL Software On Wed, Jul 11, 2012 a

Re: Phidgets and externals

2012-07-12 Thread Mike Bonner
What version of lc are you using? If pre 5.5 then thats most likely the problem. I'll save it as a legacy in just a sec, then you can try again *same link as before*. Ok, saved and synced should be there for you. Though honestly theres not much to the stack, just a quicky serial stack. Also be

Re: Phidgets and externals

2012-07-12 Thread Bob Earp
Skip, please do not go off of the list with your questions as there are others out there that need educating, me being one of them. Mike, thanks for the sample stack and sketch. I'm running on OS X and the sketch came through OK, but the stack was what looked like a mixture of text and bin

OT: Android video game console?

2012-07-12 Thread dirk cleenwerck
http://www.kickstarter.com/projects/ouya/ouya-a-new-kind-of-video-game-console Looks interesting to me. I wonder if we will be able to use Livecode to program for it. Dirk Cleenwerck ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Scrolling to beginning of selected line in a text field. - SOLVED

2012-07-12 Thread James Hale
It might be a kludge but I have solved my select line display dilemma. Instead of just a "select line x of..." I have added... Select word 1 of line x of Put the vscroll of field "the field" into the_scroll Select line x of Set the vscroll of field "the field" to the_scroll