23 votes

Does Mathematica have a built-in date picker?

There is a built-in DateSetter: {Developer`DateSetter[Dynamic@date], Dynamic@date} By default the first selectable date is ...
  • 27.3k
18 votes

Is it possible to customize the Suggestions Bar?

Yes! It is possible, although it takes some spelunking. Upon some searching with Names, I came across three relevant contexts where the predictive interface ...
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 ...
  • 230k
13 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. ...
  • 67.8k
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 ...
  • 13.7k
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: ...
  • 29.9k
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. ...
  • 69.3k
10 votes
Accepted

How to customize the package editor interface?

Quick fix for a specific file: Ok, let's open new package File -> New -> Package. It was second on my list of Notebooks[]...
  • 134k
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:...
  • 46k
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 ...
9 votes

Get both output and return code of external program

For those who will encounter the same problem as mine (and OP's), I added this answer. Mathematica now(since 10.0.0) has a new built-in function called RunProcess ...
  • 2,265
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] ...
  • 107k
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 ...
  • 46k
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 ...
9 votes
Accepted

How to execute this code on startup?

Here's a stylesheet version that mimics Kuba's code: ...
  • 126k
9 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: ...
  • 354k
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: ...
  • 19.7k
7 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. ...
  • 107k
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 ...
  • 2,776
6 votes
Accepted

Connect to USB Serial Converter

I also have a USB to RS232 converter connected to my machine (Windows 7 Mathematica 10). I don't have any RS232 device (The RS232 connector is left unconnected). I have done successfully the ...
  • 17.3k
6 votes
Accepted

Serial interface RS232 control

I have successfully tested your code, it does work. ...
  • 33.6k
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 (...
  • 354k
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 ...
  • 107k
6 votes
Accepted

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

You may be able to use some code like this ...
  • 4,358
5 votes
Accepted

Object isn't fully displayed in DialogInput

I might not have understood the question correctly. But it seems to me that adding WindowElements->"VerticalScrollBar" to the code should fix the problem. a ...
5 votes
Accepted

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

This is not yet a complete answer but I think it may set you on a viable path. We can style each element using StyleBox as follows: ...
  • 266k
5 votes
Accepted

How to create keypress simulation program?

A summary to all the stuffs: ...
  • 9,283
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, ...
5 votes
Accepted

SetterBar behavior

To keep button size, one option would be to add StringPadRight ...
  • 4,755
5 votes
Accepted

Robust line numbers in Mathematica notebook

You can try the following (evaluate the code once at the beginning of your session): ...
  • 29.9k

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