Re: autoScript
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 debug mode ON, running the script should stop at the breakpoint and you should be able to check the values of: oldScript newScript checkScript ___ 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
Re: autoScript
Try replacing btn with button I noticed in a couple of versions btn was not picked up but button was - Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.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 list archive at Nabble.com. ___ 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
Re: autoScript
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. (which is related to the silly little extremely unlikely method I've found that I'm hesitant to share because it is SO darn unlikely.) ___ 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
Re: autoScript
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, Richmondwrote: > 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 >> suggest won't work because these are computers we are working with. >> Sometimes they are not logical (because we don't have access to all the >> data - read extraneous crap - that they are reading from hidden crevices >> ). >> >> Just as a for instance I was trying to transfer a program of mine from >> windows to android - LC v6.7.11) it would not compile to a standalone try >> as i might. >> So I created a new stack cut and pasted everything and it worked - but it >> shouldn't have should it? >> >> Kindest Regards Lagi >> >> p.s. >> >> if that no worky re-install livecode and remove the preferences files >> (switch it off and on again of software!) >> >> On 16 November 2016 at 16:56, Richmond >> wrote: >> >> 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.hyperactivesw.com On November 16, 2016 8:48:57 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. > > 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 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. Your sample stack included in the bug report, as well as a more >> complete example that includes an actual handler definition, both work >> as expected in v9dp1 under Ubuntu 14..04. >> >> Think about it: if the "set the script..." command didn't work, the >> Script Editor wouldn't work, and it wouldn't be possible to do any >> scripting in LiveCode at all. >> >> I suspect something else is in play in your running of the test >> >> >> ___ > 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 > > ___ 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 >>> ___ >>> 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 >>> >>> ___ >> 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 >> > > ___ > 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 > ___ 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
Re: autoScript
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 Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 16, 2016 10:58:08 AM Richmondwrote: 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.hyperactivesw.com On November 16, 2016 8:48:57 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. 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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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 ___ 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 ___ 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 ___ 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 ___ 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
Re: autoScript
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 suggest won't work because these are computers we are working with. Sometimes they are not logical (because we don't have access to all the data - read extraneous crap - that they are reading from hidden crevices ). Just as a for instance I was trying to transfer a program of mine from windows to android - LC v6.7.11) it would not compile to a standalone try as i might. So I created a new stack cut and pasted everything and it worked - but it shouldn't have should it? Kindest Regards Lagi p.s. if that no worky re-install livecode and remove the preferences files (switch it off and on again of software!) On 16 November 2016 at 16:56, Richmondwrote: 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.hyperactivesw.com On November 16, 2016 8:48:57 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. 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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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 ___ 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 ___ 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 ___ 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 ___ 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
Re: autoScript
I should have used a smiley. Killing children is frowned upon by almost everyone. -> :-) On November 16, 2016 10:57:17 AM Richmondwrote: 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. Landman Gay wrote: 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 Software | http://www.hyperactivesw.com On November 16, 2016 8:16:22 AM Tore Nilsen wrote: 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. 2016 kl. 14.57 skrev Mike Bonner : 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 pops out the right combination. On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: 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 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:43 AM, Tore Nilsen wrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner : 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond wrote: On MacOS 10.12.2 16. nov. 2016 kl. 14.21 skrev Richmond
Re: autoScript
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, 2016 10:58:08 AM Richmondwrote: 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.hyperactivesw.com On November 16, 2016 8:48:57 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. 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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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 ___ 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 ___ 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 ___ 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
Re: autoScript
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't have access to all the data - read extraneous crap - that they are reading from hidden crevices ). Just as a for instance I was trying to transfer a program of mine from windows to android - LC v6.7.11) it would not compile to a standalone try as i might. So I created a new stack cut and pasted everything and it worked - but it shouldn't have should it? Kindest Regards Lagi p.s. if that no worky re-install livecode and remove the preferences files (switch it off and on again of software!) On 16 November 2016 at 16:56, Richmondwrote: > 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.hyperactivesw.com >> >> >> >> On November 16, 2016 8:48:57 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. >>> >>> 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 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. >> > Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test >>> >>> ___ >>> 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 >>> >> >> >> >> ___ >> 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 >> > > > ___ > 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 > ___ 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
Re: autoScript
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.hyperactivesw.com On November 16, 2016 8:48:57 AM Richmondwrote: 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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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 ___ 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 ___ 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
Re: autoScript
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' Cognitive Linguistics, but pinching bits from Functionalism, and even (Ouch) drawing on Philosophy of Language. I told the defence team that I didn't like barriers between disciplines, and as Cognitive Linguistics criticised Chomsky's Generative Linguistics for relying on sharply defined categories, there should be nothing wrong with my not stopping within any sharply defined "Congnitive Linguistics" boundaries, and that as my first degree was in Philosophy (rather more empirical than rational) I really wasn't convinced that 'Linguistics' wasn't a discipline invented by failed Philosophers who couldn't tackle Philosophy of Language for fear of getting their feet wet. The world does not deal is 'purity', and, indeed, 'purity' may be a socking great delusion that has caused the human race no end of problems. Now my approach to coding (whether in Livecode or elsewhere) is like my approach to EFL teaching: unless it is illegal, harmful or obviously immoral, as long as it gets the job done that's fine. Somebody the other day accused me of being a "computer programmer", at which point I just stopped myself laughing in their face; while they intended that to be a compliment, I'm not really sure if I like it. I would far rather see myself as a person who, when he has a job to get done, tries, by any means possible, to get it done. 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. Landman Gay wrote: 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 Software | http://www.hyperactivesw.com On November 16, 2016 8:16:22 AM Tore Nilsenwrote: 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. 2016 kl. 14.57 skrev Mike Bonner : 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 pops out the right combination. On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: 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 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:43 AM, Tore Nilsen wrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner : 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond
Re: autoScript
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 Richmondwrote: 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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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 ___ 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
Re: autoScript
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 Nilsenwrote: > > Has anyone ever been able to make the “makeMeRich” command work? If not, has > anyone filed a bug report? > > Tore ___ 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
Re: autoScript
:-) Bob S > On Nov 16, 2016, at 05:49 , Mike Bonnerwrote: > > 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:43 AM, Tore Nilsen wrote: > >> 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 coffee is slightly >> beyond the capabilities of LC, regardless of version or OS. >> >> Regards >> Tore >> >> >>> 16. nov. 2016 kl. 14.37 skrev Mike Bonner : >>> >>> 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 versions of lc seem to give less >>> latitude in syntax, you might check the result (and it?) after setting >> the >>> script. In addition, if you go into the script editor afterwards does >> the >>> script actually appear as it should? If you enter a space (just to set >> the >>> dirty flag) and then re-apply the script from inside the editor, does it >>> give an error? >>> I think, setting the script pretty much works no matter what, but if the >>> script has a problem, while the script is THERE, it just won't work until >>> the problem is resolved and reapplied. >>> >>> On Wed, Nov 16, 2016 at 6:28 AM, Richmond >>> wrote: >>> 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 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 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 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 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. >> > ___ > 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 > ___ 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 >>> >>> ___ >>> 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 >>> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage
Re: autoScript
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 Software | http://www.hyperactivesw.com On November 16, 2016 8:16:22 AM Tore Nilsenwrote: 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. 2016 kl. 14.57 skrev Mike Bonner : 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 pops out the right combination. On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: 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 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:43 AM, Tore Nilsen wrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner : 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond wrote: On MacOS 10.12.2 16. nov. 2016 kl. 14.21 skrev Richmond
Re: autoScript
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, Richmondwrote: > 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 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. >>> >> Your sample stack included in the bug report, as well as a more complete >> example that includes an actual handler definition, both work as expected >> in v9dp1 under Ubuntu 14..04. >> >> Think about it: if the "set the script..." command didn't work, the >> Script Editor wouldn't work, and it wouldn't be possible to do any >> scripting in LiveCode at all. >> >> I suspect something else is in play in your running of the test >> >> > > ___ > 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 > ___ 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
Re: autoScript
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 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. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test ___ 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
Re: autoScript
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. 2016 kl. 14.57 skrev Mike Bonner: > > 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 > pops out the right combination. > > On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: > >> 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 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:43 AM, Tore Nilsen wrote: >>> 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore > 16. nov. 2016 kl. 14.37 skrev Mike Bonner : > > 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 versions of lc seem to give less > latitude in syntax, you might check the result (and it?) after setting the > script. In addition, if you go into the script editor afterwards does the > script actually appear as it should? If you enter a space (just to set the > dirty flag) and then re-apply the script from inside the editor, does >> it > give an error? > I think, setting the script pretty much works no matter what, but if >> the > script has a problem, while the script is THERE, it just won't work >> until > the problem is resolved and reapplied. > > On Wed, Nov 16, 2016 at 6:28 AM, Richmond >> > wrote: > >> 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 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 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 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 Richmond < >> richmondmathew...@gmail.com > : >>> >>> 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. >>>
Re: autoScript
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 Richmond. Your sample stack included in the bug report, as well as a more complete example that includes an actual handler definition, both work as expected in v9dp1 under Ubuntu 14..04. Think about it: if the "set the script..." command didn't work, the Script Editor wouldn't work, and it wouldn't be possible to do any scripting in LiveCode at all. I suspect something else is in play in your running of the test -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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
Re: autoScript
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, Richmondwrote: > 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 15:57, Mike Bonner wrote: > >> 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 >> pops out the right combination. >> >> On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: >> >> 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 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:43 AM, Tore Nilsen wrote: 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 coffee is slightly > beyond the capabilities of LC, regardless of version or OS. > > Regards > Tore > > > 16. nov. 2016 kl. 14.37 skrev Mike Bonner : >> >> 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 versions of lc seem to give less >> latitude in syntax, you might check the result (and it?) after setting >> > the > >> script. In addition, if you go into the script editor afterwards does >> > the > >> script actually appear as it should? If you enter a space (just to >> set >> > the > >> dirty flag) and then re-apply the script from inside the editor, does >> > it >>> give an error? >> I think, setting the script pretty much works no matter what, but if >> > the >>> script has a problem, while the script is THERE, it just won't work >> > until >>> the problem is resolved and reapplied. >> >> On Wed, Nov 16, 2016 at 6:28 AM, Richmond < >> richmondmathew...@gmail.com >> wrote: >> >> 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 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 skrev Richmond < > richmondmathew...@gmail.com > : > 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 BB trigger a >>> beep >>> >> as > >> expected, also in LC 8.1.1 >> >>> Regards >>> Tore >>> >>> 16. nov. 2016 kl. 13.57 skrev Richmond < >>> >> richmondmathew...@gmail.com >>> :
Re: autoScript
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 15:57, Mike Bonner wrote: 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 pops out the right combination. On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsenwrote: 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 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:43 AM, Tore Nilsen wrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner : 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond wrote: On MacOS 10.12.2 16. nov. 2016 kl. 14.21 skrev Richmond
Re: autoScript
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 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:43 AM, Tore Nilsenwrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner : 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond wrote: 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 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 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 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 Richmond
Re: autoScript
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, Tore Nilsen wrote: 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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore 16. nov. 2016 kl. 14.37 skrev Mike Bonner: 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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond wrote: 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 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 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 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 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. ___ 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 ___ 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 ___ 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 ___ 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 ___ 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 ___ 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 ___ 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 ___ 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
Re: autoScript
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 pops out the right combination. On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsenwrote: > 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 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:43 AM, Tore Nilsen wrote: > > > >> 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 coffee is slightly > >> beyond the capabilities of LC, regardless of version or OS. > >> > >> Regards > >> Tore > >> > >> > >>> 16. nov. 2016 kl. 14.37 skrev Mike Bonner : > >>> > >>> 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 versions of lc seem to give less > >>> latitude in syntax, you might check the result (and it?) after setting > >> the > >>> script. In addition, if you go into the script editor afterwards does > >> the > >>> script actually appear as it should? If you enter a space (just to set > >> the > >>> dirty flag) and then re-apply the script from inside the editor, does > it > >>> give an error? > >>> I think, setting the script pretty much works no matter what, but if > the > >>> script has a problem, while the script is THERE, it just won't work > until > >>> the problem is resolved and reapplied. > >>> > >>> On Wed, Nov 16, 2016 at 6:28 AM, Richmond > > >>> wrote: > >>> > 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 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 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 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 Richmond < > richmondmathew...@gmail.com > >>> : > > > > 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. > >> > > ___ > > 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 > > > ___ > use-livecode mailing list >
Re: autoScript
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 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:43 AM, Tore Nilsen wrote: > >> 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 coffee is slightly >> beyond the capabilities of LC, regardless of version or OS. >> >> Regards >> Tore >> >> >>> 16. nov. 2016 kl. 14.37 skrev Mike Bonner : >>> >>> 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 versions of lc seem to give less >>> latitude in syntax, you might check the result (and it?) after setting >> the >>> script. In addition, if you go into the script editor afterwards does >> the >>> script actually appear as it should? If you enter a space (just to set >> the >>> dirty flag) and then re-apply the script from inside the editor, does it >>> give an error? >>> I think, setting the script pretty much works no matter what, but if the >>> script has a problem, while the script is THERE, it just won't work until >>> the problem is resolved and reapplied. >>> >>> On Wed, Nov 16, 2016 at 6:28 AM, Richmond >>> wrote: >>> 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 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 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 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 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. >> > ___ > 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 > ___ 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 >>> >>> ___ >>> 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 >>> >> >> ___ >> use-livecode mailing list >>
Re: autoScript
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:43 AM, Tore Nilsenwrote: > 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 coffee is slightly > beyond the capabilities of LC, regardless of version or OS. > > Regards > Tore > > > > 16. nov. 2016 kl. 14.37 skrev Mike Bonner : > > > > 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 versions of lc seem to give less > > latitude in syntax, you might check the result (and it?) after setting > the > > script. In addition, if you go into the script editor afterwards does > the > > script actually appear as it should? If you enter a space (just to set > the > > dirty flag) and then re-apply the script from inside the editor, does it > > give an error? > > I think, setting the script pretty much works no matter what, but if the > > script has a problem, while the script is THERE, it just won't work until > > the problem is resolved and reapplied. > > > > On Wed, Nov 16, 2016 at 6:28 AM, Richmond > > wrote: > > > >> 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 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 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 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 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. > > >>> ___ > >>> 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 > >>> > >> ___ > >> 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 > >> > > > > ___ > > 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 > > > > ___ > 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 > > ___ > >>>
Re: autoScript
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 coffee is slightly beyond the capabilities of LC, regardless of version or OS. Regards Tore > 16. nov. 2016 kl. 14.37 skrev Mike Bonner: > > 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 versions of lc seem to give less > latitude in syntax, you might check the result (and it?) after setting the > script. In addition, if you go into the script editor afterwards does the > script actually appear as it should? If you enter a space (just to set the > dirty flag) and then re-apply the script from inside the editor, does it > give an error? > I think, setting the script pretty much works no matter what, but if the > script has a problem, while the script is THERE, it just won't work until > the problem is resolved and reapplied. > > On Wed, Nov 16, 2016 at 6:28 AM, Richmond > wrote: > >> 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 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 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 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 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. >>> ___ >>> 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 >>> >> ___ >> 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 >> > > ___ > 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 > ___ 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 ___ >>> 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 >>> >> >> >> ___ >> 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 >> > ___ > use-livecode mailing list >
Re: autoScript
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 versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmondwrote: > 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 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 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 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 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. >>> >> ___ >> 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 >> > ___ > 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 > ___ 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 >>> >>> ___ >>> 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 >>> >>> ___ >> 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 >> > > > ___ > 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 > ___ 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
Re: autoScript
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 tore, you should need to include the on mouseup and end mouseup) On Wed, Nov 16, 2016 at 6:22 AM, Tore Nilsenwrote: 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 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 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. ___ 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 ___ 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 ___ 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 ___ 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 ___ 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 ___ 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
Re: autoScript
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 Nilsenwrote: > 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 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 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. > >>> > >>> ___ > >>> 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 > >> ___ > >> 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 > > > > > > ___ > > 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 > > > ___ > 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 > ___ 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
Re: autoScript
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 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 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. >>> >>> ___ >>> 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 >> ___ >> 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 > > > ___ > 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 ___ 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
Re: autoScript
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 BB trigger a beep as expected, also in LC 8.1.1 Regards 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. 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. ___ 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 ___ 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 ___ 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
Re: autoScript
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 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. > > > ___ > 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 ___ 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
Re: autoScript
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. > > 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. > > > ___ > 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 ___ 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
Re: autoScript
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. ___ 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
autoScript
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 and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode