Re: Is it normal to not be able to set script of objects in an encrypted stack?
Hey Mike, Good thinking that is indeed a great idea for workaround for this problem. Thank you, will put that in my back pocket for the future. Happy New Year everyone!!! On Fri, Dec 31, 2021 at 1:40 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Glad you solved it, but as long as we're throwing ideas around, you should > be able to have a script of a button use do, so you really can have it do > anything. You would just put the script into a variable, make the variable > global, and have the button do the variable. > > On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Hey guys, while this is interesting to know and think about . i > solved > > my problem by not needing to set the script. > > > > Thanks for taking time > > > > > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > > you > > > will be able to modify scripts. This will only be in ram. If your > > > standalone > > > saves the stack then do "set the password of stack to "y" before > saving. > > If > > > someone is scraping ram memory then you have a problem, but if someone > is > > > scraping memory you have bigger problems. > > > > > > Ralph DiMola > > > IT Director > > > Evergreen Information Services > > > rdim...@evergreeninfo.net > > > > > > -----Original Message----- > > > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > > > Behalf > > > Of Tom Glod via use-livecode > > > Sent: Thursday, December 30, 2021 4:34 PM > > > To: How to use LiveCode > > > Cc: Tom Glod > > > Subject: Re: Is it normal to not be able to set script of objects in an > > > encrypted stack? > > > > > > HmmmI hear you, that makes sense. > > > > > > On the flip side, as soon as I want to set the script of a button, I'm > > > doomed to have my code remain readable. I gotta think of a workaround > for > > > why I was setting the script to begin with. > > > > > > Thanks MIke. > > > > > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > > use-livecode@lists.runrev.com> wrote: > > > > > > > I would hope that would be the behavior. It would also make it harder > > > > for your stack to get borked by someone else. > > > > If I was trying to break that behavior I would try to put the code > > > > into a variable, encrypt the variable using the password, then set > the > > > > script of the object to the encrypted version, although I don't know > > > > what algorithm LC is using. > > > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > > use-livecode@lists.runrev.com> wrote: > > > > > > > > > Hi Folks, > > > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > > that > > > > sets > > > > > the script of an object in that stack receives an execution error > > > > > when running as standalone. > > > > > > > > > > Why is this so? > > > > > > > > > > And is there a workaround? > > > > > > > > > > Thanks, > > > > > > > > > > -- > > > > > Tom Glod > > > > > Founder & Developer > > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > > Mobile:647.562.9411 > > > > > ___ > > > > > 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 > > > > > > > > > > > > > > > > > -- > > > > On the first day, God created the heavens and the Earth On the second > > > > day, God created the oceans. > > > > On the third day, God put the animals on hold for a few hours, > > > >and did a little diving. > > > > And God s
Re: Is it normal to not be able to set script of objects in an encrypted stack?
Glad you solved it, but as long as we're throwing ideas around, you should be able to have a script of a button use do, so you really can have it do anything. You would just put the script into a variable, make the variable global, and have the button do the variable. On Thu, Dec 30, 2021 at 6:20 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hey guys, while this is interesting to know and think about . i solved > my problem by not needing to set the script. > > Thanks for taking time > > > > On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > I thought for a standalone if you "set the passKey of stack "x" to "y" > you > > will be able to modify scripts. This will only be in ram. If your > > standalone > > saves the stack then do "set the password of stack to "y" before saving. > If > > someone is scraping ram memory then you have a problem, but if someone is > > scraping memory you have bigger problems. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdim...@evergreeninfo.net > > > > -Original Message- > > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > > Behalf > > Of Tom Glod via use-livecode > > Sent: Thursday, December 30, 2021 4:34 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Re: Is it normal to not be able to set script of objects in an > > encrypted stack? > > > > HmmmI hear you, that makes sense. > > > > On the flip side, as soon as I want to set the script of a button, I'm > > doomed to have my code remain readable. I gotta think of a workaround for > > why I was setting the script to begin with. > > > > Thanks MIke. > > > > > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > I would hope that would be the behavior. It would also make it harder > > > for your stack to get borked by someone else. > > > If I was trying to break that behavior I would try to put the code > > > into a variable, encrypt the variable using the password, then set the > > > script of the object to the encrypted version, although I don't know > > > what algorithm LC is using. > > > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > > use-livecode@lists.runrev.com> wrote: > > > > > > > Hi Folks, > > > > > > > > Today I found out that if I put a password on my stack, any code > > > > that > > > sets > > > > the script of an object in that stack receives an execution error > > > > when running as standalone. > > > > > > > > Why is this so? > > > > > > > > And is there a workaround? > > > > > > > > Thanks, > > > > > > > > -- > > > > Tom Glod > > > > Founder & Developer > > > > MakeShyft R.D.A (www.makeshyft.com) > > > > Mobile:647.562.9411 > > > > ___ > > > > 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 > > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth On the second > > > day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > >and did a little diving. > > > And God said, "This is good." > > > ___ > > > 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 > > > > > > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscripti
Re: Is it normal to not be able to set script of objects in an encrypted stack?
Hey guys, while this is interesting to know and think about . i solved my problem by not needing to set the script. Thanks for taking time On Thu, Dec 30, 2021 at 4:54 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > I thought for a standalone if you "set the passKey of stack "x" to "y" you > will be able to modify scripts. This will only be in ram. If your > standalone > saves the stack then do "set the password of stack to "y" before saving. If > someone is scraping ram memory then you have a problem, but if someone is > scraping memory you have bigger problems. > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Tom Glod via use-livecode > Sent: Thursday, December 30, 2021 4:34 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Is it normal to not be able to set script of objects in an > encrypted stack? > > HmmmI hear you, that makes sense. > > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. > > Thanks MIke. > > > > On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > I would hope that would be the behavior. It would also make it harder > > for your stack to get borked by someone else. > > If I was trying to break that behavior I would try to put the code > > into a variable, encrypt the variable using the password, then set the > > script of the object to the encrypted version, although I don't know > > what algorithm LC is using. > > > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > Hi Folks, > > > > > > Today I found out that if I put a password on my stack, any code > > > that > > sets > > > the script of an object in that stack receives an execution error > > > when running as standalone. > > > > > > Why is this so? > > > > > > And is there a workaround? > > > > > > Thanks, > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > ___ > > > 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 > > > > > > > > > -- > > On the first day, God created the heavens and the Earth On the second > > day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > >and did a little diving. > > And God said, "This is good." > > ___ > > 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 > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > ___ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 ___ 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: Is it normal to not be able to set script of objects in an encrypted stack?
I thought for a standalone if you "set the passKey of stack "x" to "y" you will be able to modify scripts. This will only be in ram. If your standalone saves the stack then do "set the password of stack to "y" before saving. If someone is scraping ram memory then you have a problem, but if someone is scraping memory you have bigger problems. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tom Glod via use-livecode Sent: Thursday, December 30, 2021 4:34 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Is it normal to not be able to set script of objects in an encrypted stack? HmmmI hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder > for your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code > into a variable, encrypt the variable using the password, then set the > script of the object to the encrypted version, although I don't know > what algorithm LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code > > that > sets > > the script of an object in that stack receives an execution error > > when running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > ___ > > 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 > > > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, >and did a little diving. > And God said, "This is good." > ___ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 ___ 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: Is it normal to not be able to set script of objects in an encrypted stack?
tom trilled, > On the flip side, as soon as I want to set the script of a button, I'm > doomed to have my code remain readable. I gotta think of a workaround for > why I was setting the script to begin with. Now I’m wondering . . . can you set the behavior of the object in the protected stack to a button in an unencrypted stack? ___ 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: Is it normal to not be able to set script of objects in an encrypted stack?
HmmmI hear you, that makes sense. On the flip side, as soon as I want to set the script of a button, I'm doomed to have my code remain readable. I gotta think of a workaround for why I was setting the script to begin with. Thanks MIke. On Thu, Dec 30, 2021 at 2:43 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > I would hope that would be the behavior. It would also make it harder for > your stack to get borked by someone else. > If I was trying to break that behavior I would try to put the code into a > variable, encrypt the variable using the password, then set the script of > the object to the encrypted version, although I don't know what algorithm > LC is using. > > On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Hi Folks, > > > > Today I found out that if I put a password on my stack, any code that > sets > > the script of an object in that stack receives an execution error when > > running as standalone. > > > > Why is this so? > > > > And is there a workaround? > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > ___ > > 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 > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, >and did a little diving. > And God said, "This is good." > ___ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 ___ 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: Is it normal to not be able to set script of objects in an encrypted stack?
I would hope that would be the behavior. It would also make it harder for your stack to get borked by someone else. If I was trying to break that behavior I would try to put the code into a variable, encrypt the variable using the password, then set the script of the object to the encrypted version, although I don't know what algorithm LC is using. On Thu, Dec 30, 2021 at 2:13 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Folks, > > Today I found out that if I put a password on my stack, any code that sets > the script of an object in that stack receives an execution error when > running as standalone. > > Why is this so? > > And is there a workaround? > > Thanks, > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > ___ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ 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
Is it normal to not be able to set script of objects in an encrypted stack?
Hi Folks, Today I found out that if I put a password on my stack, any code that sets the script of an object in that stack receives an execution error when running as standalone. Why is this so? And is there a workaround? Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 ___ 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