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"
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
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
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
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
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
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
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
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
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:/
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
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
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
>
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
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
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,
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
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
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:
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",
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
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
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
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
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
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
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"
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
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
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
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
31 matches
Mail list logo