Re: stackfileversion and locking 6.5.2

2015-01-30 Thread Eric Corbett
I had to do this as well. In the end it was a group that had two fields in it. I assumed it was a field property that I either could not find or could not change and submitted a bug report. Since my problem was present in 6.7. or 7, nothing was investigated. e On Jan 30, 2015, at 7:27 AM,

Re: stackfileversion and locking 6.5.2

2015-01-30 Thread Mike Bonner
Even setting the filename to empty might be enough. (this way, any references in the stack that use the stackname won't be broken). When this is done, when you save it, rather than just saving it brings up the filename dialog as if it were a new stack, and if you try to save it in the same place

Re: Unicode

2015-01-30 Thread Dave Kilroy
Update: Paul Depuis has submitted an enhancement request, commented on the Unicode blog posting and got a reply from Fraser (who suggested a guessEncoding function). More details at http://forums.livecode.com/viewtopic.php?f=68t=22949p=118538#p118538 - Some are born coders, some achieve

Re: Unicode

2015-01-30 Thread Peter Haworth
Thanks Dave and Paul for the QCC report. The ability to automatically detect encoding would really make the it just works phrase be more in line with reality, even if it's not right 100% of the time. It would be interesting to know how many of the possible encoding cases might cause

Re: stackfileversion and locking 6.5.2

2015-01-30 Thread Geoff Canyon
So far I've determined that stripping out every line of code from the stack doesn't fix the problem. Deleting every control does. Now I'm going through to figure out which control is poisonous to 6.5.2 On Fri, Jan 30, 2015 at 3:40 AM, Geoff Canyon gcan...@gmail.com wrote: I have a stack that

Re: Refactoring

2015-01-30 Thread Earthednet-wp
Thanks Geoff, for the clarification. I agree with you. I was thinking more in general, and didn't mean to imply any criticism. As I get more familiar with livecode and it's sometimes unexpected (to me as one more used to conventional syntax) I am growing to love how quickly I can implement my

Re: stackfileversion and locking 6.5.2

2015-01-30 Thread tbodine
Is it feasible to make a handler for stacks being opened that would detect old version stacks and open them copies of them as untitled in the new stack format while leaving the legacy stack as is? -- Tom Bodine -- View this message in context:

Re: Unicode

2015-01-30 Thread Paul Dupuis
The Quality Center entry is http://quality.runrev.com/show_bug.cgi?id=14474 Personally, I really like Fraser's guessEncoding(somefile) vs my suggested textEncoding(somefile) as it reminds the developer it is an algorithmic and educated guess, but a guess none the less.

Sending Google Script Commands via POST?

2015-01-30 Thread JOHN PATTEN
Hi All! I know LiveCode can send html post commands. Is is possible to send a post command that activates a Google Script? There is a Google Script that allows you to create a basic web form to upload files to a specific Google Drive folder. It is available here:

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Alejandro Tejada
Hi Mike, Michael Doub wrote In my implementation I put all of the thumbnails into an array. If there are no thumbnails found, the array is empty. Many Thanks for including this function in your library. :D In this way, everyone will find it and use in their programs. By the way, I noticed

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Michael Doub
Ethan, I not sure that I understand your question but here is a example of how to use the routine found in the MasterLibrary: put __getThumbs (pfilepath ) into imageArray if imageArray is not an array then answer No thumbnails else create image set the text of it to imageArray[1]

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-30 Thread Phil Davis
Has anyone installed LC 7 in a shared hosting account with a provider other than Dreamhost? If so, would you be willing to put the following script on your server and let Dreamhost support (and me) use it in some tests for the next few days? Dreamhost isn't sure the speed lag is their problem,

Re: stackfileversion and locking 6.5.2

2015-01-30 Thread Geoff Canyon
well that didn't take long :-P It turns out that there is one field in the stack -- delete the contents of that field, and the stack opens fine in 6.5.2. I copied the contents of the field and pasted into Pages, then deleted the contents of the field, and the file opened fine in 6.5.2. I then

Datagrid Selection Toggle

2015-01-30 Thread Bob Sneidar
Anyone ever want to have data grid table selections toggle without making the user hold the shift key down? on selectionChanged theSelectedItem put the savedHilitedLines of me into theHilitedLines if theSelectedItem is among the items of theHilitedLines then set wholeMatches to

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Alejandro Tejada
Hi Ethan, Ethan Lish wrote On a related note, can this function be used/expanded to create a thumbnail image (tile) of a website. Looking to use this static image as a button to launch the full site in another card/browser Code examples welcome ;-) Maybe scripts posted in this thread

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Michael Doub
Thanks for the pointer. The when you open the stack it checks my dropbox to see if there is an update available and turns the version button blue. You can then click the blue version button and download the latest version. -= Mike On 1/30/15 1:35 PM, Alejandro Tejada wrote: Hi Mike,

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Ethan Lish
Hey On a related note, can this function be used/expanded to create a thumbnail image (tile) of a website. Looking to use this static image as a button to launch the full site in another card/browser Code examples welcome ;-) E — Ethan@Lish.net240.876.1389 On Fri, Jan 30, 2015 at

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Michael Doub
Ethan, Clearly I missed was you were asking. It seems that you are trying to capture that initial image of the website within a browser. I would be inclined to just take a screen shapshot and resize it. If you want to do this within livecode you are going to need to create a browser

