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

learn more… | top users | synonyms

0
votes
0answers
40 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.
21
votes
1answer
207 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
1answer
729 views

Mathematica 10 crashes on copy/paste

Mathematica 10 crashes in the following (simple) situation: FormulaLookup["gas"] This command will produce a long list of possible formulas. Then I type the ...
15
votes
1answer
368 views

What is the complete list of valid FrontEnd Packet types?

In response to my question How can I get the unchanged Box form of an arbitrary expression? John Fultz answered with a method using the hilariously named ...
1
vote
0answers
82 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 ...
7
votes
0answers
81 views

NotebookWrite a Cell with WholeCellGroupOpener option [duplicate]

Why NotebookWrite[ EvaluationNotebook[], Cell["ZZ", "Section", WholeCellGroupOpener -> True] ] produces: ...
5
votes
0answers
50 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 ...
7
votes
1answer
145 views

Is it possible to recover the style of the previous version(V8,V9) in Windows?

In Wolfram Mathematica 10 (Windows paltform),the menu bar and files are combined together.When I narrow the window,it will become ugly shown as below! So my question is: Is it possible ...
7
votes
1answer
96 views

How to sort cells?

Is there a way to programmatically reorder the section cells in a notebook alphabetically? For example:
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 ...
3
votes
1answer
51 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
43 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 ...
6
votes
0answers
127 views

ShowSelection color [closed]

The color of a selection is controlled by the operating system. E.g., enter the following code in separate cells. ...
14
votes
3answers
756 views

Take screenshot of the entire desktop using Mathematica

Is it possible to get a screenshot of the entire desktop directly in Mathematica? I am on Ubuntu running Mathematica 8. For some reason GUIScreenShot[] fails. But ...
4
votes
1answer
2k views

Running a shell script within Mathematica

The title pretty much explains it and I have not found something similar already posted. Perhaps I am not searching for the correct title or maybe this is something very basic, but I would appreciate ...
19
votes
2answers
619 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. ...
12
votes
3answers
614 views

How to anchor a Pane's scroll position to the bottom?

Suppose I have a Pane containing some dynamic text, for example that is being updated by a logging function. ...
10
votes
1answer
272 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 ...
4
votes
1answer
109 views

How to toggle visibility of all the evaluatable cells (but not their output)?

I know that I can select individual evaluatable cells and disable their Open property (through Cell > Cell Properties), but ...
26
votes
0answers
614 views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
2
votes
0answers
147 views

Menu bars on Palette windows don't work properly — any workarounds?

After getting help from Rojo with Menu commands on Palettes and other windows without menu bars? I was able to create a Palette with a menu bar by: Selecting the Palette and opening the Option ...
0
votes
0answers
52 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 ...
4
votes
1answer
93 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
0answers
222 views

Annoying window. How to remove it?

Bug introduced in 10.0 and persisting through 10.1.0 or later How do I remove this window from my Mathematica? Unchecking the Debugger menu item as described in How to close the (local) Debug ...
4
votes
1answer
984 views

How to close the (local) Debug window/palette

I have this local debug window that is so annoying How can I hide it? What is the purpose of it?
8
votes
3answers
239 views

Graphics in Notebook Different from Graphics Expression?

Consider the expression TreeForm[a+b^2+c^3+d] which displays as This is a nice Graphics object, as I can prove by typing ...
6
votes
0answers
202 views

What is the difference between NotebookEvaluate and FrontEndToken

I am wondering what exactly are the differences in using NotebookEvaluate[filename] vs ...
4
votes
1answer
73 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 ...
5
votes
1answer
62 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?
6
votes
1answer
112 views

using keyboard shortcuts with non-US keyboard

There are several keyboard shortcuts that do not seem to work for me. I am using a German keyboard. I think this only happens when I have to use a modifier key that does not have to be used in case of ...
2
votes
1answer
83 views

Programmatically selecting non adjacent Cells

One can of course Ctrl + MouseClick to select 1st and 3rd cell. But how to select non adjacent Cells programmatically? I was looking for neat examples here or in ...
1
vote
1answer
40 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
61 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
1answer
49 views

Consistency between MousePosition and WindowMargins

MousePosition["ScreenAbsolute"] absolute position within the complete screen display WindowMargins specifies the ...
15
votes
1answer
179 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, ...
1
vote
1answer
52 views
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
78 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: ...
4
votes
1answer
157 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
271 views

Is there a way to make the “Details” section of the documentation expand by default?

By default, the Mathematica documentation opens with the "Details" section collapsed. This is never what I'm looking for — in fact, I've lost count of the times I've sought help on a feature and ...
1
vote
1answer
42 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 ...
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 ...
2
votes
1answer
99 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 ...
3
votes
4answers
171 views

Frontend: Adding cell-type choices to the “Choose how to enter input” drop-down [duplicate]

In most of the notebooks I work in, I find myself using 2 or three cell-types almost exclusively (typically regular input, and some subset of section/subsection/chapter). A minor annoyance I run into ...
12
votes
1answer
853 views

Blurred frontend text in Mathematica 10, Windows, High-DPI Display

So I have recently upgraded to a Windows ultrabook with a high resolution display. All my software seems to cope just fine with the high resolution, except for Mathematica 10. Mathematica seems to ...
11
votes
2answers
264 views

How to suppress Tooltip in built-in templates?

...or maybe switch the message. But I will be happy with no Tooltip at all. I've naively tried with ...
2
votes
1answer
44 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 ...
12
votes
2answers
610 views

Syntax highlighter shows error for Manipulate when it's inside a Block or a Module

I'm putting my new copy of Mathematica 10 through its paces and I noticed a weird change in the colouring scheme that I find very annoying, and I'd like to get some insight into why it's happening. ...
1
vote
0answers
51 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 ...
14
votes
1answer
438 views

What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...