I want to know how can I see only the output when I deploy the
Mathematica notebook in
Player Pro as in
I have gone through this screencast on How to Encrypt Your Code for Deployment, but I haven't understood it properly.
If your question is really "How do I remove the input?", then you can evaluate
NotebookPut[DeleteCases[NotebookGet, Cell[_, "Input", ___], Infinity]]
to create a fresh copy of a notebook with no
Input cells in it. Then save as CDF.
Consider two versions of CDF:
Deploy a cdf without showing source code:
click the output in your notebook.
choose File -> Deploy -> Standalone -> current selection
export this cdf to the selected location
You can also, copy the out put and simply paste it into a new CDF document.
You can typically make what you want to do with input work by hardcoding possible selections rather than free input. Make a
List of options that some selection mechanism will access. Your selection of input just becomes another dynamic element. This should achieve what you want.
Note: you can also access any of Wolfram's computable data within a CDF.
Best if you can post an example of what you have tried. Then responders can give you more specific solutions.
To prevent your code from appearing in the CDF file, simply double-click on the innermost cell bracket of your output cell. This collapses the input cell. Then select File...Deploy...Standalone...[save entire file)]. The resultant CDF file will neither show the input code nor allow it to be seen at all (since the cell bracket will not be available).
In addition to the methods already suggested by others:
If you would like to have a CDF that consists of a single
Manipulate you can simply copy the Manipulate box itself (i.e., the output of the
Manipulate) to an empty notebook and save that as a CDF. If initialization with external variables is required use the
SaveDefinitions->True and/or wrap your
Manipulate in a