Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = {Cell[
- CellGroupData[{Cell[
- BoxData[{RowBox[{RowBox[{RowBox[{"GetCode", "[", "]"}], " ",
- ":=", RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"StyleBox", "[", "\[IndentingNewLine]",
- RowBox[{RowBox[{"DynamicBox", "[",
- RowBox[{"ToBoxes", "[",
- RowBox[{RowBox[{"Refresh", "[",
- "\[IndentingNewLine]", "\[IndentingNewLine]",
- RowBox[{RowBox[{"InputForm", "@@",
- RowBox[{"MakeExpression", "@",
- "\[IndentingNewLine]",
- RowBox[{"First", "@",
- RowBox[{"First", "@",
- RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}],
- ",", "___"}], "]"}], ",", "Infinity"}],
- "]"}]}]}]}]}], "\[IndentingNewLine]",
- "\[IndentingNewLine]", ",", " ",
- RowBox[{"UpdateInterval", " ", "->", " ", "1"}]}],
- "]"}], ",", " ", "StandardForm"}], "]"}],
- "\[IndentingNewLine]", "]"}], ",",
- RowBox[{"StripOnInput", "->", "False"}], ",",
- RowBox[{"LineColor", "->",
- RowBox[{"GrayLevel", "[", "0.5", "]"}]}], ",",
- RowBox[{"FrontFaceColor", "->",
- RowBox[{"GrayLevel", "[", "0.5", "]"}]}], ",",
- RowBox[{"BackFaceColor", "->",
- RowBox[{"GrayLevel", "[", "0.5", "]"}]}], ",",
- RowBox[{"GraphicsColor", "->",
- RowBox[{"GrayLevel", "[", "0.5", "]"}]}], ",",
- RowBox[{"FontColor", "->",
- RowBox[{"GrayLevel", "[", "0.5", "]"}]}]}], "]"}],
- "\[IndentingNewLine]", "]"}], ",", " ",
- "\"Output\"", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyCode\""}]}],
- "]"}]}], ";"}], "\[IndentingNewLine]",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{RowBox[{"DynamicQ", "[", "]"}], " ", ":=",
- " ", RowBox[{"(", "\[IndentingNewLine]",
- RowBox[{RowBox[{"Length", "@",
- RowBox[{"Cases", "[", "\[IndentingNewLine]",
- RowBox[{RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyCode\""}],
- ",", "___"}], "]"}], ",", "Infinity"}], "]"}],
- "\[IndentingNewLine]", ",",
- RowBox[{"DynamicBox", "[", "___", "]"}],
- "\[IndentingNewLine]", ",", "Infinity"}], "]"}]}],
- "\[Equal]", "1"}], "\[IndentingNewLine]", ")"}]}],
- ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
- RowBox[{RowBox[{"CellPrint", "@",
- RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"ToBoxes", "[", "\[IndentingNewLine]",
- RowBox[{"Graphics", "[",
- RowBox[{RowBox[{"{", RowBox[{"Circle", "[", "]"}],
- "}"}], ",",
- RowBox[{"ImageSize", "\[Rule]",
- RowBox[{"{", RowBox[{"100", ",", "Automatic"}],
- "}"}]}]}], "]"}], "\[IndentingNewLine]", "]"}],
- "]"}], ",", "\"Output\"", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}]}],
- "]"}]}], ";"}], "\[IndentingNewLine]",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"Print", "[",
- RowBox[{RowBox[{"Button", "[",
- RowBox[{"\"Diable/Enable Dynamic\"", ",",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"If", "[",
- RowBox[{RowBox[{"DynamicQ", "[", "]"}], ",",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"NotebookLocate", "[",
- "\"MyCode\"", "]"}], ";", "\[IndentingNewLine]",
- RowBox[{"code", " ", "=", " ",
- RowBox[{"InputForm", "@@",
- RowBox[{"MakeExpression", "@",
- "\[IndentingNewLine]",
- RowBox[{"First", "@",
- RowBox[{"First", "@",
- RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}],
- ",", "___"}], "]"}], ",", "Infinity"}],
- "]"}]}]}]}]}]}], ";", "\[IndentingNewLine]",
- RowBox[{"NotebookWrite", "[",
- RowBox[{RowBox[{"EvaluationNotebook", "[", "]"}],
- ",", RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- "\[IndentingNewLine]",
- RowBox[{"ToBoxes", "[", "code", "]"}],
- "\[IndentingNewLine]", "]"}], ",", "\"Input\"",
- ",", RowBox[{"CellTags", "\[Rule]",
- "\"MyCode\""}]}], "]"}]}], "\[IndentingNewLine]",
- "]"}], ";"}], "\[IndentingNewLine]", ",",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"NotebookLocate", "[",
- "\"MyCode\"", "]"}], ";", "\[IndentingNewLine]",
- RowBox[{"NotebookWrite", "[",
- RowBox[{RowBox[{"EvaluationNotebook", "[", "]"}],
- ",", RowBox[{"GetCode", "[", "]"}]}], "]"}],
- ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
- "\[IndentingNewLine]", "]"}],
- RowBox[{"Button", "[",
- RowBox[{"\"Update Graphics\"", ",",
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"NotebookLocate", "[",
- "\"MyGraphic\"", "]"}], ";",
- "\[IndentingNewLine]",
- RowBox[{"NotebookWrite", "[",
- RowBox[{RowBox[{"EvaluationNotebook", "[", "]"}],
- ",", "\[IndentingNewLine]",
- RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- "\[IndentingNewLine]",
- RowBox[{"ToBoxes", "@",
- RowBox[{"ReleaseHold", "@",
- RowBox[{"MakeExpression", "@",
- RowBox[{"First", "@",
- RowBox[{"First", "@",
- RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyCode\""}],
- ",", "___"}], "]"}], ",",
- RowBox[{"{", "1", "}"}]}], "]"}]}]}]}]}]}],
- "\[IndentingNewLine]", "]"}], ",", "\"Input\"",
- ",", RowBox[{"CellTags", "\[Rule]",
- "\"MyGraphic\""}]}], "]"}]}],
- "\[IndentingNewLine]", "]"}], ";"}]}],
- "\[IndentingNewLine]", "]"}]}],
- "\[IndentingNewLine]", "]"}], ";"}],
- "\[IndentingNewLine]",
- RowBox[{RowBox[{"CellPrint", "@",
- RowBox[{"GetCode", "[", "]"}]}], ";"}],
- "\[IndentingNewLine]",
- RowBox[{"(*", " ",
- RowBox[{RowBox[{"CellPrint", "@",
- RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[", "\n", " ",
- RowBox[{"DynamicBox", "[",
- RowBox[{RowBox[{"ToBoxes", "[", "\n", " ",
- RowBox[{RowBox[{"Refresh", "[",
- "\[IndentingNewLine]", "\[IndentingNewLine]",
- RowBox[{RowBox[{"ToBoxes", "@@",
- RowBox[{"MakeExpression", "@",
- RowBox[{"First", "@",
- RowBox[{"First", "@",
- RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}],
- ",", "___"}], "]"}], ",", "Infinity"}],
- "]"}]}]}]}]}], "\[IndentingNewLine]",
- "\[IndentingNewLine]", ",", " ",
- RowBox[{"UpdateInterval", " ", "->", " ", "1"}]}],
- "]"}], ",", " ", "StandardForm"}], "]"}], ",",
- "\n", " ",
- RowBox[{"ImageSizeCache", "->",
- RowBox[{"{",
- RowBox[{"7.", ",", " ",
- RowBox[{"{", RowBox[{"0.", ",", " ", "7."}],
- "}"}]}], "}"}]}]}], "]"}], "]"}], ",", " ",
- "\"Input\"", ",", "\n", " ",
- RowBox[{"CellChangeTimes", "->",
- RowBox[{"{", "3.5839336357137146`*^9", "}"}]}]}],
- "]"}]}], ";"}], " ", "*)"}]}], "Input",
- CellChangeTimes -> {{3.583934510565753`*^9,
- 3.583934511856827`*^9}, {3.583934664748572`*^9,
- 3.5839346658266335`*^9}, {3.5839347013006625`*^9,
- 3.5839347413869553`*^9}, {3.5840371605430984`*^9,
- 3.5840371644633226`*^9}, {3.584037543148982`*^9,
- 3.5840375483802814`*^9}, {3.5840376301689596`*^9,
- 3.58403763314813`*^9}, {3.5840379794969397`*^9,
- 3.5840379849482517`*^9}, {3.584038161913374`*^9,
- 3.5840381620333805`*^9}, {3.5840382216817923`*^9,
- 3.5840382347065372`*^9}, {3.584038314514102`*^9,
- 3.584038404605255`*^9}, {3.584038532517571`*^9,
- 3.584038597695299`*^9}, {3.584038687541438`*^9,
- 3.5840386918726854`*^9}, {3.584039048367076`*^9,
- 3.584039061991855`*^9}, {3.5840390957977886`*^9,
- 3.5840391146768684`*^9}, {3.5840391487528176`*^9,
- 3.584039223027066`*^9},
- 3.584039294112132`*^9, {3.5840393403057737`*^9,
- 3.5840393424338956`*^9}, {3.584039422535477`*^9,
- 3.5840394380653653`*^9}, {3.584039583294672`*^9,
- 3.58403964007292`*^9}, {3.5840397635889845`*^9,
- 3.584039787743366`*^9}, {3.5840398667668858`*^9,
- 3.58403996369843`*^9}, {3.5840997717017965`*^9,
- 3.584099772842862`*^9}, {3.584099821697656`*^9,
- 3.584099905367442`*^9}, {3.5840999484909086`*^9,
- 3.584099982721866`*^9}, {3.5841018839826117`*^9,
- 3.584101910102106`*^9}, {3.5841019486933136`*^9,
- 3.58410195248053`*^9}, {3.5841019847563763`*^9,
- 3.5841020516122`*^9}, {3.584102213812477`*^9,
- 3.584102344090929`*^9}, {3.5841025149507017`*^9,
- 3.584102539470104`*^9}, {3.5841026849254236`*^9,
- 3.5841026889376526`*^9}, {3.584102849067812`*^9,
- 3.58410289659053`*^9}, {3.584132219720541`*^9,
- 3.5841322320532465`*^9}, {3.584132266697228`*^9,
- 3.5841323003051505`*^9}, {3.5841323337920656`*^9,
- 3.5841323644888215`*^9}, {3.584132415197722`*^9,
- 3.584132534840565`*^9}, {3.5841326039095154`*^9,
- 3.584132614673131`*^9}, {3.5841327004370365`*^9,
- 3.584132728187624`*^9}, {3.5841327914192405`*^9,
- 3.584132819161827`*^9}, {3.5841329657822137`*^9,
- 3.584133012077862`*^9}, {3.584133806760315`*^9,
- 3.5841338189360113`*^9}, {3.5841338991816006`*^9,
- 3.584133943612142`*^9}, {3.584138353766389`*^9,
- 3.584138354630438`*^9}, {3.5841384593294263`*^9,
- 3.584138460711506`*^9},
- 3.584138694563881`*^9, {3.584210382251153`*^9,
- 3.5842103875574565`*^9}, 3.584210656479838`*^9,
- 3.5842108551071987`*^9, {3.584211265046646`*^9,
- 3.5842112683858366`*^9},
- 3.5842113075620775`*^9, {3.584313369762908`*^9,
- 3.584313370790967`*^9}, {3.584836878760091`*^9,
- 3.5848368798441525`*^9}}],
- Cell[BoxData[
- GraphicsBox[CircleBox[{0, 0}],
- ImageSize -> {100, Automatic}]], "Output",
- CellChangeTimes -> {3.5843176186689315`*^9},
- CellTags -> "MyGraphic"],
- Cell[BoxData[
- RowBox[{ButtonBox["\"Diable/Enable Dynamic\"",
- Appearance -> Automatic,
- ButtonFunction :> (If[$CellContext`DynamicQ[],
- NotebookLocate["MyCode"]; $CellContext`code =
- InputForm @@
- MakeExpression[
- First[First[
- Cases[NotebookGet[EvaluationNotebook[]][[1]],
- Cell[___,
- CellTags -> "MyGraphic", ___], \[Infinity]]]]];
- NotebookWrite[EvaluationNotebook[],
- Cell[BoxData[ToBoxes[$CellContext`code]], "Input",
- CellTags -> "MyCode"]];, NotebookLocate["MyCode"];
- NotebookWrite[
- EvaluationNotebook[], $CellContext`GetCode[]];];),
- Evaluator -> Automatic, Method -> "Preemptive"], " ",
- ButtonBox["\"Update Graphics\"", Appearance -> Automatic,
- ButtonFunction :> (NotebookLocate["MyGraphic"];
- NotebookWrite[EvaluationNotebook[],
- Cell[BoxData[
- ToBoxes[
- ReleaseHold[
- MakeExpression[
- First[First[
- Cases[NotebookGet[EvaluationNotebook[]][[1]],
- Cell[___, CellTags -> "MyCode", ___], {1}]]]]]]],
- "Input", CellTags -> "MyGraphic"]];),
- Evaluator -> Automatic, Method -> "Preemptive"]}]],
- "Print", CellChangeTimes -> {3.5843176187029333`*^9}],
- Cell[
- BoxData[StyleBox[
- DynamicBox[
- ToBoxes[Refresh[
- InputForm @@
- MakeExpression[
- First[First[
- Cases[NotebookGet[EvaluationNotebook[]][[1]],
- Cell[___,
- CellTags -> "MyGraphic", ___], \[Infinity]]]]],
- UpdateInterval -> 1], StandardForm],
- ImageSizeCache -> {385.`, {2.`, 8.`}}],
- StripOnInput -> False, LineColor -> GrayLevel[0.5`],
- FrontFaceColor -> GrayLevel[0.5`],
- BackFaceColor -> GrayLevel[0.5`],
- GraphicsColor -> GrayLevel[0.5`],
- FontColor -> GrayLevel[0.5`], $CellContext`BackFaceColor ->
- GrayLevel[0.5`]]], "Output",
- CellChangeTimes -> {3.584317618704934`*^9},
- CellTags -> "MyCode"]}, Open]],
- Cell[CellGroupData[{Cell[
- BoxData[RowBox[{"InputForm", "@@",
- RowBox[{"MakeExpression", "@", "\[IndentingNewLine]",
- RowBox[{"First", "@",
- RowBox[{"First", "@", "\[IndentingNewLine]",
- RowBox[{"Cases", "[",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}],
- "[", RowBox[{"[", "1", "]"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}],
- ",", "___"}], "]"}], ",", "Infinity"}],
- "]"}]}]}]}]}]], "Input",
- CellChangeTimes -> {3.5848369570215673`*^9}],
- Cell[BoxData[
- RowBox[{StyleBox[RowBox[{"First", "::", "first"}],
- "MessageName"], RowBox[{":", " "}],
- "\"\[NoBreak]\\!\\({}\\)\[NoBreak] has a length of zero and \
- no first element. \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \
- ButtonStyle->\\\"Link\\\", ButtonFrame->None, \
- ButtonData:>\\\"paclet:ref/message/First/first\\\", ButtonNote -> \
- \\\"First::first\\\"]\\)\""}]], "Message", "MSG",
- CellChangeTimes -> {3.5843180161496663`*^9, \
- {3.584836814211399`*^9, 3.584836816291518`*^9},
- 3.584836957961621`*^9}],
- Cell["Graphics[Circle[{0, 0}], ImageSize -> {100, Automatic}]",
- "Output",
- CellChangeTimes -> {3.584318016150666`*^9, \
- {3.584836814249401`*^9, 3.5848368162925177`*^9},
- 3.584836957963621`*^9}]}, Open]],
- Cell[CellGroupData[{Cell[
- BoxData[RowBox[{"Cases", "[", "\[IndentingNewLine]",
- RowBox[{RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}], "[",
- RowBox[{"[", "1", "]"}], "]"}], ",",
- "\[IndentingNewLine]",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}], ",",
- "___"}], "]"}], "\[IndentingNewLine]", ",",
- "Infinity"}], "]"}]], "Input",
- CellChangeTimes -> {{3.5843181415298376`*^9,
- 3.584318143646959`*^9}, {3.584836969275268`*^9,
- 3.584836974414562`*^9}, {3.584837113038491`*^9,
- 3.584837114699586`*^9}, {3.5848383830785294`*^9,
- 3.5848383980623865`*^9}}],
- Cell[BoxData[
- RowBox[{StyleBox[RowBox[{"First", "::", "first"}],
- "MessageName"], RowBox[{":", " "}],
- "\"\[NoBreak]\\!\\({}\\)\[NoBreak] has a length of zero and \
- no first element. \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \
- ButtonStyle->\\\"Link\\\", ButtonFrame->None, \
- ButtonData:>\\\"paclet:ref/message/First/first\\\", ButtonNote -> \
- \\\"First::first\\\"]\\)\""}]], "Message", "MSG",
- CellChangeTimes -> {{3.5848383945551863`*^9,
- 3.5848383984854107`*^9}}],
- Cell[BoxData[
- RowBox[{"{",
- RowBox[{RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"GraphicsBox", "[",
- RowBox[{RowBox[{"CircleBox", "[",
- RowBox[{"{", RowBox[{"0", ",", "0"}], "}"}],
- "]"}], ",",
- RowBox[{"ImageSize", "\[Rule]",
- RowBox[{"{", RowBox[{"100", ",", "Automatic"}],
- "}"}]}]}], "]"}], "]"}], ",", "\"Output\"", ",",
- RowBox[{"CellChangeTimes", "\[Rule]",
- RowBox[{"{", "3.5843176186689315`*^9", "}"}]}], ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}]}],
- "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}], ",",
- "___"}], "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"RowBox", "[",
- RowBox[{"{", RowBox[{"\"{\"", ",", "\"}\""}],
- "}"}], "]"}], "]"}], ",", "\"Input\"", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}]}],
- "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"___", ",",
- RowBox[{"CellTags", "\[Rule]", "\"MyGraphic\""}], ",",
- "___"}], "]"}]}], "}"}]], "Output",
- CellChangeTimes -> {3.5843180264642563`*^9,
- 3.5843180997124457`*^9, {3.5843181444170027`*^9,
- 3.5843181721985917`*^9},
- 3.5848368246919985`*^9, {3.584836895896071`*^9,
- 3.5848368971051397`*^9}, 3.5848369698733025`*^9,
- 3.584837115143611`*^9, {3.584838380405377`*^9,
- 3.584838398486411`*^9}}]}, Open]],
- Cell[CellGroupData[{Cell[
- BoxData[RowBox[{RowBox[{"NotebookGet", "[",
- RowBox[{"EvaluationNotebook", "[", "]"}], "]"}], "[",
- RowBox[{"[", "1", "]"}], "]"}]], "Input",
- CellChangeTimes -> {{3.5848385435387077`*^9,
- 3.5848385438907275`*^9}, {3.5848389493499184`*^9,
- 3.5848389502899723`*^9}}],
- Cell[BoxData[
- InterpretationBox[
- TagBox[PanelBox[
- GridBox[{{StyleBox[
- StyleBox[
- DynamicBox[
- ToBoxes[
- FEPrivate`FrontEndResource["FEStrings",
- "sizeExplanation"], StandardForm],
- ImageSizeCache -> {299.`, {3.`, 9.`}}],
- StripOnInput -> False, DynamicUpdating -> True],
- "Panel", StripOnInput -> False,
- Background -> None]}, {ItemBox[
- TagBox[RowBox[{"{",
- RowBox[{RowBox[{"Cell", "[",
- RowBox[{"CellGroupData", "[",
- RowBox[{RowBox[{"{",
- RowBox[{RowBox[{"Cell", "[",
- RowBox[{"\[LeftSkeleton]", "1",
- "\[RightSkeleton]"}], "]"}], ",",
- RowBox[{"\[LeftSkeleton]", "3",
- "\[RightSkeleton]"}]}], "}"}], ",", "Open"}],
- "]"}], "]"}], ",",
- RowBox[{"\[LeftSkeleton]", "2",
- "\[RightSkeleton]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{"CellGroupData", "[",
- RowBox[{RowBox[{"{",
- RowBox[{RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{"\"x\"", ",", "\" \"", ",", "\"=\"", ",",
- "\" \"", ",",
- RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{"\"NotebookGet\"", ",", "\"[\"", ",",
- RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{"\"EvaluationNotebook\"", ",", "\"[\"",
- ",", "\"]\""}], "}"}], "]"}], ",", "\"]\""}],
- "}"}], "]"}], ",", "\"[\"", ",",
- RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{"\"[\"", ",", "\"1\"", ",", "\"]\""}],
- "}"}], "]"}], ",", "\"]\""}], "}"}], "]"}]}],
- "}"}], "]"}], "]"}], ",", "\"Input\"", ",",
- RowBox[{"CellChangeTimes", "\[Rule]",
- RowBox[{"{",
- RowBox[{"{",
- RowBox[{"3.5848385435387077`*^9", ",",
- "3.5848385438907275`*^9"}], "}"}], "}"}]}]}],
- "]"}], ",",
- RowBox[{"Cell", "[",
- RowBox[{RowBox[{"BoxData", "[",
- RowBox[{"RowBox", "[",
- RowBox[{"{",
- RowBox[{"\"{\"", ",",
- RowBox[{"\[LeftSkeleton]", "1",
- "\[RightSkeleton]"}], ",", "\"}\""}], "}"}],
- "]"}], "]"}], ",",
- RowBox[{"\"\"", "\[Ellipsis]", "\"t\""}], ",",
- RowBox[{"\[LeftSkeleton]", "1",
- "\[RightSkeleton]"}]}], "]"}]}], "}"}], ",",
- "Open"}], "]"}], "]"}]}], "}"}], \!\(\*
- TagBox["#1",
- Short[#, 5]& ]\) &], Background -> GrayLevel[1],
- BaseStyle -> {Deployed -> False}, Frame -> True,
- FrameStyle -> GrayLevel[0, 0.2`],
- StripOnInput ->
- False]}, {RowBox[{ButtonBox[
- StyleBox[
- StyleBox[
- DynamicBox[
- ToBoxes[
- FEPrivate`FrontEndResource["FEStrings",
- "sizeShowLess"], StandardForm],
- ImageSizeCache -> {54.`, {1.`, 9.`}}],
- StripOnInput -> False, DynamicUpdating -> True],
- "Panel", StripOnInput -> False, Background -> None],
- Appearance -> Automatic,
- ButtonFunction :>
- OutputSizeLimit`ButtonFunction[Identity, 1725,
- 23491724622806668580, 5/2], Enabled -> True,
- Evaluator -> Automatic, Method -> "Queued"],
- "\[ThinSpace]",
- ButtonBox[
- StyleBox[
- StyleBox[
- DynamicBox[
- ToBoxes[
- FEPrivate`FrontEndResource["FEStrings",
- "sizeShowMore"], StandardForm],
- ImageSizeCache -> {60.`, {1.`, 9.`}}],
- StripOnInput -> False, DynamicUpdating -> True],
- "Panel", StripOnInput -> False, Background -> None],
- Appearance -> Automatic,
- ButtonFunction :>
- OutputSizeLimit`ButtonFunction[Identity, 1725,
- 23491724622806668580, 5 2], Enabled -> True,
- Evaluator -> Automatic, Method -> "Queued"],
- "\[ThinSpace]",
- ButtonBox[
- StyleBox[
- StyleBox[
- DynamicBox[
- ToBoxes[
- FEPrivate`FrontEndResource["FEStrings",
- "sizeShowAll"], StandardForm],
- ImageSizeCache -> {92.`, {3.`, 9.`}}],
- StripOnInput -> False, DynamicUpdating -> True],
- "Panel", StripOnInput -> False, Background -> None],
- Appearance -> Automatic,
- ButtonFunction :>
- OutputSizeLimit`ButtonFunction[Identity, 1725,
- 23491724622806668580, \[Infinity]],
- Enabled -> True, Evaluator -> Automatic,
- Method -> "Queued"], "\[ThinSpace]",
- ButtonBox[
- StyleBox[
- StyleBox[
- DynamicBox[
- ToBoxes[
- FEPrivate`FrontEndResource["FEStrings",
- "sizeChangeLimit"], StandardForm],
- ImageSizeCache -> {78.`, {1.`, 9.`}}],
- StripOnInput -> False, DynamicUpdating -> True],
- "Panel", StripOnInput -> False, Background -> None],
- Appearance -> Automatic,
- ButtonFunction :>
- FrontEndExecute[{FrontEnd`SetOptions[
- FrontEnd`$FrontEnd,
- FrontEnd`PreferencesSettings -> {"Page" ->
- "Evaluation"}],
- FrontEnd`FrontEndToken["PreferencesDialog"]}],
- Evaluator -> None, Method -> "Preemptive"]}]}},
- GridBoxAlignment -> {"Columns" -> {{Left}},
- "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}},
- "RowsIndexed" -> {}},
- GridBoxDividers -> {"Columns" -> {{False}},
- "ColumnsIndexed" -> {}, "Rows" -> {{False}},
- "RowsIndexed" -> {}},
- GridBoxItemSize -> {"Columns" -> {{Automatic}},
- "ColumnsIndexed" -> {}, "Rows" -> {{1.`}},
- "RowsIndexed" -> {}},
- GridBoxSpacings -> {"Columns" -> {Offset[
- 0.27999999999999997`], {Offset[0.5599999999999999`]},
- Offset[0.27999999999999997`]},
- "ColumnsIndexed" -> {},
- "Rows" -> {Offset[0.2`], {Offset[1.2`]}, Offset[0.2`]},
- "RowsIndexed" -> {}}], DefaultBaseStyle -> {},
- FrameMargins -> 5], Deploy,
- DefaultBaseStyle -> {Deployed -> True}], %1725]], "Output",
- CellChangeTimes -> {{3.584838541877612`*^9,
- 3.5848385451267986`*^9}}]}, Open]]};
- Cases[x,
- Cell[___, CellTags -> "MyGraphic", ___]
- , Infinity]
- (* First::first: {} has a length of zero and no first element. >> *)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement