LayoutSlideShow
LayoutSlideShow [/W=winName ] [keyword = value ] ...
The LayoutSlideShow operation starts, stops, or modifies a slideshow that displays the pages of a page layout.
The LayoutSlideShow operation was added in Igor Pro 7.00.
Parameters
| autoMode=a | Controls whether the presentation will advance between slides automatically (a =1) or manually (a =0). Use the delay keyword to control the delay between automatic transitions. | ||||||
| delay=d | d is the number of seconds to wait between slide transitions when running in auto mode. | ||||||
| otherScreenContents=o | |||||||
| Controls what is displayed on any additional screens that may be connected. | |||||||
| |||||||
| page=p | Causes the slideshow to start from page p. p is a page number starting from 1. This keyword has no effect unless the start keyword is also present. | ||||||
| presentersView=p | Controls what is displayed on the screens that show the presenter's view. p is a bitfield of flags: | ||||||
| |||||||
| See Setting Bit Parameters for details about bit settings. | |||||||
| scaleMode=s | Specifies how the pages are scaled to fit the screen. | ||||||
| |||||||
| screen=s | Specifies the screen to be used for the main presentation. Use s=1 to use the primary screen. Use IgorInfo to determine the number of available screens. | ||||||
| start | Starts the slideshow. | ||||||
| stop | Stops the slideshow. You can also stop it by pressing the escape key. | ||||||
| wrapMode=w | Controls what happens when the presentation reaches the last page in the slideshow. | ||||||
| |||||||
Flags
| /W= winName | winName is the name of the desired layout window. If /W is omitted or if winName is $"", the top layout window is used. | |
Details
A layout slide show can be used to present an Igor experiment to others, or to run an information kiosk.
Any changes to the layout window during a slide show are automatically reflected in the slides. For example you could use a background task to update a graph so that the slides always show the latest data.
You can control a running slide show by right-clicking on the slideshow. Alternatively, use the arrow keys or a mouse click to advance to the next slide.
Press the space bar to toggle between automatic and manual advancing of the slides.
Press escape to end the slideshow.
Example
Function DemoSlideshow() // Press escape to end the slideshow
NewLayout
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z961"
LayoutPageAction appendpage
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z962"
LayoutPageAction appendpage
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z963"
LayoutSlideShow autoMode=1,delay=1,page=1,wrapMode=1,start
End