Skip to main content
16 votes
Accepted

How to pause a running evaluation (and continue it later)

Prior to version 10 of Mathematica, there was a menu option Evaluation / Interrupt Evaluation... with the hot-key ALT-, (comma). This would temporarily suspend the current evaluation in progress. ...
WReach's user avatar
  • 69.3k
14 votes
Accepted

C++ interface to large project

This cannot be answered very well without knowing your C++ library much better. As you said, you have a choice between MathLink and LibraryLink. Generally, I recommend LibraryLink because: It runs ...
Szabolcs's user avatar
  • 236k
13 votes

How can I get a nice progress indicator for video processing when working in a standalone kernel?

Easy! Just set Progress`$ConsoleSupport=True. You can set this in your init.m and have it always on. Now, the usual word of warning about undocumented ...
Itai Seggev's user avatar
  • 14.3k
13 votes

How is the zoom tooltip in the "Coordinates Tool" implemented?

Here's a proof-of-concept demonstration of how to build your own tooltip with reasonable performance: ...
Lukas Lang's user avatar
  • 34.4k
10 votes

Web search browser in Mathematica

I started on this, after building out a search paclet for this answer. The basic idea is to simply provide nicer access to the basic underlying paclet. The code all lives here. We can use it like so:...
b3m2a1's user avatar
  • 47.1k
10 votes
Accepted

Can I stop the python interpreter appearing?

The short-cut > at the beginning of a line to start an external code cell is set as part of style definitions for Input cells: ...
kglr's user avatar
  • 401k
10 votes

How is the zoom tooltip in the "Coordinates Tool" implemented?

Answering the first part of my question (thanks to Lukas Lang for pointing me in the right direction!). The source code for the Image Assistant Toolbar that appears when you select ...
Alexey Popkov's user avatar
9 votes
Accepted

How can I customize my menus without reloading MenuSetup.tr?

I do this differently to @MB1965. SetOptions[$FrontEndSession, MenuConfigurationFile -> "path/to/alternative/MenuSetup.tr" ]; and then to restore the ...
Mike Honeychurch's user avatar
9 votes

How can I customize my menus without reloading MenuSetup.tr?

Real-time Reloading of Menus The answer to the first one is very simple. After you make changes to your MenuSetup.tr file simply call ...
b3m2a1's user avatar
  • 47.1k
9 votes
Accepted

How to execute this code on startup?

Here's a stylesheet version that mimics Kuba's code: ...
Carl Woll's user avatar
  • 132k
8 votes
Accepted

Dialog box that "times out" if the user doesn't respond

I'm honestly not entirely satisfied with this answer, but it should get you on the right track: ...
Sjoerd Smit's user avatar
  • 24.8k
8 votes
Accepted

How can I create a "Run all code" button in a notebook?

Here is some code I wrote to make a palette that I use a lot. Maybe the it will work you, or at least give you ideas on how to do it. ...
m_goldberg's user avatar
  • 108k
7 votes
Accepted

When calculating, the taskbar icon will not change in Mathematica 12.2

It's just no longer the default. You can turn it back on via ...
ihojnicki's user avatar
  • 3,314
6 votes
Accepted

Better alternatives for GUIkit or dialogboxes?

I can understand you might be more comfortable with GUIKit if you have done GUI development with other GUI frameworks. But in Version 6, the Mathematica front-end became a programable GUI with the ...
m_goldberg's user avatar
  • 108k
6 votes
Accepted

Is there a way to omit the "In[1]:=" prompt?

You may be able to use some code like this ...
Somos's user avatar
  • 5,065
6 votes
Accepted

Why does Mathematica's interface freeze when scrolling to the evaluating cell?

So here is my guess, based on information provided and on past experience. Which is to say, I'm describing a scenario I have often encountered that looks like but might not actually be your situation. ...
5 votes
Accepted

Robust line numbers in Mathematica notebook

You can try the following (evaluate the code once at the beginning of your session): ...
Lukas Lang's user avatar
  • 34.4k
5 votes
Accepted

SetterBar behavior

To keep button size, one option would be to add StringPadRight ...
garej's user avatar
  • 4,885
5 votes
Accepted

Using SPI on Raspberry directly

An extended comment rather than an answer at this point, subject to additional information from the OP. Yes, you can interact with chips that use SPI communication through Mathematica, but as of yet, ...
bobthechemist's user avatar
5 votes
Accepted

Time stamps for In[] and Out[]

You can use Cell | Show Expressionfrom the menu to see the time stamps associated with a cell. If you want to do this programmatically, you could use ...
Carl Woll's user avatar
  • 132k
4 votes

Is it possible to create and insert a bivariate colormap into ColorData?

If you take a cropped image of your target colormap (the variable r below), you could just interpolate it: ...
M.R.'s user avatar
  • 31.8k
4 votes

"Hiding" cells until the first cell is evaluated

Here's an option that allows you to work from the stylesheet and avoid any of the pernicious issues with Dynamic and slow notebooks. The trick will be to use the <...
b3m2a1's user avatar
  • 47.1k
4 votes
Accepted

Need help in creating a GUI

Here is a start on a simple and reasonable although not optimal way of making your interface. ...
m_goldberg's user avatar
  • 108k
4 votes
Accepted

Controlling Manipulate in cloud deployment

Read examples in docs carefully (CloudDeploy, FormFunction, FormPage) and see related tutorials. Two options. 1) Outsource control to FormFunction / FormPage: ...
Vitaliy Kaurov's user avatar
4 votes

Autocomplete popup slow (>= v12.2)

In case anyone is still interested, I had the same problem in version 12.3, and solved it by going to Preferences/Advanced/Open option inspector/Editing options/Private editing options/...
Mark Wexler's user avatar
4 votes
Accepted

Making a list of variables

What we have here is a logical situation in which an inner UI is to be generated by the value of an outer variable. So I would prefer to build the inner and outer components separately. ...
Shredderroy's user avatar
  • 5,371
3 votes

How to hide "input" while using ButtonBar?

You can add following code to the cell whose code you want to hide: SetOptions[EvaluationCell[], CellOpen -> Dynamic[Not@codehide]]; This will make it hidden ...
Rom38's user avatar
  • 5,209
3 votes

How to hide "input" while using ButtonBar?

You can select the cell with the code, go to Menu/Cell/CellProperties and uncheck "Open". In this case, your code cell will always be closed. In addition, do not write the string:...
Alexei Boulbitch's user avatar
3 votes
Accepted

How to use tab control for Manipulate when the number of options exceeds 5?

Provide the type of control as input to override the default ones: Manipulate[plot[i], {i, Range[10], SetterBar}] Alternatively, ...
kglr's user avatar
  • 401k
3 votes
Accepted

Linking multipage forms together

I've solved my problem! This is the setup that worked for me: ...
Reedinationer's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible