Group Abstract Group Abstract

Message Boards Message Boards

Operating the Slide Show pallete from a notebook?

I have a series of Mathematica tutorials in slide show format published in my website. Frequently I have to update them, what forces me to call the Slide Show pallete to bring all files to "Working" status (Settings, View Environment). After finishing the work I have to change back all files to the "SlideShow" status.

It would be much better if I could do this operation over all those files from a notebook in a programatically way. I really tryed to find some material that could give me a direction, but unfortunatelly I found nothing (probably I used wrong keywords in the search).

Can someone help me?

4 Replies

To clarify:

Options gives the altered options and not "all" the options of a notebook. You can see what options are available by going to the options inspector in the Format menu.

Regards

POSTED BY: Neil Singer

Understood. Thanks.

Anderson,

You can do that programmatically with the SetOptions command. First you need a handle to your Notebook. You can specify it multiple ways (see Guide to Notebook programming. Lets get all of the notebooks and pick one.

mybooks = Notebooks[]
slideshow = mybooks[[3]]

Now look at the options:

In[72]:= Options[slideshow]

Out[72]= {
 ScreenStyleEnvironment -> "Working", 
 StyleDefinitions -> "Default.nb", 
 WindowMargins -> {{42, Automatic}, {Automatic, 24}}, 
 WindowSize -> {808, 751}}

Now change the show environment:

SetOptions[slideshow], ScreenStyleEnvironment -> "Working"]

or

SetOptions[slideshow], ScreenStyleEnvironment -> "SlideShow"]

Using this you can make a program to automatically process your slide shows.

Regards,

Neil

POSTED BY: Neil Singer

Hi Neil,

I would like to thank you very much. Your suggestion worked perfectly.

Best regards, Anderson

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard