Re: Radio / checkbox button scaloing

2013-08-27 Thread Christer Pyyhtiä
Does not work from script either. Can you demonstrate it? I think the best way is to build own tick box system. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Wildcards ???

2013-08-27 Thread Richmond
On 08/27/2013 05:53 AM, Kay C Lan wrote: If you really want to do Search Replace based on patterns, you could write your own script in LC using matchText() but it would probably be faster and easier to confirm that correct replaces were taking place if, on OS X, you used the FREE TextWrangler

Re: How to build webcam application

2013-08-27 Thread paolo mazza
Björnke to set up a live videostreaming you can use these services (twitch.tv, livestream.com ..) or manage a streaming server by yourself ( ie Wowza). But the point is, how can you have a LiveCode desktop application to show a live video streaming? AFAIK the old QuickTime player can not manage

Search Replace with lf and/cr

2013-08-27 Thread Richmond
This is a really hard nut to crack: I have a very long script that features lines that end like this: numToChar(2325)) and lines that end like this numToChar(2325)) the top example is followed by a line that starts with set, and the lower example is followed by break: numToChar(2325))

Variable scope in Server mode

2013-08-27 Thread Alex Tweedly
I don't understand the scope rules for variables in LCServer (either that or I've found a bug that is confusing me :-) I expected that variables which were (implicitly) declared and set within a script would be available within that script, and within handlers of that script (i.e. like

Re: Search Replace with lf and/cr

2013-08-27 Thread Richmond
Hey: nothing new round these parts: Richmond replying to his own message. This is one of those moments when I want to shout Hallelujah from the roof tops . . . I have just discovered KOMODO EDIT: http://www.activestate.com/komodo-edit and it really rocked my socks as it allows a multiline

Re: Search Replace with lf and/cr

2013-08-27 Thread Mark Schonewille
Hi Richmond, I don't understand why this is a poblem and why you would try this in LibreOffice. put the script of myControl into myScript replace ) break with ) cr beep cr break in myScript set the script of myControl to myScript put the result into rslt if rslt is not empty then beep

Re: Search Replace with lf and/cr

2013-08-27 Thread Richmond
On 08/27/2013 12:21 PM, Mark Schonewille wrote: Hi Richmond, I don't understand why this is a poblem and why you would try this in LibreOffice. put the script of myControl into myScript replace ) break with ) cr beep cr break in myScript set the script of myControl to myScript put the

Strange behavior of files()

2013-08-27 Thread Michael Kristensen
Hi there I have a folder with 1347 jpg files they are sequently named 0001.JPG 0002.JPG 0003.JPG ... 1345.JPG 1346.JPG 1347.JPG Strangely the files() function return a list omitting the first two and the last two. Thus the list start with

Sessions on LC Server

2013-08-27 Thread Alex Tweedly
I'm trying to get sessions working on LC Server with no luck. I'm using code from http://lists.runrev.com/pipermail/use-livecode/2012-January/166885.html which was where Malte got this to work OK - so it ought to be working code. (I added the line to print out the version - but it failed

Re: Sessions on LC Server

2013-08-27 Thread Ethan Lish
Alex I also struggled with this and found I had to move session control earlier in the stack. I have a dirty code sample if you want to take a look E et...@lish.net 240.449.8270 Sent from MyPhone On Aug 27, 2013, at 8:08 AM, Alex Tweedly a...@tweedly.net wrote: I'm trying to get sessions

Re: Sessions on LC Server

2013-08-27 Thread Alex Tweedly
Yes please; my example fails even if start session is the first statement in my .lc file :-) you could email it direct to me at a...@tweedly.net ... Are you using on-rev ? which machine ? which engine version ? Thanks -- Alex. On 27/08/2013 13:16, Ethan Lish wrote: Alex I also struggled

Re: Radio / checkbox button scaloing

