Send appleevent to livecode doesnt work ?

2012-12-07 Thread Serge Brami
I want to send an Applevent to another livecode app running on an other Mac on a local network. for example on the Mac 1 a button with the script : "on mouseup send "hello" to "Mac2:livecode" end mouseup" on the Mac 2 "on appleevent type if type is "aevt" then put "hello"

Re: iOS Scrolling - need a cookbook

2012-12-07 Thread J. Landman Gay
On 12/7/12 12:17 PM, Graham Samuel wrote: Fumbling around, I have made scrollers work in the past, but I realise that I don't know what I'm doing, so success has come by luck, mostly. What I need is a nice clear "how to" description of dealing with iOS scrolling. It may well exist, but so far i

Re: Password Field - Mark Schonewille

2012-12-07 Thread J. Landman Gay
On 12/7/12 6:57 PM, Andrew Kluthe wrote: Hello, I have been using Mark Schonewille's password field in some of my stacks for a while. So far it has done the trick, but I found out recently that it doesn't like to play well with the number keys on the right of the keyboard. Are there any other pa

Re: GLX2 3.0.13 now available

2012-12-07 Thread Mark Wieder
Yo- >> I don't see it there (yet?). The link should work now. I accidentally uploaded an alpha build instead of the real one the other day, and pulled it until I could get the real one up. And if you're one of the dozen or so folks who jumped the gun and downloaded the alpha before I had a chanc

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Mark Wieder
Roger- Or try a one-liner: on otherHandler theta   do "put" && sOption & "(" & theta & ")" end otherHandler -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, u

Password Field - Mark Schonewille

2012-12-07 Thread Andrew Kluthe
Hello, I have been using Mark Schonewille's password field in some of my stacks for a while. So far it has done the trick, but I found out recently that it doesn't like to play well with the number keys on the right of the keyboard. Are there any other password fields I could leverage or some basi

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
Thanks again, Bernd. These little subtleties quite often escape me! And thanks also to Paul, Jerry and Jacque for sending me in the right direction Cheers, Roger On Dec 7, 2012, at 4:22 PM, BNig wrote: > Hi Roger, > > nothing really to understand. Sorry for the parentheses around sOption. Th

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread BNig
Hi Roger, nothing really to understand. Sorry for the parentheses around sOption. They are not necessary. I was playing around with the code until I saw that you write to the message box twice. once in the "do it" part and second in the "put cr & it&& the result after message" part. at the end y

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
Thank you, Bernd. Seems to work. Now to understand. Cheers, Roger On Dec 7, 2012, at 4:05 PM, BNig wrote: > on otherHandler theta > get "put the" && (sOption) && "of" && theta > do it > put cr & it&& the result after message > end otherHandler

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread BNig
Hi Roger, try: -- on otherHandler theta    get "put the" && (sOption) && "of" && theta     do it    put cr & it&& the result after message end otherHandler - I think you overwrite the "do it" with the put line Kind regards Bernd -- View this message in context: http:/

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Jerry Jensen
I tried it too. Didn't work. Once again, I learn to test before posting. On Dec 7, 2012, at 3:31 PM, Roger Guay wrote: > Good thought, but it doesn't work either. And Idid try moving the parens > around. > > > On Dec 7, 2012, at 3:21 PM, Jerry Jensen wrote: > >> Maybe parens like >> get "(p

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
Good thought, but it doesn't work either. And Idid try moving the parens around. On Dec 7, 2012, at 3:21 PM, Jerry Jensen wrote: > Maybe parens like > get "(put the" && sOption && "of" && theta & ")" > would help? > (untested) ___ use-livecode maili

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Jerry Jensen
On Dec 7, 2012, at 3:02 PM, Roger Guay wrote: > Very close but still no cigar. > > I did the following to monitor what was happening > > on thisHandler > put the label of btn "myOptionMenu" into sOption > end thisHandler > > on otherHandler theta > get "put the" && sOption && "of" && theta >

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
Very close but still no cigar. I did the following to monitor what was happening on thisHandler put the label of btn "myOptionMenu" into sOption end thisHandler on otherHandler theta get "put the" && sOption && "of" && theta do it put it&&the result end otherHandler When I execute t

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread J. Landman Gay
On 12/7/12 4:32 PM, J. Landman Gay wrote: Try: local sOption on thisHandler put the label of btn "myOptiionMenu" into sOption end test on otherHandler theta do "put the" && sOption && "of" && theta end otherHandler Or shorter, to avoid the script local variable, read the option button

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread J. Landman Gay
Try: local sOption on thisHandler put the label of btn "myOptiionMenu" into sOption end test on otherHandler theta do "put the" && sOption && "of" && theta end otherHandler On 12/7/12 4:02 PM, Roger Guay wrote: Thanks for your help, Paul. Your second script is more like what I need. BUT,

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
Thanks for your help, Paul. Your second script is more like what I need. BUT, I need to capture the bare function to be used with angles that are derived from some other script. Something like: local theTrigFctn on thisHandler put the label of btn "myOptiionMenu" into tOption switch tOption

