Re: Problem with setting Password with LC 5.5.3

2012-12-10 Thread J. Landman Gay
On 12/10/12 12:28 PM, Charles Szasz wrote: I have a project that has a launcher stack and an app stack. I use the following script in the message box to set the passKey as per documentation: set the passkey of this stack "abcd" This is probably a typo, but it's missing the "to". This is fol

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread J. Landman Gay
On 12/10/12 4:38 PM, Robert Sneidar wrote: Value forces LC to evaluate the expression. Also, you can do something like, "value("the name of me", card 1)". Only other thing I can think of is that "do" compiles a statement at runtime. That means if you have a LOT of do statements running in a loop,

Re: Why Does "remove" Actually "delete"?

2012-12-10 Thread Paul Hibbert
On 2012-12-10, at 12:46 PM, Scott Rossi wrote: > I've been trying to figure out how to "place" a group by script. It took me > a while to figure out that "place groupŠ" doesn't work, but instead "place > backgroundŠ". > > Now when I execute "remove bkgnd xyz from this cd" the group ends up gett

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Roger Guay
Oh yes, I know. Thanks very much! On Dec 10, 2012, at 2:11 PM, Jim Hurley wrote: > And Roger, in my code the positive y axis is the usual screen y > axis--positive down. > > If you want to use the traditional cartesian y-axis--positive up-- change y0 > + y to y0 - y > > Otherwise you trig

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Robert Sneidar
Value forces LC to evaluate the expression. Also, you can do something like, "value("the name of me", card 1)". Only other thing I can think of is that "do" compiles a statement at runtime. That means if you have a LOT of do statements running in a loop, there may be a performance hit. Not sure

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
Thanks Dick. I hadn't thought about using the Value function. Interesting. Do you have any thoughts on the relative merits of Do vs. Value? I could also have used do "put " & tTrigFunction & "(" & tAngle & ") into y" And Roger, in my code the positive y axis is the usual screen y

ZLib DEFLATE

2012-12-10 Thread Jan Schenkel
Hi all, I'm working on support in Quartam PDF Library for alpha-channels in PNG images. Has anyone figured out a pure-LiveCode implementation of the ZLib Deflate/Inflate algorithm? John Craig kindly offered a way to tweak the output of the compress function to match the ZLib deflate format. And

Re: Why Does "remove" Actually "delete"?

2012-12-10 Thread Robert Sneidar
The dictionary shows remove group as the correct syntax. Background may be a synonym for group, I don't know. What I do know however, is that creating a group, naming it "bobtest", checking "behave like a background" and "shared group", placing the group on a second card, going to the first card

Re: [OT] Darling

2012-12-10 Thread Robert Sneidar
If it is vey equal, it won't amount to much. After seeing all the limitations of Wine, I decided it wouldn't me of much use to me on OS X. There is a lot going on behind the scenes when an app launches in Mac OS X, especially if you need access to things like audio codecs, graphics, secured loca

[OT] Darling

2012-12-10 Thread Richmond
Oh! the equivalent of WINE for Mac OS programs on Linux. http://darling.dolezel.info/en/Darling ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Why Does "remove" Actually "delete"?

2012-12-10 Thread Scott Rossi
I've been trying to figure out how to "place" a group by script. It took me a while to figure out that "place groupŠ" doesn't work, but instead "place backgroundŠ". Now when I execute "remove bkgnd xyz from this cd" the group ends up getting deleted from the stack, even though the group resides o

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Roger Guay
Thanks, Jim. I would never have caught that! On Dec 10, 2012, at 11:37 AM, Jim Hurley wrote: > Roger, > > One caveat. This is a good exampe the caution one must exercise in using the > Do. > > Instead of: > >>> replace "sine" with "sin" in tTrigFunction >>> replace "cosine" with "cos" in

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
Roger, One caveat. This is a good exampe the caution one must exercise in using the Do. Instead of: >> replace "sine" with "sin" in tTrigFunction >> replace "cosine" with "cos" in tTrigFunction >> replace "tangent" with "tan" in tTrigFunction Use: >> replace "cosine" with "cos" in tTrigFu

Re: Mobile sockets crowd funding opportunity

2012-12-10 Thread Monte Goulding
Thanks for jumping in! -- M E R Goulding Software development services mergExt - There's an external for that! On 11/12/2012, at 2:59 AM, Matthias Rebbe wrote: > Me too. Joined already on Saturday. ;) > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.31 > Tel +49.160.550446

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Dick Kriesel
On Dec 10, 2012, at 10:40 AM, Roger Guay wrote: > Question: Is this essentially a "Do" statement in a clever disguise? Yes, although the "value" function can do more than it does in this example (see the dictionary for details). -- Dick ___ use-livec

