revTalk for Retards
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
revTalk for Retards
hello
I am new to rev and new to programming and was wondering if there is a book or something on how to script in revTalk. You know, like revTalk for retards or something equally insulting. Just one resouce where I can learn all the basics and some trade secrets.
But for right now what I need to know is how to make it so that the same thing happends on enter as on mouseUp where table cells are filled in.
Any help would be appreciated.
Thanks,
Mario
I am new to rev and new to programming and was wondering if there is a book or something on how to script in revTalk. You know, like revTalk for retards or something equally insulting. Just one resouce where I can learn all the basics and some trade secrets.
But for right now what I need to know is how to make it so that the same thing happends on enter as on mouseUp where table cells are filled in.
Any help would be appreciated.
Thanks,
Mario
Re: revTalk for Retards
Hi Mario,
I doubt that there *is* or ever will be a single resource to learn RevTalk... or at least I haven't found anything close to it yet. Outside of the User Guide, here are some resources that should be helpful to you.
Lot's of good stuff:
http://www.runrev.com/developers/lesson ... tutorials/
My favorite:
http://www.runrev.com/developers/lesson ... nferences/
Dan Shafer's book: "Software At the Speed Of Thought"
It won't cover everything, but it will get you pretty far down the path so that many of the other resources will start making better sense.
Printed Version: https://secure.runrev.com/store/browse/ ... OKSASTV001
Ebook: https://secure.runrev.com/store/browse/ ... OKSASTEV01
Sorry, but I'm not sure I know how to answer the last question you posted. Are you asking about a table field or common edit field?
I'm sure a guru will come by that will be of help.
HTH,
Doc
I doubt that there *is* or ever will be a single resource to learn RevTalk... or at least I haven't found anything close to it yet. Outside of the User Guide, here are some resources that should be helpful to you.
Lot's of good stuff:
http://www.runrev.com/developers/lesson ... tutorials/
My favorite:
http://www.runrev.com/developers/lesson ... nferences/
Dan Shafer's book: "Software At the Speed Of Thought"
It won't cover everything, but it will get you pretty far down the path so that many of the other resources will start making better sense.
Printed Version: https://secure.runrev.com/store/browse/ ... OKSASTV001
Ebook: https://secure.runrev.com/store/browse/ ... OKSASTEV01
Sorry, but I'm not sure I know how to answer the last question you posted. Are you asking about a table field or common edit field?
I'm sure a guru will come by that will be of help.
HTH,
Doc
Re: revTalk for Retards
Hi Mario,
I have put together a list of links for beginners on my blog. You can find it here.
Best,
Mark
I have put together a list of links for beginners on my blog. You can find it here.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: revTalk for Retards
Hi.
Do you mean "mouseEnter" as well as "mouseUp"?
Do you mean "mouseEnter" as well as "mouseUp"?
Re: revTalk for Retards
I mean when the user types something in a field and presses the Enter Key as well as when they click the button, here is some code to clairify:dunbarx wrote:Hi.
Do you mean "mouseEnter" as well as "mouseUp"?
Code: Select all
on mouseUp
set the itemdelimiter to tab
put field "freqField" *(81/80) & "hz" into item 3 line 2 of field "intervalTableField"
end mouseUp
Peace!
Re: revTalk for Retards
Equiarch,
You could, for instance, put the following script into the field script:
Make sure to replace btn x with a correct reference to your button.
Best regards,
Mark
You could, for instance, put the following script into the field script:
Code: Select all
on enterInField
send "mouseUp" to btn x
end enterInField
on returnInField
enterInField
end returnInField
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: revTalk for Retards
Thank you Mark for you suggestion, but it does not seem to work. Any further help would be appreciated.Mark wrote:Equiarch,
You could, for instance, put the following script into the field script:Make sure to replace btn x with a correct reference to your button.Code: Select all
on enterInField send "mouseUp" to btn x end enterInField on returnInField enterInField end returnInField
Best regards,
Mark
Regards,
Mario
Re: revTalk for Retards
Hey Mario,
I tried attaching a small rev file... no joy, so here is the code:
...it works on this end without fail.
hth,
-Doc-
I tried attaching a small rev file... no joy, so here is the code:
Code: Select all
on enterInField
send mouseup to button Button1
end enterInField
on returnInField
enterInField
--send mouseup to button Button1 <-- optional method
end returnInField
...it works on this end without fail.
hth,
-Doc-
Re: revTalk for Retards
Thanks for trying Doc
But still no joy here, if you want to send that file to me directly here is my email equiarch@gmail.com or email me and I can send you what I am working on. I have no idea what I'm doing wrong.
Peace,
Mario
But still no joy here, if you want to send that file to me directly here is my email equiarch@gmail.com or email me and I can send you what I am working on. I have no idea what I'm doing wrong.
Peace,
Mario
Re: revTalk for Retards
Mario,
What EXACTLY happens, when you try that script? What do you expect to happen? Maybe you have something completely different in mind?
Best,
Mark
What EXACTLY happens, when you try that script? What do you expect to happen? Maybe you have something completely different in mind?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: revTalk for Retards
Mario,
I've sent the small test stack to you as requested. If that doesn't work, then maybe you have something else in mind that we are not understanding.
Regards,
-Doc-
I've sent the small test stack to you as requested. If that doesn't work, then maybe you have something else in mind that we are not understanding.
Regards,
-Doc-
Re: revTalk for Retards
Thanks Doc
the file you sent me helped me to solve my issue. the problem was that I put quotations around my button name.
Rev don't like dat.
thanks again everyone.
Peace and Blessings
Mario
the file you sent me helped me to solve my issue. the problem was that I put quotations around my button name.
Code: Select all
on enterInField
send mouseup to button "calcBut"
end enterInField
thanks again everyone.
Peace and Blessings
Mario
Re: revTalk for Retards
Mario,
The syntax you just posted is actually correct. Button names are supposed to have quotes around them. Without quotes, your script may not work. Something else must be going on. Perhaps your button name is actuall in a variable?
Best,
Mark
The syntax you just posted is actually correct. Button names are supposed to have quotes around them. Without quotes, your script may not work. Something else must be going on. Perhaps your button name is actuall in a variable?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: revTalk for Retards
Hey folks
I was wondering if anyone knows how to allow user input to change the content of a lable. for example I want the user to enter a number in a field then click on a button(calulations will be made upon upmouse) and a lable will display the answer. Is this even possible? Please Help.
Mario
I was wondering if anyone knows how to allow user input to change the content of a lable. for example I want the user to enter a number in a field then click on a button(calulations will be made upon upmouse) and a lable will display the answer. Is this even possible? Please Help.
Mario
Re: revTalk for Retards
Hi Mario,
As a point of reference, I've uploaded a very simple stack that will do what you need.
http://www.docstoolchest.com/LabelDisplay.rev
HTH,
-Doc-
As a point of reference, I've uploaded a very simple stack that will do what you need.
http://www.docstoolchest.com/LabelDisplay.rev
HTH,
-Doc-