2013-08-27 Thread dunbarx
Something wrong with what you wrote Christer: set width of button yourButton to the formattedWidth of button yourButton This will take the width required to show the name of the button and make the button just that wide. Note that if you have a label applied to the button, it will take

Re: Variable scope in Server mode

2013-08-27 Thread Martin Koob
I think you have to declare the variable as a local first and then assign it. Then I think it will be available within subsequent handlers. ie. ?livecode local lang put 123 into lang[a] put 456 into lang[b] Martin -- View this message in context:

Re: How to build webcam application

2013-08-27 Thread Rick Harrison
Hi there, The easy way out is to use: http://www.ustream.tv/ That with the revBrowser and you are done! Good luck! Rick On Aug 27, 2013, at 3:50 AM, paolo mazza mazzapaoloit...@gmail.com wrote: Björnke to set up a live videostreaming you can use these services (twitch.tv, livestream.com

Re: The encoding property

2013-08-27 Thread Richard Gaskin
Peter Haworth wrote: This is for the next release of my lcStackBrowser plugin. It will include the ability to display and edit properties within the main lcStackBrowser window. As part of that functionality, users can define property groups to include whatever properties they wish. In turn,

Re: Strange behavior of files()

2013-08-27 Thread Richard Gaskin
Michael Kristensen wrote: I have a folder with 1347 jpg files they are sequently named 0001.JPG 0002.JPG 0003.JPG ... 1345.JPG 1346.JPG 1347.JPG Strangely the files() function return a list omitting the first two and the last two. Thus

Re: The encoding property

2013-08-27 Thread Peter Haworth
On Mon, Aug 26, 2013 at 2:22 PM, Peter Haworth p...@lcsql.com wrote: I've entered bug# 11129 at the QCC. The fix is already in awaiting build status Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: The encoding property

2013-08-27 Thread Peter Haworth
On Tue, Aug 27, 2013 at 7:19 AM, Richard Gaskin ambassa...@fourthworld.comwrote: I wonder if perhaps you could split the difference, and have your property-checking routine done during development to build a list that's used at runtime. That would keep runtime lean and efficient, and unless

Re: [ANN] Library for scripting MS Excel with LC - Beta Testers needed

2013-08-27 Thread zryip theSlug
Dear LiveCode Community and Beta Testers, A new update concerning the Excel Library. For the beta testers and for everyone interested by the library, we have created a special page on our website, where we are communicating about our projects and their progresses. Feel free to have a look to our

LiveCode Server, can it read local (on the server) drives?

2013-08-27 Thread Roger Eller
Are we limited to access only files in the wwwroot? I wish to have the server perform a SQL query to a database of file paths, and follow that request with an existence verification to a local drive of that same server. ~Roger ___ use-livecode mailing

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-27 Thread Richard Gaskin
Roger Eller wrote: Are we limited to access only files in the wwwroot? I wish to have the server perform a SQL query to a database of file paths, and follow that request with an existence verification to a local drive of that same server. AFAIK the file I/O in LC Server is every bit as

Re: LiveCode Server, can it read local (on the server) drives?

2013-08-27 Thread Roger Eller
Perfect! I'm working to optimize the verification pass. Thanks Richard. Additionally, I want to pass a list to be queried and verified, instead of one line at a time, passing parameters with GET. Any recommendations on that front? ~Roger On Aug 27, 2013 11:03 PM, Richard Gaskin

iOS and the defaultfolder

2013-08-27 Thread Ralph DiMola
This works in the simulator but not on the device.. --- Set the defaultfolder to the documents folder --- There is nothing in the result but==the defaultfolder to the documents folder This does work --- Set the defaultfolder to the engine folder --- I can also

iOS and the defaultfolder

2013-08-27 Thread Ralph DiMola
Well, well, well. When one set the default folder to any place in the the documents folder a /Private get prepended to the front of the default folder(but not on the simulator). Although the defaultfolder to the documents folder the defaultfolder is where you want to be to see your apps