Re: copying from password protected substacks
On Sat, Apr 11, 2015 at 5:26 PM, Scott Rossi sc...@tactilemedia.com wrote: If you set the passkey of the protected stack (to the password) before copying, you should be able to copy what you want This is getting infuriating . . . what *is* the scope of the passkey? I've tried setting it during stack initialization, even dumbing the password down to abc, and I'm still getting the can't cut error. Do I need to be setting it before every copy? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
On 4/14/2015 8:26 PM, Peter Haworth wrote: Unless there's a bug somewhere in the decryption routines, it still feels like the passkey you are supplying is not the same one you specified in the standalone settings. That's what it sounds like to me too. I wonder how the standalone builder handles that. Maybe it uses a different kind of encryption than a plain passworded stack uses. That sounds unlikely, but setting the passkey should work otherwise. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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: copying from password protected substacks
You can use this: function expandError pErr -- expands LC runtime error numbers, with explanatory text -- probably based on a handler from someone on the use-LC list, not sure who -- revised by Peter M. Brigham, pmb...@gmail.com — freeware -- requires sr() repeat for each line e in pErr put item 1 of e into errNbr put item 2 of e into tLineNbr put item 3 of e into tCharNbr put item 4 to -1 of e into tHint put • line tLineNbr , char tCharNbr : into tErrMsg put error # errNbr , after tErrMsg put sr(line errNbr of the cErrorsList of card 1 of stack revErrorDisplay) \ after tErrMsg if tHint empty then put — hint: tHint after tErrMsg end if put tErrMsg cr after errorlist end repeat return sr(errorlist) end expandError function sr str -- sr = strip returns -- actually, strips all white space fore and aft -- place this handler in a library stack, -- where it will be available everywhere return word 1 to -1 of str end sr -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Apr 14, 2015, at 9:59 PM, J. Landman Gay wrote: On 4/14/2015 8:17 PM, Dr. Hawkins wrote: However, where can I find the list of those codes, and what that error box means in general? User Sample Stacks (in the toolbar) - LC Error Lookup or here: http://livecodeshare.runrev.com/stack/712/LiveCode-Error-Lookup Or make your own, the location of the error codes is listed in the ErrorDialog entry in the dictionary. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 ___ 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: copying from password protected substacks
On Tue, Apr 14, 2015 at 2:50 PM, Peter Haworth p...@lcsql.com wrote: Error 558 is stack: invalid key. Not much help but perhaps the passkey you're supplying isn't the correct one? Not likely I guess since it apparently works in the IDE. There is no password set in the IDE; it's all at compile time. However, where can I find the list of those codes, and what that error box means in general? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
Peter Haworth wrote: I'm still not sure in my mind whether encryption is the same thing as password protecting a stack. I've only ever used the latter. Anybody know? AFAIK there is only one form of script encryption, set with the password property and unlocked during the session with the passkey property. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and 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: copying from password protected substacks
Right. I'm still not sure in my mind whether encryption is the same thing as password protecting a stack. I've only ever used the latter. Anybody know? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Tue, Apr 14, 2015 at 7:01 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 4/14/2015 8:26 PM, Peter Haworth wrote: Unless there's a bug somewhere in the decryption routines, it still feels like the passkey you are supplying is not the same one you specified in the standalone settings. That's what it sounds like to me too. I wonder how the standalone builder handles that. Maybe it uses a different kind of encryption than a plain passworded stack uses. That sounds unlikely, but setting the passkey should work otherwise. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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 ___ 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: copying from password protected substacks
The first item of each line refers to a line number in an error messages table. The table is in the cErrorsList custom property of card 1 of stack revErrorDisplay. Sounds like you set the encrypt with password field in the standalone settings. Make sure you do that for every stack you want to be encrypted. Unless there's a bug somewhere in the decryption routines, it still feels like the passkey you are supplying is not the same one you specified in the standalone settings. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Tue, Apr 14, 2015 at 6:17 PM, Dr. Hawkins doch...@gmail.com wrote: On Tue, Apr 14, 2015 at 2:50 PM, Peter Haworth p...@lcsql.com wrote: Error 558 is stack: invalid key. Not much help but perhaps the passkey you're supplying isn't the correct one? Not likely I guess since it apparently works in the IDE. There is no password set in the IDE; it's all at compile time. However, where can I find the list of those codes, and what that error box means in general? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
On Tue, Apr 14, 2015 at 2:09 PM, Scott Rossi sc...@tactilemedia.com wrote: Does it work for you in the IDE? Yes. However, the password only gets set at compile time. Also, you're not using the Community Edition are you? *shudder*, no. Far too much work into this to risk GPL contamination/taiint of my code. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
Error 558 is stack: invalid key. Not much help but perhaps the passkey you're supplying isn't the correct one? Not likely I guess since it apparently works in the IDE. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Tue, Apr 14, 2015 at 1:50 PM, Dr. Hawkins doch...@gmail.com wrote: On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com wrote: There shouldn't be anything infuriating about it. You have a password protected stack. You set the passkey of that stack to your password value. You should then be able to access/copy objects from that stack. but that doesn't seem to be the case for me. on mouseUp answer in the button scrpt cr exists (stack rawForms) set the passkey of stack rawForms to blahBlahBlah answer the result send yeehaw2 to stack rawForms answer yeehaw2 sent end mouseUp the first answer confirms true for the existence. THe next line causes an error occurred on line 0 558,0,0,password 535,3,1 241,3,1, mouseup 353,0,0,long name of button The passkey stays in effect for the current editing session. When you close stack (or otherwise remove it from memory), your stack contents should not be accessible the next time you open stack. Passkey is temporary, password is persistent. I'm only setting the password itself in the Standalone Application Settings window, if that matters, so the problem ony happens once I make a standaone. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
There shouldn't be anything infuriating about it. You have a password protected stack. You set the passkey of that stack to your password value. You should then be able to access/copy objects from that stack. The passkey stays in effect for the current editing session. When you close stack (or otherwise remove it from memory), your stack contents should not be accessible the next time you open stack. Passkey is temporary, password is persistent. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/14/15, 11:20 AM, Dr. Hawkins doch...@gmail.com wrote: On Sat, Apr 11, 2015 at 5:26 PM, Scott Rossi sc...@tactilemedia.com wrote: If you set the passkey of the protected stack (to the password) before copying, you should be able to copy what you want This is getting infuriating . . . what *is* the scope of the passkey? I've tried setting it during stack initialization, even dumbing the password down to abc, and I'm still getting the can't cut error. Do I need to be setting it before every copy? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com wrote: There shouldn't be anything infuriating about it. You have a password protected stack. You set the passkey of that stack to your password value. You should then be able to access/copy objects from that stack. but that doesn't seem to be the case for me. on mouseUp answer in the button scrpt cr exists (stack rawForms) set the passkey of stack rawForms to blahBlahBlah answer the result send yeehaw2 to stack rawForms answer yeehaw2 sent end mouseUp the first answer confirms true for the existence. THe next line causes an error occurred on line 0 558,0,0,password 535,3,1 241,3,1, mouseup 353,0,0,long name of button The passkey stays in effect for the current editing session. When you close stack (or otherwise remove it from memory), your stack contents should not be accessible the next time you open stack. Passkey is temporary, password is persistent. I'm only setting the password itself in the Standalone Application Settings window, if that matters, so the problem ony happens once I make a standaone. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
Does it work for you in the IDE? Also, you're not using the Community Edition are you? You can't password protect with that version of LiveCode even though it shows the option in the Standalone Builder. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/14/15, 1:50 PM, Dr. Hawkins doch...@gmail.com wrote: On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi sc...@tactilemedia.com wrote: There shouldn't be anything infuriating about it. You have a password protected stack. You set the passkey of that stack to your password value. You should then be able to access/copy objects from that stack. but that doesn't seem to be the case for me. on mouseUp answer in the button scrpt cr exists (stack rawForms) set the passkey of stack rawForms to blahBlahBlah answer the result send yeehaw2 to stack rawForms answer yeehaw2 sent end mouseUp the first answer confirms true for the existence. THe next line causes an error occurred on line 0 558,0,0,password 535,3,1 241,3,1, mouseup 353,0,0,long name of button The passkey stays in effect for the current editing session. When you close stack (or otherwise remove it from memory), your stack contents should not be accessible the next time you open stack. Passkey is temporary, password is persistent. I'm only setting the password itself in the Standalone Application Settings window, if that matters, so the problem ony happens once I make a standaone. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
Hi Richard, You can't copy controls from password protected stacks, because that would allow you to paste controls on unprotected stacks and read the scripts. The solution is to create controls in an unprotected stack without scripts and set the parentScript of these controls to a button with a script on a password protected stack. I do this in my software Strõm, which copies the new components for a flow diagram from an unprotected stack, but has all its scripts protected by passwords. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 4/12/2015 00:52, Dr. Hawkins wrote: I absolutely need my source stacks encrypted. I have found that when I try to copy a group from a stack that I clone (turns out to be much faster to add objects to that group and delete the group than to delete individual items), I get a can't cut object. Stack is password protected error in the standalone (but not in the IDE). While the obvious answer in this case is to have another empty group to clone as part of the stack, this won't solve other cases where I function by copying groups from source stacks. This error also seems incorrect; I am not cutting . . . ___ 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: copying from password protected substacks
On Sat, Apr 11, 2015 at 3:52 PM, Dr. Hawkins doch...@gmail.com wrote: have found that when I try to copy a group from a stack that I clone (turns out to be much faster to add objects to that group and delete the group than to delete individual items), I get a can't cut object. Also, all of the substacks are encrypted with the same password on compile, but otherwise the stacks do not have passwords. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
On Sat, Apr 11, 2015 at 3:59 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: You can't copy controls from password protected stacks, because that would allow you to paste controls on unprotected stacks and read the scripts. Thanks. But this will make life *much* more difficult. Can I copy from the protected stacks *to* another stack from a script within the protected stack (my experiments suggest no). Also, none of the things I want to copy have scripts (although some have a behavior in a button on another stack). The solution is to create controls in an unprotected stack without scripts and set the parentScript of these controls to a button with a script on a password protected stack. Actually, I would rather keep even the controls protected--there is serious work in their custom properties (and tedious work in creating them to match the federal forms!) There is not an issue of anyone else ever getting the unprotected stacks in an IDE; only the standalone will ever distribute. I do this in my software Strõm, which copies the new components for a flow diagram from an unprotected stack, but has all its scripts protected by passwords. Does it make sense to in some way unlock the stacks after loading? But this would need the password for the other scripts -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ 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: copying from password protected substacks
If you set the passkey of the protected stack (to the password) before copying, you should be able to copy what you want. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/11/15, 5:10 PM, Dr. Hawkins doch...@gmail.com wrote: Thanks. But this will make life *much* more difficult. Can I copy from the protected stacks *to* another stack from a script within the protected stack (my experiments suggest no). Also, none of the things I want to copy have scripts (although some have a behavior in a button on another 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