Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Encode and Get

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126158] Re: Encode and Get
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Sat, 21 Apr 2012 00:32:44 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jmri6t$l9m$1@smc.vnet.net>

On 20/04/2012 12:44, Michael B. Heaney wrote:
> hi,
>
> i wrote a notebook, and then encoded it using
>
> Encode["plaintext.nb", "codetext.nb", "password"].
>
> i then tried decoding it using
>
> Get["codetext.nb", "password"].
>
> The decoded notebook does not look like the original notebook, and will no
> longer run.
>
> what is wrong?
>
> thanks,
>
> Michael
>
Encode is meant to run on package files (.m) - not notebooks. An encoded 
..m file can't be decoded as such, but can be read into Mathematica, 
where it can execute.

I hope you have a backup of your original notebook, because I think it 
is lost.

David Bailey
http://www.dbaileyconsultancy.co.uk




  • Prev by Date: Re: How to change graph options?
  • Next by Date: Re: Find all roots with FindRoot
  • Previous by thread: Re: Encode and Get
  • Next by thread: How to change graph options?