New answers tagged

1

This has been filed and officially accepted as an issue: Thank you for contacting Wolfram Technical Support. I was able to reproduce the issue, and consequently, I filed a report with our development team raising the issues and also shared your contact information with them so you can be notified once the issue is resolved. Thank you again for ...


2

It is usually possible to query properties of entities. That makes it easier to discover how to extract information. Code: ent = Entity["HistoricalEvent", "AlanTuring"] ent["Properties"] InputForm[%] ent["Name"] (I'm not really sure why ent doesn't display properly on my machine...)


4

With the same historicalEvents = EntityList[Entity["HistoricalEvent"]]; as in the answer by Martin John Hadley. One can generate the same historicalEntityNames using historicalEntityNames = <|"EntityName" -> #1, "DisplayedName" -> #2|> & @@@ Transpose[{CanonicalName@historicalEvents, CommonName@historicalEvents}] or ...


3

All of the HistoricalEvents in the Wolfram Knowledgebase are accessible as follows: historicalEvents = EntityList[Entity["HistoricalEvent"]]; Using ToBoxes the display form of the Entity can be seen: ToBoxes[historicalEvents[[1]]] (*TemplateBox[{"\"Alan Turing writes his influential paper, \\\"On \ Computable Numbers\\\"\"", RowBox[{"Entity", "[", ...


2

You can Get the palette, then apply MakeExpression in order to convert boxes into the corresponding high-level expression, and then display the result as InputForm. For example: palette = Get@ FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "Palettes", "SlideShow.nb"}]; InputForm @@ MakeExpression[palette, StandardForm] If you ...


1

Actually I think you can use NotebookGet to get the code of the palettes. With only your notebook and palette opened, Using NotebookGet@Notebooks[][[2]] can get you the expression form, if that's what you need. But the problem is that this result, just like other outputs of NotebookGet, is full of Cell or CellBox or so, actually still hard to read. But the ...



Top 50 recent answers are included