home *** CD-ROM | disk | FTP | other *** search
-
- /* 2View sample ARexx script*/
- /* This gets information about the currently displayed picture, then */
- /* advances to the next picture */
-
- address "2View.1"
-
- options results
-
- pictoback
-
- 'get name'
- say 'Name:' result
-
- 'get width'
- say 'Width: ' result
-
- 'get height'
- say 'Height: ' result
-
- 'get depth'
- say 'Depth:' result
-
- 'get viewmodes'
- say 'Viewmodes:' result
-
- time=4;
-
- 'get timeperpicture'
- time=result
- if time==0 then say 'Not timed'
- else say 'Timed: 'time' jiffies per picture'
-
- if time~==0 then do
- 'get timeleft'
- say 'Timeleft: ' result
- time=result
- say 'Which equals ' time/50 ' seconds'
- end
-
- 'get playlistname'
- say 'Playlist filename: 'result
-
- 'get looping'
- say 'Looping?' result
-
- 'get printpictures'
- say 'Print pictures? 'result
-
- 'get version'
- say 'This is 2View 'result
-
- pictofront
-
- advance
-
-