Questions tagged [interface]

Questions on building or modifying user-facing functionality for input, or displaying information.

Filter by
Sorted by
Tagged with
1 vote
2 answers
75 views

A bug in InputField of type Expression?

I have a problem with a simple InputField of type Expression: ...
13 votes
2 answers
236 views

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

I notice that the built-in "Coordinates Tool" has a very efficient zoom tooltip displaying an enlarged portion of the image along with coordinates and row/column indices: How to get the ...
2 votes
0 answers
38 views

Why Dataset does not accept to add two more lines in an element?

Why Dataset does not accept to add two more lines in the "quantifying" element (and returns an Association instead of making the 2 more lines)? ...
1 vote
0 answers
51 views

Is there a possibility to make the grey word "Information" not appear when the form "form" is called by form[]?

Is there a possibility to make the grey word "Information" not appear when the form "form" is called by form[]? ...
1 vote
0 answers
30 views

How to have a form running when called from an ActionMenu in a Palette?

I create a FormFunction "form": ...
3 votes
2 answers
162 views

Making a list of variables

Consider the following code, which give a Manipulate object that returns the "total" of a certain variable var 1 ...
  • 4,220
1 vote
1 answer
100 views

Running an executable in the shell from Mathematica

I have a txt file called exec.txt, that I have made executable using chmod. Running it from the shell using ./exec.txt works correctly. However, I need to run it from my Mathematica nb file. Following ...
  • 203
7 votes
2 answers
180 views

Can I stop the python interpreter appearing?

I am using version 12.1.1.0 on OS X 10.13. Every so often, a Python interpreter cell appears: I think I am probably summoning it by inadvertently pressing ">" (due to clumsy typing). Or ...
0 votes
0 answers
38 views

A standalone notebook that just shows a Manipulate and hides all other code?

I have a complex notebook with one cell that contains a bunch of initial definitions, several modules, and finally a Manipulate object. For a simple example take ...
  • 197
1 vote
1 answer
65 views

Deleting all outputs on Notebook close

Is is possible to set up a Mathematica notebook so that all outputs are automatically deleted when the notebook is closed? I was trying to look for some function like ...
  • 4,220
2 votes
0 answers
61 views

Creating an online interactive interface

I want to cloud deploy a dynamic interface on which I have multiple types of widgets for different parameters and where, upon the click of a button, I send a list of arguments to a certain function, ...
  • 4,220
3 votes
1 answer
114 views

Autocomplete popup slow (>= v12.2)

On my Windows systems, the autocomplete popup takes extremely long to appear (1-2 secs). This makes typing in Mathematica very uncomfortable for me, as the interface effectively freezes for these 1-2 ...
1 vote
0 answers
49 views

Resizing a notebook with a command

I've got some notebooks which my friend wrote on a different computer, presumably with a much higher resolution screen to mine. When I try to open them on my computer, the window size of the notebook ...
  • 1,268
2 votes
2 answers
89 views

How can generation of interactive color bar be speeded up

I have been experimenting with interactive color bars to supplement graphical information presented as a colored ribbon. Here is an example: First, generate some colours as red/green/blue triples: <...
8 votes
1 answer
223 views

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

I remember starting in Mathematica11, when calculating the status of the taskbar can indicate the current status Today I upgraded to Mathematica 12.2, I noticed that the taskbar has only one state ...
  • 6,675
1 vote
1 answer
44 views

How to obtain desirable performance of dynamic variable?

I need to create the code that generates a sample based on an adjustable parameter and, later, interactively calculates statistics or builds a plot for the generated sample. Let's insert a slider <...
2 votes
1 answer
119 views

Making a GUI similar to Documentation Center

This is an offshoot of how to create a menu as the Documentation Center?... My aim is to build a menu that functions kind of like the documentation center...a grid of rectangles, each with a dropdown ...
  • 270
0 votes
0 answers
43 views

Saving code as a blackbox for wolfram player

I am trying to save my program as a blackbox so those who I am deploying it to are able to use it, but there is no reason for them to have the huge chunk of code beforehand to have to scroll through. ...
  • 69
0 votes
1 answer
47 views

How can I create a form-like interface in Mathematica, suitable for Mathematica Player?

I want someting like: f(x)=(imput field) [Calculate] (button) Result=(output field)
  • 3,267
2 votes
2 answers
121 views

Why aren't my grid elements aligning correctly in a docked cells toolbar?

The following is just the initial start of my very first docked cells toolbar I am still working on. It can easily be loaded to view it live. Code is also provided to conveniently remove it afterwards....
  • 2,217
1 vote
0 answers
29 views

Is there a way to count quantity of evaluations (this preferred) or edits in a cell since last notebook save?

Abstract The goal is to use this to create an autoSave[evals_:5]:=Module[{}, save after set number of evaluations or edits have occured...]. I asked a similar ...
  • 2,217
8 votes
1 answer
693 views

Mathematica 12.1 start-up time in Linux extremely slow

I installed Mathematica 12.1 on my Linux machine and the start-up time is extremely slow. I see the Spikey logo and messages like: Initializing Kernel connections ...
  • 1,193
2 votes
0 answers
35 views

