Skip to main content
15 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
  • 69k
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
  • 235k
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.2k
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.1k
12 votes

Custom OpenerView with lazy evaluation

This is my solution to the problem. I keep an object at the root level which keeps track of which lists are open and which are closed. That way when a list is opened I can open it in the right state. ...
C. E.'s user avatar
  • 70.7k
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
  • 46.9k
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
  • 397k
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
  • 46.9k
9 votes

Enter numbers into a an already existing list

The simplest way is just data = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}}; InputField[Dynamic[data]] Dynamic[data] ...
m_goldberg's user avatar
  • 108k
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
  • 131k
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
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
  • 23.7k
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,051
6 votes

Enter numbers into a an already existing list

Perhaps, something like: inpF = DynamicSetting[Map[InputField[#, FieldSize -> 2, Alignment -> Center]&, #, {-1}]] &; Use it as (...
kglr's user avatar
  • 397k
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
  • 4,907
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

SetterBar behavior

To keep button size, one option would be to add StringPadRight ...
garej's user avatar
  • 4,865
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

How to create keypress simulation program?

A summary to all the stuffs: ...
Wjx's user avatar
  • 9,620
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.1k
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
  • 131k
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.5k
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
  • 46.9k
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,251

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