4
$\begingroup$

I wanted to know how this "Saving to the Wolfram Cloud" message works?

enter image description here

It's useful because it hovers above the notebook's content even when scrolling and I'd like to change the text and reuse it for my own purposes.

$\endgroup$
  • $\begingroup$ DockedCells? StatusArea? WindowStatusarea? Those all came to mind when you described this, but I don't think any of them achieve it immediately. But they may help :) $\endgroup$ – user6014 Dec 28 '16 at 21:01
  • $\begingroup$ @Kuba only for a second while saving the notebook to the cloud $\endgroup$ – user5601 Jan 4 '17 at 0:05
5
$\begingroup$

That is almost certainly an AttachedCell, an undocumented feature which proves to be very useful.

MathLink`CallFrontEnd[FrontEnd`AttachCell[
  EvaluationNotebook[],
  Cell[BoxData@ToBoxes@Panel@DateString[]],
  Bottom, Bottom,
  "ClosingActions" -> {"OutsideMouseClick"}]
]

enter image description here

This will attatch a cell at the bottom of the notebook. You can leave ClosingActions empty if you want it to stay there. Or change it but do not put there "ParentChanged" item. This will crash the front end.

More info about syntax:

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.