Possible to add a `Find "string"' to the Toolbar?

It would be nice to have a persistent "Find" feature on the tool bar. I find the FindAndReplaceDialog to be clumsy on MacOs. I could do this with a DockedCell, but then I would need to do it for ...
  • 2,921
14 votes
1 answer
258 views

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

When doing video processing, for example exporting an mp4, in the FE, I get a nice progress indicator with various estimates. How can I get one in the standalone kernel?
  • 13.7k
2 votes
1 answer
130 views

Table of Dynamic Disks

I'm trying to create a dynamic interface to generate disks depending on 3 parameters : x-coordinate, y-coordinate and radius. The disks are generated as soon as the "export" button is pressed. I'm ...
0 votes
0 answers
36 views

Is there a way to place the Tabs to left of the figure in TabView?

I have a very large LayeredGraphPlot that is oriented left to right and I have TabView that highlight the paths. But the problem is I have to press Tabs on the top ...
  • 8,477
4 votes
1 answer
87 views

Controlling Manipulate in cloud deployment

Suppose I want to create a web app which duplicates (for simplicity), something like Manipulate[Plot[Sin[n x], {x, 0, Pi}], {n, 3, 10, 1}] ...
  • 5,024
5 votes
1 answer
172 views

InputField, PasteButton, and Check not playing nicely with each other

Context Added to End In a previous question, I was looking for a way for an InputField to maintain the input structure of expressions so as to allow the user's ...
  • 2,247
3 votes
1 answer
90 views

Input list within a Manipulate (Setter)

I would like to make an interactive "to do" list with a SetterBar where I can click on the Chapter, and get a list of tasks I can add to or delete within the ...
3 votes
1 answer
171 views

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

I'm using a command-line interface of Mathematica, or /usr/bin/wolfram. In wrapping this cui program with GNU Readline library, I would like to omit the ...
  • 243
5 votes
2 answers
282 views

How to execute this code on startup?

Every time I open a new notebook I have to manually evaluate this code in that notebook. In order order to stop my cursor moving to a new cell. How would I automate this? I would love this ...
2 votes
1 answer
231 views

Mac Touch Bar and Hidden Characters

I am reposting this question (Translate key events to nothing?) hoping to resolve an issue that is causing me no end of, bug chasing. Arggh, Help. On a Mac with a touchbar, if my finger slips and ...
  • 2,921
0 votes
0 answers
45 views

Attempting to speed up processing time by cutting down on dynamic functions in an interactive interface

Greetings Mathematica fans, I am currently trying to build an interactive interface to sift through a large amount of data visually. The data consists of many sets containing 70-80 points, which have ...
6 votes
1 answer
118 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?
  • 765
1 vote
1 answer
239 views

Linking multipage forms together

I am trying to develop a web form wherein the first page asks users how many cities they would like to compare, and the second page dynamically creates that many input boxes. Once the user inputs the ...
10 votes
1 answer
164 views

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

I want to ask the user (me) to make a binary choice, but also to give myself only 5 seconds in which to respond. In the absence of a response within 5 seconds, I want my code to close the dialog box ...
  • 1,415
7 votes
0 answers
425 views

How can I create a REPL for Mathematica in Sublime Text

I would like to be able to interact with Mathematica command line interface from within Sublime Text. Sublime Text has a package called Sublime REPL that provides an interface for different ...
  • 71
2 votes
1 answer
50 views

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

I have 2 Manipulate as below, Manipulate[plot[i], {i, Range[5]}] Manipulate[plot[i], {i, Range[6]}] As you can see, the 1st ...
  • 3,389
3 votes
1 answer
244 views

Robust line numbers in Mathematica notebook

Is there any way to reference a particular output in Mathematica notebook robustly? The usual way we refer a particular output is by invoking the command %n where ...
  • 1,514
4 votes
1 answer
563 views

Need help in creating a GUI

This time, I write to the community to ask for your help in creating the following interface. See next image I will try to explain what that interface consists of, start with password, there the user ...
  • 1,229
5 votes
1 answer
834 views

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

How can I create the "Run all code" button (at the top right corner) in Mathematica notebook? The current method I have is to save the .nb file into .wls (i.e. Wolfram Language Script), and then open ...
  • 3,389
2 votes
1 answer
76 views

Receiving visual notifications even when Mathematica is minimized?

How to receive visual notifications on screen during long computation even when Mathematica is minimized? Question is similar to this: How to make the Mathematica icon flash in the taskbar?. ...
  • 21
0 votes
1 answer
72 views

Integrating problem using interface

lately I tried to develop an interface that will plot the furier sum of a given function up to a given number of terms. The code is here: ...
8 votes
1 answer
213 views

Web search browser in Mathematica

How can we build a system to perform web searches (e.g. Google search) in a notebook so that it looks and functions like a normal search interface operating in the browser?
  • 45.9k
0 votes
3 answers
236 views

How to hide "input" while using ButtonBar?

I used a ButtonBar. When I click a button (in Output) it unhide all my hidden code (Input). How to overcome this issue? UPD: requested example Input: ...
  • 87
3 votes
1 answer
238 views

Better alternatives for GUIkit or dialogboxes?

I'm trying to create a custom interface, where I input equivalent electrical resistances which were previously measured, so I can solve a system of 8 non linear equations using FindRoot to get the ...
2 votes
1 answer
128 views

Checkboxbar with maximum choices limitation [duplicate]

I am a novice to interactive interface with Dynamic and other stuff. So don't blame on me if I ask idiot questions. What I want is to set a checkbox and set a limitation for the maximal number that ...
  • 414
1 vote
1 answer
74 views

Annoying problem with hotkeys

How to prevent Mathematica from using its internal hotkey grammar while pressing the standard combinations like ctrl+c, ctrl+v etc.? In my case, after some period of using of Mathematica, instead of ...
  • 4,360
8 votes
2 answers
401 views

SetterBar behavior

Preamble Consider a SetterBar: SetterBar[1, StringRepeat["q", #] & /@ Range@5] That is with vertical layout: ...
  • 4,145
3 votes
2 answers
136 views

How to reduce spacing between vertical sliders?

Consider the following code: ...
  • 3,145