Skip to main content
added 148 characters in body
Source Link
imida k
  • 4.3k
  • 10
  • 20

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

I believe that

the more independent act of pressing a button is from action of the button,

the higher the chance of success.

In Huber's case, it failed because it approached the button's action too directly.

Here is the motivation of this question :

Save as custom folder in menu bar in 1 step

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

Here is the motivation of this question :

Save as custom folder in menu bar in 1 step

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

I believe that

the more independent act of pressing a button is from action of the button,

the higher the chance of success.

In Huber's case, it failed because it approached the button's action too directly.

Here is the motivation of this question :

Save as custom folder in menu bar in 1 step

added 183 characters in body
Source Link
imida k
  • 4.3k
  • 10
  • 20

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

Here is the motivation of this question :

Save as custom folder in menu bar in 1 step

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]

Here is the motivation of this question :

Save as custom folder in menu bar in 1 step

Source Link
imida k
  • 4.3k
  • 10
  • 20

Command to press a button

Under normal circumstances, giving a command to

press the Button

is stupid. Because we only need to execute the button action of that Button.

But under some circumstances, a button action alone doesn't work, it makes an warning message.
With a little surprise, if we put the button action alone into a mathematica Button, and click that Button, it works.

So I am trying to find way to command to press a Button.

Can you make a command, when executed, it presses following button :

Button["Click Here", Print[10!]]