Re: Invisible character treated as word?

2015-01-30 Thread J. Landman Gay
On 1/30/2015 6:50 AM, David Epstein wrote: But since it seems that fonts and systems will differ as to which characters are actually invisible, I will need to purge even harmless visible characters. So my current plan is to use this function: function scrubbedText txt -- For tab-delimited

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-30 Thread Richard Gaskin
Can RunRev set up both engines on On-Rev, at least long enough to run this test?  Richard Gaskin Fourth World Systems http://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Invisible character treated as word?

2015-01-30 Thread Thierry Douez
function scrubbedText txt repeat for each char k in txt if charToNum(k) 31 or charToNum(k) 127 then put k after hold else put space after hold end repea set itemDelimiter to tab repeat for each line k in hold repeat for each item i in k put word 1 to -1 of i

stackfileversion and locking 6.5.2

2015-01-30 Thread Geoff Canyon
I have a stack that I moved to 7.0.2 for a few days without thinking, and I want to move it back. I tried this in the message box: set the stackfileversion to 5.5;lock messages;save stack versionProblem;close stack versionProblem and after that if I open it in 6.5.2 or 6.7, they lock up with

Re: Refactoring

2015-01-30 Thread Geoff Canyon
To me the three line version is far more clear than the ten line version. Shorter wasn't my goal, just (in this case) a really good indicator of the improvement in clarity. On Thu, Jan 29, 2015 at 11:51 PM, William Prothero proth...@earthednet.org wrote: Nice, but personally, I value clarity

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Malte Brill
Hi Al, sorry to chime in late. I was on the road without any iNet access. The last iteration of the script including numToByte and setting the case sensitive to true indeed does work extracting the thumbnail image. And it is incredibly fast. :-) I still have troubles to see if there is no

Re: extracting the thumbnail from digital photos?

2015-01-30 Thread Mike Doub
In my implementation I put all of the thumbnails into an array. If there are no thumbnails found, the array is empty. Mike On Friday, January 30, 2015, Malte Brill revolut...@derbrill.de wrote: Hi Al, sorry to chime in late. I was on the road without any iNet access. The last iteration of

Re: Unicode

2015-01-30 Thread Dave Kilroy
Leaving the Caribbean alone for a bit ... Fraser wrote a couple of blog posts on Unicode back in March and April 2014: http://livecode.com/blog/2014/03/31/examining-unicode-part-i-the-dissection/ http://livecode.com/blog/2014/04/02/examining-unicode-part-ii-digesting-text/ The second of these

Re: Invisible character treated as word?

2015-01-30 Thread David Epstein
Thanks for the helpful responses on this question. A complication is that while I want to get rid of invisible characters that cause seeming-numbers not to be numbers, I don't want to exclude all non-numbers from my table. But since it seems that fonts and systems will differ as to which