Questions related to the Mathematica front-end (graphical user interface).

learn more… | top users | synonyms

0
votes
2answers
42 views

Show a part of the output but be able to work further with the full output [on hold]

Is it possible to display a portion of the output without dropping the hidden data? For example, when I use Shallow, a part of the output is actually dropped.
3
votes
1answer
65 views

How to get the size of a specific image in the front end?

The title pretty much says it all. One possible point of confusion is that this question is not limited to items with head Image. I don't know what is the ...
2
votes
1answer
43 views

How to access the string of the cell I am typing?

I'm trying to map a keyboard shortcut to google search the contents of the cell I am typing. Here is my code so far: ...
0
votes
0answers
19 views

autocomplete or forward search input histories

I think there are many bash users here. In bash, a forward search of input histories can be done by Ctrl+r, which let you edit your previous similar input and reuse it. Is there a similar function in ...
0
votes
0answers
38 views

How to launch the browser with a given url programatically? [duplicate]

The front-end can do this already for hyperlinks... I was wonder how to do this in general.
20
votes
1answer
166 views

Is there any Mathematica functionality enabling its use for the blind?

A colleague of mine has become blind as the result of a sudden medical misfortune. We want to help him to feel useful and active again. We, however, still cannot determine what can be done and to what ...
7
votes
0answers
59 views

Floating highlighting bug [duplicate]

At some random point in time the highlighting does not disappear any more. By highlighting I mean transparent boxes appearing for find feature indicating found object, cursor highlighting once you ...
4
votes
0answers
48 views

NotebookWrite a Cell with WholeCellGroupOpener option

Why NotebookWrite[ EvaluationNotebook[], Cell["ZZ", "Section", WholeCellGroupOpener -> True] ] produces: ...
1
vote
0answers
66 views

Software Testing (Dynamic, Manipulate, DynamicModule) Interfaces

The main Testing Framework (in both the frontend and Wolfram Workbench) supports unit testing for command-line invocations. Is there a natural way of co-opting this, or perhaps there already exist ...
5
votes
0answers
43 views

How is CellContext->CellGroup supposed to work?

After reading the documentation on the subject, I still cannot get CellContext->CellGroup to work. Here's a simple example. (Unfortunately, I cannot easily ...
17
votes
1answer
205 views

Is it possible to maintain user-defined shortcuts in a web-installable package?

There are various posts here on this site about how to add user defined extra keyboard shortcuts for the front end. The problem is how to put them into a better maintable and properly documented ...
7
votes
1answer
81 views

How to sort cells?

Is there a way to programmatically reorder the section cells in a notebook alphabetically? For example:
0
votes
0answers
25 views

Entire notebook merged to one cell after crash

