Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [front-end]

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

2
votes
0answers
163 views

Mathematica 12.0.0 crashes on second 'Quit[]'

I am trying to develop a module, and run 'Quit[]' from within a cell in a notebook to clear all symbols before reloading the module that I have modified. The second time I do this after starting ...
3
votes
1answer
26 views

How can I resolve the entire set of style options for a notebook?

Given a NotebookObject I'd like to know what settings all of its Cells have. This could be useful if I needed to distribute my ...
2
votes
0answers
29 views

Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I'm not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server. I can, however, export Raster Image ...
1
vote
1answer
26 views

Access system selection colour

On some operating systems it is possible to customize selection colours and other GUI colours. I have set yellow for mine: Is it possible to retrieve this colour in Mathematica, so that it can be ...
6
votes
2answers
69 views

Store Dynamic-accessible hidden metadata in a cell

Is there a way to store metadata in a cell in such a way that it can be accessed with Dynamic? Think of e.g. how ExternalLanguage cells work. We can select whether ...
4
votes
1answer
548 views

Limit the amount of RAM Mathematica may access?

Trying to solve a differential equation numerically, I noticed that Mathematica used up all RAM to the extent that my operating system (Windows 10) lost responsiveness and hung up. As a result I had ...
5
votes
1answer
33 views

Can I reimplement something like TogglerBox?

As a purely academic exercise can I make a box structure that'll toggle between two views when clicked and that doesn't ever depend on Dynamic or ...
1
vote
0answers
40 views

Problem with ssh -Y

I ssh -Y to the remote Linux machine and run "nohup mathematica&" and use the frontend graphically for a long time. Then, it disconnected. I login back and see that the Mathematica and ...
2
votes
1answer
52 views

Why can't I execute other commands while the dialog is running?

Bug introduced in v10.4 or earlier and persisting through 11.3 CASE:4226661 The code is from the following video: http://www.wolfram.com/broadcast/video.php?sx=Ian%20Johnson&v=2076 ...
7
votes
1answer
111 views

Strange behavior of Out[]

Let's create two notebooks external.nb and primary.nb. Then call the external.nb notebook from the primary.nb and investigate values of Out[ ]. The context of the external notebook is not important, ...
3
votes
1answer
96 views

Changing Color of error messages

I would like to change (from the stylesheet) the colors of the error messages. For example, trying to evaluate Solve[wrongsyntax = 0, var] gives an obvious error ...
2
votes
1answer
42 views

Update timestamp when saving [closed]

I re-worked a bit the solution for creating a timestamp in a previous post ...
2
votes
1answer
41 views

Using a FrontEndToken in an init.m file

I'm trying to create Menu Command that selects all cells in a notebook and closes them. I am able to select all the cells but cannot close them. Below is my attempt I placed in an init.m file. <...
2
votes
0answers
49 views

Is there a way to cancel a search in Mathematica?

Is there a way to cancel a word search in Mathematica initiated via the Find and Replace menu?
0
votes
1answer
24 views

Set the ClosingSaveDialog to False

I would like to stop Mathematica from showing the "Save Changes To" dialog whenever I try to close a notebook. I tried changing this from the Option Inspector by setting the losingSaveDialog -> False ...
2
votes
1answer
60 views

A stylesheet problem

I've run into a problem with a private stylesheet that I'm struggling to understand and resolve. The issue is that my notebook does not appear to always respect the values for ...
5
votes
2answers
52 views

SelectionMove within a GridBox?

I want to interactively manipulate the contents of a GridBox using keyboard commands. To approach this I need to control selection with something like ...
5
votes
1answer
44 views

How to set “SymbolContextStyles” for `$Context` symbols?

How to change the font colour of symbols defined in the current context (e.g. $Context) from black to some other colour, say purple? There is a ...
1
vote
0answers
29 views

Translate key events to nothing?

My Macbook Pro has a touch bar which is causing me to make a bunch of hard-to-find errors If my finger mistakenly hits the F3 through F12 positions on the touch bar, the front end inserts an ...
0
votes
0answers
21 views

Remove selected user definitions from autocompletion

Is it possible to remove selected user definitions from autocompletion list? E.g. several variables are defined with similar names: ...
2
votes
0answers
28 views

How can I move the cursor in a notebook using page up / page down?

When I am editing a notebook, currently when I hit the page up key, the cursor stays stationary. Same for page down. How can I connect page up / page down to the cursor? I want to be able to hit ...
5
votes
1answer
86 views

Code editor automatically forcing new line unnecessarily

Sometimes, Mathematica starts a new line of code, even though there is still enough space. For example, I have: ...
5
votes
1answer
45 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
8
votes
0answers
79 views

Current $Context of a given notebook