Re: Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Paul Hibbert
Roger, Is this what you are looking for? If your script is triggered by a change of the option menu, then this format should work… on menuPick pItemName switch pItemName case "sin" put the sin of fld 1 into fld 2 break case "cos" put the cos of fld 1 in

Re: Date bug?

2012-12-07 Thread BNig
Hi Mats, as Mike explained. Guessing from your name I assume you live in Sweden The end of daylight saving time in 2010 was 10/31/10 The end of daylight saving time in 2012 was 10/28/12 That would explain the different behavior you see. Kind regards Bernd -- View this message in context:

Capture the Trig Function from an Option Menu Button

2012-12-07 Thread Roger Guay
I know this is probably a stupid question, but I can't seem to make it work: I have an Option Menu button with sin, cos, tan as menu Items. I want my card script to take the label of that button, and then perform the trig function with that label. I've tried every thing I can think of to "get",

Re: Date bug?

2012-12-07 Thread Mike Bonner
There is strangeness sometimes due to system settings for daylight savings, etc. Since "10/30/10" is actually determined as "10/30/10 12:00 AM" an hours difference can cause problems similar to what you're seeing. Why does it behave this way on some dates and not others? No clue. If you want to

Date bug

2012-12-07 Thread Melitón Cardona
Confirmed with LC 5.5.3. Seems to be a bug. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Date bug?

2012-12-07 Thread Mats Åström
I have a simple script that adds one day to a date and returns the next date. I expect this to return 11/1/12, and it does: put"10/31/12"intoaDate convertaDate toseconds add 86400 to aDate convert aDate to short date return aDate But change "10/31/12" to "10/31/10" - it returns 10/31/10 It does n

iOS Scrolling - need a cookbook

2012-12-07 Thread Graham Samuel
I'm confused about scrolling. I looked at the iOS release notes for LC5.5.3. They say > Out-of-bounds group scrolling > > Two properties unboundedHScroll and unboundedVScroll now enable you to > configure whether scroll values for a group can be set to values outside of > the actual content bo

LiveCodeJournal.com forum registration

2012-12-07 Thread Richard Gaskin
A couple members of our community recently wrote me asking why their IP address has been banned from the forums at LiveCodeJournal.com, preventing them from registering. We've resolved the issue via email, and they're now able to log in. If you've experienced this yourself, please accept my ap

AW: How to check for the gm version?

2012-12-07 Thread Tiemo Hollmann TB
Ahh, thanks > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im > Auftrag von Pierre Sahores > Gesendet: Freitag, 7. Dezember 2012 13:57 > An: How to use LiveCode > Betreff: Re: How to check for the gm version? > > Timeo, > > Info available a

Re: How to check for the gm version?

2012-12-07 Thread Pierre Sahores
Timeo, Info available at the bottom of the release notes (menu Help) so it's easy to make the relation with build numbers. Best, Pierre Le 7 déc. 2012 à 13:23, Tiemo Hollmann TB a écrit : > Bonjour Pierre, > thanks for your Info. > For the future - where did you get the relation between "gm"

AW: How to check for the gm version?

2012-12-07 Thread Tiemo Hollmann TB
Bonjour Pierre, thanks for your Info. For the future - where did you get the relation between "gm" and "build" from? In my "about livecode" no "gm" is shown. Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im > Auftrag von Pierre Sahores

Re: How to check for the gm version?

2012-12-07 Thread Pierre Sahores
Hi Tiemo, The last version (GM2) is known as build 1497 (see the "about livecode" menu item). Best, Pierre Le 7 déc. 2012 à 10:45, Tiemo Hollmann TB a écrit : > Hello, > > I have LC 5.5.3, build 1497 installed and know that there is a bug fix in > version 5.5.3-GM-2 > > How can I check, whi

Re: QT player and continuous play of a list of songs problem

2012-12-07 Thread BNig
Hi Mark, I tried your code with 5 files and it worked repeatedly without loss of audio. Sorry, no idea why you see that. Kind regards Bernd Mark Stuart wrote > But I can't resolve the no audio problem when the next song is set to > play. > Any ideas on that? -- View this message in context

How to check for the gm version?

2012-12-07 Thread Tiemo Hollmann TB
Hello, I have LC 5.5.3, build 1497 installed and know that there is a bug fix in version 5.5.3-GM-2 How can I check, which GM I have installed, because it isn't shown. Is there somewhere a relation table between build and gm? Thanks Tiemo ___ u