I have just reopened a notebook in Mathematica 10.1 after a crash, and find all cells have been merged, including the labels on input and output cells (In[202] := ...
2
votes
0answers
61 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug reproduced in V10.1 on Win7 I have a problem with images with alpha channel which I want to use as labels on Button etc. Unless I scroll or move cursor over ...
2
votes
0answers
41 views

Mathematica 8 sometimes hangs up over a simple instruction - ask more and it may unhang

Lately Mathematica 8 seems to have an 'underload' buffer where the current instruction is not executed unless it is given a few more tasks to do. This is very weird. Sometimes it takes just one more ...
1
vote
1answer
29 views

How to unset an notebook option programmatically?

This question is related, but not identical, to this one. Suppose one sets a notebook option like this SetOptions[EvaluationNotebook[], Foo->Bar]; ...and ...
0
votes
0answers
40 views

Is there a way to fully restart a Mathematica session from the front end? [duplicate]

Sometimes my Mathematica environment gets sufficiently fouled up that a full restart is the best way to move forward. By "full restart" I mean the equivalent of running ...
0
votes
1answer
56 views

Can one upgrade versions directly from Mathematica front end?

The copy of Mathematica I use I get through work. Upgrading this copy is always I time-consuming, pointless chore. I think all of it could be automated. Which makes me wonder: Is there any way to ...
1
vote
1answer
59 views

How to make Mathematica use system GTK style under Linux?

Under Linux, Mathematica uses preinstalled QT themes, but I'm sure that it's possible to make it use system GTK style. How?
0
votes
0answers
45 views

Alt drag does not work properly

When a graphics is displayed, right clicking will bring up the Get Coordinates tool. To select a rectangular region, you can do it manually by selecting the two corners and Alt+C will copy these two ...
3
votes
0answers
72 views

How to export a Mathematica notebook into Markdown?

Is there a way to do this other than html + pandoc?
5
votes
1answer
50 views

Update/refresh notebook variable color on clear

By default, Mathematica displays variable names already assigned as black while new variables are displayed in blue. When executing Clear["Global`*"], variables ...
17
votes
2answers
548 views

What is the FrontEnd?

Can anyone sort out what the Front-End is, how it is structured and what its relationship to the Kernel is. The FrontEnd is mentioned quite often but elusively avoids to be caught and clearly defined. ...
0
votes
0answers
33 views

Some unexpected behaviour with StyleKeyMapping

Start with a fresh front end & kernel. The expected behaviour with an Input cell should be like this: Input 1and delete ...
10
votes
1answer
252 views

Is there a programmatic equivalent of Edit > Find…?

Most things that can be done via the front-end interface in Mathematica can also be accomplished by some function. Is that the case for find-and-replacing? That is, is there some code I could execute ...
5
votes
1answer
49 views

How to set different default cell per section?

In various sections in my notebook I'd like the default cell type to be different, if possible, how can I specify this?
4
votes
1answer
65 views

Is it possible to get the locations and dimensions of all boxes in a StandardForm expression renderation?

I can select all the boxes in a StandardForm rendered expression, like I've selected the left parenthesis in the picture above. Is it possible to get the positions and dimensions of all of these ...
4
votes
1answer
74 views

How can I import html fragments as formatted cells?

I see that there is limited support for "HTMLFragment" in Export, but I figured with all the work that went into porting Mathematica into the Wolfram Cloud there should be a way to Import ...
1
vote
1answer
38 views

Can one put event listeners to parts of StandardForm expression?

I have a StandardForm expression Is it possible to add an event listener to the variables, parentheses, and plus signs so that when I click them their color changes for example. Maybe it would be ...
3
votes
0answers
50 views

How can I programmatically ungroup cells [closed]

I have a series of ~500 notebook files (created by a colleague), which somehow have had their cell groups modified from the default (perhaps accidentally by said colleague). In order to extract the ...
1
vote
0answers
57 views

Is there a way to simulate / spoof a keypress? [duplicate]

I'm trying to test the functionality of a Dialog window in Mathematica in an automated way. To do so, I need to be able to simulate keypresses to trigger UI elements programmatically. Is there a way ...
2
votes
2answers
69 views

Why doesn't Quantity accept a Dynamic expression as a second argument?

If anyone can help me with this, it would be greatly appreciated. I'm using the following code with the intent of using controls to easily input values and units: ...
1
vote
1answer
49 views

How do you programmatically update a tag using the TaggingRules mechanism?

Consider the following simple front-end code: ...
1
vote
1answer
40 views

Out labels looks strange after turning on magnification

As everything in Mathematica looks too small to me, so I turned on magnification when I am working. It looks good on windows: However, the Out tag is dislocated ...
2
votes
1answer
84 views

Package editor interface

Is there a way to get rid of the unused space on the left of the package editor? What is it's purpose if I configured Mathematica to not show In and ...
4
votes
1answer
144 views

How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
19
votes
1answer
714 views

Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X Yosemite 10.10.3 on the following configuration: ...
4
votes
1answer
71 views

Dynamic cells after Kernel restart/quit:

After quitting the kernel only one Dynamic cell fires. And it does not matter how many are there. ...
2
votes
1answer
38 views

Strange evaluating indication of output cells

Something like this happened when I was working with two Manipulate cells. I saved the notebook, duplicated it and only keep these two cells, and opened the ...
1
vote
0answers
34 views

auto save a notebook using init.m

I tried to make mathematica autosave as default, so I put Sjoerd C. de Vries's code ...
5
votes
1answer
66 views

Is there a way to change the indentation behavior of the postfix operator //?

For example, using newlines after // results in some really weird indentation: Ideally, I'd love to be able to do something like this: ...
0
votes
0answers
33 views

How to set DisplayFormulaNumbered Font style to Times New Roman?

I'm writing a lecture notes with lots of formula in notebook which will be saved as pdf later. In my notes many DisplayFormulaNumbered cells were used, where the default FontStyle were Arial, which ...
1
vote
1answer
39 views

Consistency between MousePosition and WindowMargins

MousePosition["ScreenAbsolute"] absolute position within the complete screen display WindowMargins specifies the ...
0
votes
0answers
35 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
3
votes
4answers
115 views

How to combine selected out cells into a list? [closed]

I have a loop that was printing out results, and now I'm left with many cells in different sections and I need to combine them (the values in them) into a list I can work with. For example, applied to ...
3
votes
1answer
79 views

Show Full Output button broken for all large outputs

I use Mathematica 9.0.1.0 on Mac OS X 10.10.3. As an example of my issue, we can follow along with the example from the documentation page for $OutputSizeLimit. ...
3
votes
1answer
62 views

How to stop a Dynamic[] in one notebook from hurting performance in another?

I have two notebooks open, one has a dynamic expression running (a simple clock) ...
2
votes
1answer
109 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is on top visible, and execution of code look at the bottom? Is there any way to clean the screen from previous runs, so that the result of ...
10
votes
1answer
89 views

Prompt a set of possible options

Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing Plot[x, {x,0,1}, PlotStyle-> After typing the arrow, ...
0
votes
1answer
39 views

Clicking on “Show all results” in a W|A pod hangs Mathematica

I am trying the brand new trial version. I type in =Forest Gump, then the Enter key. The input turns into a box with a plus sign in the upper right corner. When I ...