Linked Questions

0 votes
0 answers
39 views

How to use ScheduleTask in a dynamic module? [duplicate]

I have a little timer widget that times two separate tasks: It is simple enough, but I can't see why it's not working. Am I not understanding the connection between ScheduleTasks and Dynamics? Here ...
user avatar
  • 30.3k
39 votes
1 answer
2k views

May the Fourth be with you

Happy Star Wars day. I was playing around with the image manipulation functions in Mathematica in an attempt to recreate the Star Wars crawl. There's an HTML/CSS implementation which is in my ...
user avatar
10 votes
4 answers
490 views

Working with DynamicModule: ScheduledTasks with local variables

I have a question - is it possible to run ScheduleTask[] inside DynamicModule[]? What I have tried so far: ...
user avatar
  • 443
10 votes
1 answer
398 views

How to dynamically select a country on a map using the cursor

Let's say I have a map of Europe with a locator in manipulate Manipulate[ GeoGraphics["Europe", GeoBackground -> "CountryBorders"], {{p, {150, 150}}, Locator}] ...
user avatar
  • 527
11 votes
1 answer
660 views

Manipulate evaluation sequence

Manipulate doesn't always evaluate in the order I expect it to. What is the evaluation sequence for Manipulate and other ...
user avatar
  • 405
8 votes
1 answer
333 views

Module variable scoping in Scheduled Tasks?

I ran across a scoping puzzle while experimenting with ScheduledTasks, and I'd be grateful for an explanation from the sages here. I found a workaround by intuitive horse sense, but was unable to ...
user avatar
  • 8,561
7 votes
1 answer
1k views

Enabled option for slider in Manipulate not updating dynamically

In a Manipulate expression I have a slider control which has the Enabled option ...
user avatar
  • 106k
7 votes
1 answer
427 views

Is it possible to update Dynamic objects even when they are off screen?

I am using Dynamic and DynamicModule to display graphics/statistics generated from a long-running set of parallel tasks. The ...
user avatar
  • 1,275
4 votes
1 answer
237 views

Why does CreatePalette break my code?

I wrote some code to monitor the tasks that I'm doing - looks like this: Now it works just fine, but as soon as I wrap it up in palette it dies: Nothing updates.... I know there must be an easy way ...
user avatar
  • 30.3k
5 votes
2 answers
97 views

Creating a warning before executing a function if not cancelled?

How could I create a warning dialog that executes a function if not cancelled after a delay ? Also I would like the time remaining before execution to be displayed and the dialog to be non blocking.
user avatar
  • 10.7k