Skip to main content
added 1 characters in body
Source Link
Rolf Mertig
  • 17.4k
  • 1
  • 46
  • 78

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[DynamicModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"
];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"
];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamicModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"
];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

added 6 characters in body
Source Link
Murta
  • 26.4k
  • 6
  • 77
  • 168

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"];>"PlayerPro"
];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"
];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

Improved formatting
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

This is the sequence of commands that I use to create my CDFs.

testCDF :=DynamiModule[= DynamiModule[... some nice code]

nb=CreateDocument[nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[]<>"ExportTests2CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF:=DynamiModule[... some nice code]

nb=CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[]<>"ExportTests2.cdf",nb,"Method"->"Standalone","Target"->"PlayerPro"];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

This is the sequence of commands that I use to create my CDFs.

testCDF := DynamiModule[... some nice code]

nb = CreateDocument[{testCDF}
    ,Visible -> False
    ,WindowTitle->"Export Test"
    ,WindowMargins->Automatic
    ,WindowSize->Automatic
    ,WindowElements->{"VerticalScrollBar","HorizontalScrollBar"}
    ,ShowCellBracket->False
    ,Deployed->True
];

(*options to remove wolfram toolbar*)
SetOptions[nb, PrivateNotebookOptions -> {"PluginToolbarEnabled" -> False}];

CDFDeploy[NotebookDirectory[] <> "ExportTests2.cdf", 
  nb,
  "Method"->"Standalone",
  "Target"->"PlayerPro"];

NotebookClose[nb];

The command to remove Wolfram bar is commented.

Source Link
Murta
  • 26.4k
  • 6
  • 77
  • 168
Loading