home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
util
/
screenfool-2.7.lha
/
ScreenFool
/
PSPub.sf
< prev
next >
Wrap
Text File
|
1993-06-08
|
969b
|
46 lines
/* PSPub.rexx - Run PageStream on Public Screen */
if ~showlist('p','ScreenFool.1') then do
address command 'run ScreenFool'
call delay(50*5)
end
address 'ScreenFool.1'
options results
/*
'getattr displays stem=DISPLAYS'
do i=0 to displays.count-1
say displays.i.name '(0x'd2x(displays.i.id)')'
end i
parse pull uno
*/
DISPLAYID=x2d('89024'); /* 89024 = SUPER72:Super Hi Res Laced */
/* 39024 = MULTISCAN:Productivity */
/* 99004 = DBLNTSC:High Res No Flicker */
'new ScreenName=PageStream Planes=2 DisplayID='DISPLAYID' ScanType=Text nogui'
if(rc>0) then exit;
'getattr modes var='modes
'getattr defscreen var='DScreen
'lockgui'
'shanghai on'
'autopop on'
'default PageStream'
options failat 255
'status Loading PageStream...'
call pragma('d','PageStream2:')
address command 'pagestream2 -w -l'
'default 'dscreen;
'close PageStream'
'shanghai 'word(modes,1)
'autopop 'word(modes,2)
'unlockgui'
exit