Manually enter a scrip into btn "BB"
Then modify your first mentioned script to:
on mouseUp
put the script of btn "BB" into oldScript
put "make me coffee" into newScript
set the script of btn "BB" to newScript
put the script of btn "BB" into checkScript
breakpoint
end mouseUp
With debu
.co.uk
PointandSee is a FREE simple but full featured under cursor colour picker /
finder.
http://www.pointandsee.co.uk - made with LiveCode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/autoScript-tp4710331p4710391.html
Sent from the Revolution - User mailing
I've found a way to make it fail, but find it is very unlikely it is the
cause of your issue (because its a silly little thing) But out of
curiosity. if you add some type of msg box output to the handler that sets
the script of the button, this would ensure that the setting handler
actually fires.
Hi Richmond
I understand that , i'm just suggesting you create a brand new stack with
that button don't use the same one., and type it in from scratch no cut and
paste even
Best Lagi
On 16 November 2016 at 17:25, Richmond wrote:
> The original stack was created in 8.1.1.
>
> /Deus ex machina
I just tried the stack in LC 8.1.2 rc2 and that didn't set the script
either.
Richmond.
On 16.11.2016 19:13, J. Landman Gay wrote:
Okay. That usually means there's an error in it that prevents
compilation. Since it does work in LC 9 maybe the error was in the
engine or the IDE.
Jacqueline L
The original stack was created in 8.1.1.
/Deus ex machina/
Richmond.
On 16.11.2016 19:09, Lagi Pittas wrote:
Hi Richmond
I know this might sound stupid but .
Did you create a BRAND NEW stack within 8.1 and try that?
Now if you opened it in 9 and it worked that still doesn't mean what I
I should have used a smiley. Killing children is frowned upon by almost
everyone.
-> :-)
On November 16, 2016 10:57:17 AM Richmond wrote:
This is, exactly, one of the reasons I like Livecode so much: it lends
itself to all styles of "getting things done" !
Richmond.
On 16.11.2016 17:48, J
Okay. That usually means there's an error in it that prevents compilation.
Since it does work in LC 9 maybe the error was in the engine or the IDE.
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 16, 2
Hi Richmond
I know this might sound stupid but .
Did you create a BRAND NEW stack within 8.1 and try that?
Now if you opened it in 9 and it worked that still doesn't mean what I
suggest won't work because these are computers we are working with.
Sometimes they are not logical (because we don
The script does not get set.
Richmond.
On 16.11.2016 17:58, J. Landman Gay wrote:
Could you define "does not work"? The script doesn't get set? It's
there but it errors? It's lazy?
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hy
I am very, very far from being a purist, lest you have not worked that
out many long years ago.
When I submitted a Master's degree thesis in Applied Linguistics at
Southern Illinois University
at Carbondale I was criticised by 2 out of 3 of my degree committee for
not sticking to 'pure'
Cognit
Could you define "does not work"? The script doesn't get set? It's there
but it errors? It's lazy?
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 16, 2016 8:48:57 AM Richmond wrote:
I honestly don'
I worked on this once, but I became a comic book kid and all my money was
Monopoly money. Thanks for the Undo script Mike!
Bob S
> On Nov 16, 2016, at 05:53 , Tore Nilsen wrote:
>
> Has anyone ever been able to make the “makeMeRich” command work? If not, has
> anyone filed a bug report?
>
>
:-)
Bob S
> On Nov 16, 2016, at 05:49 , Mike Bonner wrote:
>
> On the contrary, when i tried it here I became hot and delicious, and great
> to wake up to in the morning. Alas, I had added an undo function and have
> since reverted to my normal hermity self. I tried "make me rich" once, but
>
It sounds to me like there's a problem with the inheritance path. You could
try looping through the childIDs and deleting any that are interfering.
Note that you may be criticized by purists for this type of coding style.
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive
Did you check the result after setting it? Hopefully it will tell you why
it failed.
On Wed, Nov 16, 2016 at 7:47 AM, Richmond
wrote:
> I honestly don't know.
>
> I have just tried my stack in LC 9dp1 and, yes, the thing worked.
>
> So I tried it again in LC 8.1.1 and the thing did not work.
>
I honestly don't know.
I have just tried my stack in LC 9dp1 and, yes, the thing worked.
So I tried it again in LC 8.1.1 and the thing did not work.
Richmond.
On 16.11.2016 16:13, Richard Gaskin wrote:
Richmond wrote:
Nothing is wrong with this in Livecode 7.1.4
BUT is does not work in Liv
Will the chances of getting rich increase if the randomSeed property is set to
a higher value? I guess the the blindLuck() function makes heavy use of
random(goodLuck) Or maybe there is an undocumented goodLuckSeed property
lurking somewhere in the darkest corners of the engine?
> 16. nov. 201
Richmond wrote:
Nothing is wrong with this in Livecode 7.1.4
BUT is does not work in Livecode 8.1.1
Bug 18864
Richmond.
On 16.11.2016 14:44, Richmond wrote:
I wonder what's wrong with this:
on mouseUp
put "make me coffee" into SKRIPT
set the script of btn "BB" to SKRIPT
end mouseUp
My apology for the inadvertent foray into the kink domain. The only kinks
in my life are on the radio, and in my neck. (shuts up now to avoid digging
the hole deeper)
On Wed, Nov 16, 2016 at 7:02 AM, Richmond
wrote:
> Dunno about that: I suffer from hardWork, creativity and perseverance, but
> t
Dunno about that: I suffer from hardWork, creativity and perseverance,
but there are no
signs on even payForMyCoffee let alone makeMeRich . . .
could be something to do with too many uses of the term 'wrongNiche' in
my code . . .
now back to the Sanskrit . . .
Love, Richmond.
On 16.11.2016
Erm: "I became hot and delicious" (sounds a bit kinky, frankly), not any
potential coffee . . .
Richmond.
On 16.11.2016 15:49, Mike Bonner wrote:
On the contrary, when i tried it here I became hot and delicious, and great
to wake up to in the morning. Alas, I had added an undo function and ha
Ha, Ha; yes, to be honest, I am drinking coffee I made myself; but, for
the purposes of
the posting I decided to NOT give you the 5204 line script I am trying
to move: that would be worse
than the disappointment of finding that Livecode could not make coffee!
Richmond.
On 16.11.2016 15:43, Tor
I suspect its a misunderstanding of the command. If I recall correctly it
requires a library of support function such as hardWork() creativity() and
perseverance() Though I guess there are a few people out there who make it
work by simply using the blindLuck() function over and over until the rng
Has anyone ever been able to make the “makeMeRich” command work? If not, has
anyone filed a bug report?
Tore
> 16. nov. 2016 kl. 14.49 skrev Mike Bonner :
>
> On the contrary, when i tried it here I became hot and delicious, and great
> to wake up to in the morning. Alas, I had added an undo fu
On the contrary, when i tried it here I became hot and delicious, and great
to wake up to in the morning. Alas, I had added an undo function and have
since reverted to my normal hermity self. I tried "make me rich" once, but
I just ended up being triple chocolate cake.
On Wed, Nov 16, 2016 at 6:4
At this point in the discussion I feel a need to clarify that while also the
original the script (make me coffee) was set, the button BB did not actually
make coffee. I still had to go to the kitchen and perform the necessary magic
myself.
And I think that most people will find that making cof
Ah, my apologies. In that case I'm surprised it DOESN'T work in 8 (when
including on mouseup and end mouseup)
Now I'm curious. If I recall correctly, setting a script with an error of
some type, causes the script to be placed into the button but not actually
be functional. Since the more recent
I didn't bother to include the 'on mouseUp' and 'end mouseUp' in my initial
message as I thought they would be assumed.
Richmond.
On 16.11.2016 15:24, Mike Bonner wrote:
I'm surprised it works in 7 since it should result in an orphaned line of
code with no handler designation. (as indicated by
I'm surprised it works in 7 since it should result in an orphaned line of
code with no handler designation. (as indicated by tore, you should need to
include the on mouseup and end mouseup)
On Wed, Nov 16, 2016 at 6:22 AM, Tore Nilsen wrote:
> On MacOS 10.12.2
>
>
> > 16. nov. 2016 kl. 14.21 sk
On MacOS 10.12.2
> 16. nov. 2016 kl. 14.21 skrev Richmond :
>
> Thanks, Tore,
>
> On which operating system is that?
>
> Richmond.
>
> On 16.11.2016 15:10, Tore Nilsen wrote:
>> Putting
>>
>> on mouseUp
>>
>> put "on mouseUp" & return & "beep" & return & "end mouseUp" into SKRIPT
>>
>> set
Thanks, Tore,
On which operating system is that?
Richmond.
On 16.11.2016 15:10, Tore Nilsen wrote:
Putting
on mouseUp
put "on mouseUp" & return & "beep" & return & "end mouseUp" into SKRIPT
set the script of btn "BB" to SKRIPT
end mouseUp
into the script of the first button makes button
Putting
on mouseUp
put "on mouseUp" & return & "beep" & return & "end mouseUp" into SKRIPT
set the script of btn "BB" to SKRIPT
end mouseUp
into the script of the first button makes button BB trigger a beep as expected,
also in LC 8.1.1
Regards
Tore
> 16. nov. 2016 kl. 13.57 skrev Richmo
It works in both 7.1.3 and 8.1.0 and 8.1.1 on MacOS here with me. The script is
set to whatever you put into the variable.
Tore
> 16. nov. 2016 kl. 13.57 skrev Richmond :
>
> Nothing is wrong with this in Livecode 7.1.4
>
> BUT is does not work in Livecode 8.1.1
>
> Bug 18864
>
> Richmond.
>
Nothing is wrong with this in Livecode 7.1.4
BUT is does not work in Livecode 8.1.1
Bug 18864
Richmond.
On 16.11.2016 14:44, Richmond wrote:
I wonder what's wrong with this:
on mouseUp
put "make me coffee" into SKRIPT
set the script of btn "BB" to SKRIPT
end mouseUp
Richmond.
I wonder what's wrong with this:
on mouseUp
put "make me coffee" into SKRIPT
set the script of btn "BB" to SKRIPT
end mouseUp
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
36 matches
Mail list logo