nb = CreateDocument[{Dynamic@$Context}, CellContext -> Notebook] It will show Notebook$$22$93500` or something similar. How ...
1
vote
1answer
26 views

How to create a notebook dialog that can receive contents dynamically?

When coding in notebook, I'm trying to show result(s) in a Single Notbook Dialog by this, ...
0
votes
0answers
26 views

Cursor / edit text in 11.3

I recently updated to 11.3 from 11.2 and am finding the most annoying problem: After typing out an input expression and evaluating it, I cannot immediately edit the input cell. Hovering over the ...
3
votes
0answers
77 views

Mathematica 11.3 crashing on either startup or after typing in a notebook [closed]

I have been having an issue with my Mathematica 11.3 installation. Often after running a notebook for a long time, my Mathematica will crash suddenly for strange reasons like just typing in the ...
0
votes
0answers
26 views

Can FrontEndTokenExecute[“Close”] work without a pop-up window?

I wanted to make the notebook automatically be saved and closed after an evaluation of all cells. So, I found a way to add at the end of the code: ...
5
votes
0answers
34 views

Why does't 'Abort evaluation' properly work when NotebookEvaluate is executed

The following procedure can be easily aborted using Evaluation > Abort Evaluation menu item: Do[j + k, {j, 1, 10000}, {k, 1, 10000}] But it is not possible if <...
3
votes
0answers
60 views

Why does Mathematica indent comments the way it does?

Whenever I type multi-line comments in Mathematica, the standard editor automatically performs indentation. I find the indentation rather curious and annoying, with some example frustrations posted ...
2
votes
1answer
43 views

Can I prevent changing the background color from changing the cell spacing?

The first image shows what my list of items looks like with no background color. The second shows what setting the background color to light green does to the cell spacing. That is not what I want. ...
5
votes
1answer
131 views

Context menu in CDF Player

Using Style with the option ContextMenu or AttachedCell it is possible to create context ...
2
votes
0answers
43 views

Why does the kernel strip \< and \> from strings [duplicate]

The FE always passes strings to the kernel that look like: "\"\<asdasd\>\"" And the \< and > get pruned out. We can simulate this for ourselves with: <...
4
votes
1answer
110 views

How can I see all FE nine-patch bitmaps?

The FE stores a bunch of little nine-patch images in the layout that govern the appearance of much of Mathematica. These things are incredibly useful to have as they may be used to give a clean ...
0
votes
1answer
52 views

How to enable loading packages dynamicly in Palette UI [duplicate]

Given a directory path and some .m files in it, I want load these packages files mannually outside notebooks, so I created Palette using code: ...
5
votes
2answers
534 views

Can output of one kernel be called from another on the same PC?

I have two instances of Mathematica running on the same PC. Can I call the output of one from the other? For example if Out[100] is on kernel1 how do I refer to it on kernel2?
6
votes
1answer
83 views

Time stamps for In[] and Out[]

Once a command is entered and numbered, as in In[n], and an output is produced, as in Out[n], is it possible to find the time at which each one was done?
1
vote
0answers
23 views

Cell wierdly auto evaluated when mouse-selecting code through VNC viewer

I have Mathematica 11.3 installed on a Mac. I connect to it from a Windows machine via VNC viewer. Very strangely, whenever I select any piece of code in a cell by clicking and holding my mouse button,...
5
votes
2answers
94 views

Set notebook sections one level up

Suppose I have a notebook filled with many chapters, sections, subsections, subsubsections and so on. Instead of changing the style of each of them manually, is there a clever way to set all or part ...
5
votes
0answers
56 views

How to prevent the message: Not enough memory to display a cell

While running a single-cell GUI application that repeatedly changes and refreshes its content I got this message: There was not enough memory to display a cell... I found in this old MathGroup thread ...
2
votes
1answer
46 views

How to make indepent linking workspace when using NETLink?

I've created two packages file as CompnentALink.m CompnentBLink.m the functions InstallNET[] and ...
2
votes
0answers
56 views

Evaluate notebook without opening cell groups

I have a notebook with grouped cells, where the input cells are hidden and only output cells open. Is it possible in an easy way to evaluate the whole notebook and preventing opening all groups, ...
0
votes
0answers
45 views

How to highlight part of a string

The following two works: ...
1
vote
1answer
52 views

Combining ListLinePlot graphics with Show

I'm new to Mathematica working on a project for school. I'm trying to show the deflection of a cord over time by breaking it up into 14 points and plotting the x,y coordinates of each point over time. ...
4
votes
1answer
34 views

Do an Application's multiple palettes automatically get grouped together?

Among dozens of Applications folders in my $UserBaseDirectory, many have associated palettes in their own FrontEnd/Palettes subfolders. A couple have multiple ...
7
votes
0answers
65 views

Exclude functions from auto-completion

Is there a way to exclude a function from auto-completion? Suppose that you are developing a package, and in the next version a function will be deprecated. It is better not to auto-complete it so ...
1
vote
0answers
62 views

Change magnification only for NEW notebooks? [duplicate]

I'm using Mathematica 11.3. In an earlier version, there was, I believe, an option allowing one to change the magnification for new notebooks (created, say, using the menu item File > New or the ...
3
votes
2answers
63 views

How to set up the new Notebook frontend aligned to screen's TopLeft automatically?

How to config the preference so that when a new Notebook frontend be created or opened then the Notebook be moved and aligned to screen's TopLeft with the screen's Height automatically? On ...
3
votes
1answer
60 views

Using Overdot in function Module?

Fundamental problem is: Is there any way I can use OverDot[var] as symbol in a function? I have tried to use Symbolize[OverDot[x,1]] for example, to no avail. If I ...
6
votes
1answer
239 views

Complete list of documented symbols that require a front-end?

I'm looking for an exhaustive list of symbols that work: On the cmd line kernel (without a Front-End) Only in a notebook (with a Front-End) In the Wolfram cloud (in the paid version and the free lab ...