[ANN] lcSTackBrowser V 1.2.0 Released

2012-12-10 Thread Peter Haworth
Version 1.1.3 of lcStackBrowser, a plugin replacement for the Livecode IDE Application Browser is now available here . This version includes several significant enhancements. *Live Find* A new "Live Find" field at the top of the lcStackBrowser

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Roger Guay
Question: Is this essentially a "Do" statement in a clever disguise? On Dec 10, 2012, at 10:31 AM, Dick Kriesel wrote: > > On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it >> > > Hi, Jim and Roger. > >

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Roger Guay
Ah yes, I had a vague recollection of this but couldn't quite get it right. I love it! Thanks, Roger On Dec 10, 2012, at 10:31 AM, Dick Kriesel wrote: > > On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > >> get "put the " & tTrigFunction & " of " & tAngle & " into y " >> do it

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Dick Kriesel
On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > get "put the " & tTrigFunction & " of " & tAngle & " into y " > do it > Hi, Jim and Roger. If you like more concise code, you can code the above like this: put value( tTrigFunction & "(" & tAngle & ")" ) into y -- Dick ___

Problem with setting Password with LC 5.5.3

2012-12-10 Thread Charles Szasz
I have a project that has a launcher stack and an app stack. I use the following script in the message box to set the passKey as per documentation: set the passkey of this stack "abcd" This is followed by saving the stack and then closing the stack and removing it memory. I also tried quitting

Re: DB Lib

2012-12-10 Thread Mark Wieder
Andre Garzia writes: > Thanks for the kind words. My English improved and my Portuguese is getting > worse everyday. No worries. Your English is getting better than mine and my Portuguese is already worse than yours. -- Mark Wieder mwie...@ahsoftware.net __

Custom Controls - Show them off

2012-12-10 Thread Andrew Kluthe
Hey there, I have used some of the droptools custom controls and found some on revOnline. Are there any other websites that you can find sets of custom controls built by livecode developers? I recall not long ago seeing an "on/off" toggle switch (similar to what you find in various mobile interfa

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Roger Guay
This script is amazingly fast! And so are you, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. Thanks very much, Roger On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: > It turns o

"Could not copy splash"

2012-12-10 Thread Mike Kerner
So I was messing with a new ios app today. I created a really simple splash screen, but when I try to create the standalone, I get an error "Could not copy splash" (and the path of the .png for the splash screen. If I double-click on the file, it opens just fine, so any ideas on what this might b

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
It turns out that Do is fast enough. Here is the Do script: (The script might read a litle better by using "x" in the repeat loop instead of "i".) on mouseUp put the label of btn "myOptionMenu" into tTrigFunction --It might be necessary to take care in using the following replacements

Re: Password Field - Mark Schonewille

2012-12-10 Thread Jim Schaubeck
Very clever!!   __   jim schaubeck   jimschaub...@yahoo.com/ 714.321.4499 From: J. Landman Gay To: How to use LiveCode Sent: Fri

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
Sorry, Roger, I guess I forgot about that part. Try the script below: >> On Dec 9, 2012, at 8:47 PM, Jim Hurley > > wrote: >> In Roger Guay's problem it is a two step process, (1) get the value for the >> trig function and then (2) a statement, and them combine them into a printed >> statemen

Re: Mobile sockets crowd funding opportunity

2012-12-10 Thread Matthias Rebbe
Me too. Joined already on Saturday. ;) -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.31 Tel +49.160.5504462 -- SkypeName:matthiasrebbe Am 10.12.2012 um 16:50 schrieb Mike Kerner : > Just in case anybody over here was leery of being an early in, we're in. > > > On Sat, Dec 8, 201

Re: Mobile sockets crowd funding opportunity

2012-12-10 Thread Mike Kerner
Just in case anybody over here was leery of being an early in, we're in. On Sat, Dec 8, 2012 at 5:09 AM, Monte Goulding wrote: > Hi LiveCoders > > A number of LiveCode developers need sockets on iOS and android. The > subject of developing an external for this feature came up recently on the > L

Documentation - Was -"What are hSscroll, vScroll really? (Richmond)"

2012-12-10 Thread Francis Nugent Dixon
Hi from Sunny (would you believe it ?) Brittany Richmond wrote : > The current documentation DOES contain a lot of good, a lot that is > obscure, and a fair bit missing or incomplete. Here's my 2 cents …… I would like to second all that Richmond has said concerning "DOCUMENTATION", but I would