home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 July & August
/
Pcwk78b98.iso
/
Smart30
/
ENGLISH
/
PRODUCTS
/
LOTUS018.DSK
/
PRNBATCH.SMM
< prev
next >
Wrap
INI File
|
1992-06-17
|
33KB
|
2,136 lines
[ver]
4
[sty]
_macro.sty
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
PostScript Printer
[port]
LPT1:
[lang]
1
[desc]
Select multiple files to print
Lotus WPD Technical Support
Advanced
Call Backs, Global Arrays
noautorun
708809758
61
677020248
3465
12
1245
9186
27
27
Call Backs, Runlater, Global Aray
0
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[ParaNum]
1
[tag]
Body Text
2
[fnt]
Arial
240
0
16384
[algn]
1
1
216
0
0
[spc]
33
273
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
1
1
1
10
10
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
272
1
3
.
,
$
Body Text
6
1
1560
1
3075
1
4275
1
5655
1
7005
1
8580
0
[lay]
Standard
513
[rght]
15840
12240
1
1440
1440
1
1972
1440
0
1
0
1
0
2
1
1440
10800
9
1
720
1
1440
1
2160
1
2880
1
3690
1
4815
1
5925
1
7200
1
8535
[hrght]
[lyfrm]
1
11200
0
0
12240
1972
0
1
3
1 0 0 0 0 0 0
0
0
1
[frmlay]
1972
12240
1
1440
0
1
792
1440
0
1
0
1
1
0
1
1440
10800
0
[txt]
<+B><:da<*!><* >>
<+B>Peyton McManus
<+B>Page <:P10,0,> of <:X3,16384;NumPages>11<:X~3,16384;NumPages>
<+B>
<+B>
>
[frght]
[lyfrm]
1
13248
0
14400
12240
15840
0
1
3
1 0 0 0 0 0 0
0
0
2
[frmlay]
15840
12240
1
1440
90
1
14472
1440
0
1
0
1
1
0
1
1440
10800
0
[txt]
<+B>Revision Number <:da<*&><* >>
<+B><:Da> <:b<* >>
<+B>
>
[elay]
[l1]
0
[pg]
12
43 0 27 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
85 0 18 0 0 1 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
128 0 38 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
171 0 40 0 0 1 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
214 0 19 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
257 0 12 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
300 0 17 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
343 0 17 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
386 0 17 0 0 1 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
428 0 41 0 0 1 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
462 54 2 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
468 0 10 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
<:#284,9360>Declare GetFlag(p1)
<:#284,9360>Declare SetFlag(p1,p2)
<:#284,9360>Declare SaveSettings(p1,p2,p3)
<:#284,9360>Define SetTrue() SetDlgITemText(Hdlg,%1,"True")
<:#284,9360>Define SetFalse() SetDlgITemText(Hdlg,%1,0)
<:#284,9360>Define GetItem() GetDlgItemText(Hdlg,%1)
<:#284,9360>Define GetPerm() GetGlobalArray$("perm",%1)
<:#284,9360>Define GetTemp() GetGlobalArray$("temp",%1)
<:#284,9360>Define Hour_up 67
<:#284,9360>Define Minute_up 66
<:#284,9360>Define Hour_down 57
<:#284,9360>Define Minute_down 56
<:#284,9360>define VK_LBUTTON 0x001
<:#284,9360>Define EnableWindow() DllCall("User,EnableWindow,AHA",%1,%2)
<:#284,9360>Define SetFocus() DllCall("User,SetFocus,HH",%1)
<:#284,9360>define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
<:#284,9360>define isiconic(hWnd) DLLCall("user,isiconic,HA", %1)
<:#284,9360>
<:#284,9360>
<:#284,9360>
<:#284,9360>define GetActiveWindow() DllCall("user,GetActiveWindow,H")
<:#284,9360>define SetWindowText() DllCall("user,SetWindowText,IHC", %1, %2)
<:#284,9360>define TitleBarMsg() SetWindowText(GetActiveWindow(), %1)
<:#284,9360>define GetWindowText() DllCall("user,GetWindowText,HHFH", %1, %2, %3)
<:#284,9360>
<:#284,9360>
<:#284,9360>
<:#284,9360>
<:#284,9360>
@Function@<:#293,9360><:><:>Function Multiple()
IF IsNewWave()
Message("Macro not available while running under HP NewWave.")
Exit Function
ENDIF
X = 1
<:#284,9360>AllocGlobalVar("Perm",200)
<:#284,9360>SetGlobalArray("Perm",1,1)
<:#284,9360>AllocGlobalVar("Time"2) ' This is the Time Global
<:#284,9360>SetGlobalArray("time",1,0)
<:#284,9360>SetGlobalArray("time",2,0)
<:#284,9360>Mac=GetRunningMacroFile$()
<:#284,9360>doc=getdocpath$()
<:#284,9360>Filledit(9001,"{doc}*.s?m")
<:#284,9360>Filledit(60,1)
<:#284,9360>SetDlgCallBack(54,"{Mac}!Time")
<:#284,9360>SetDlgCallBack(51,"{Mac}!Options")
<:#284,9360>Box=dialogbox(".","Select")
<:#284,9360>if Box<<<;>1
<:#284,9360> FreeGlobalVar("Time")
<:#284,9360> FreeGlobalVar("Perm")
<:#284,9360> FreeGlobalVar("Temp")
<:#284,9360> Exit Function
<:#284,9360>Endif
<:#284,9360>Files=GetDialogField$(8001)
<:#284,9360>Call Loadfiles(Files)
<:#284,9360>Radio1=getdialogfield$(60)
<:#284,9360>Radio2=Getdialogfield$(61)
<:#284,9360>If {Radio2}
<:#284,9360> hour=GetGlobalArray$("time",1)
<:#284,9360> Minute=GetGlobalArray$("time",2)
<:#284,9360> IF Hour<;>0 or Minute<;>0
<:#284,9360> Runlater("{Mac}!Go","{hour}:{Minute}")
<:#568,9360> message("Printing will begin in {Hour} Hours and {Minute} Minutes")
<:#284,9360> Else
<:#284,9360> Message("No Time Selected...Printing Now!")
<:#284,9360> Call Go()
<:#284,9360> Endif
<:#284,9360>Elseif {Radio1}
<:#284,9360> Call Go()
<:#284,9360>Endif
<:#284,9360>End Function
<:#284,9360>
<:#284,9360>
<:#284,9360>
@Function@<:#293,9360><:><:><:><:>Function LoadFiles(Files)
<:#284,9360>'SingleStep(1)
<:#284,9360>From=1
<:#284,9360>Finish=9999
<:#284,9360>Flag=1
<:#284,9360>Copies=1
<:#284,9360>x=1
<:#284,9360>dir=getcurrentdir$()
<:#284,9360>Total=GetGlobalArray$("Perm",1)
<:#284,9360> Dim LStorage(total)
<:#284,9360> For T=2 to ToTal
<:#284,9360> LStorage(t)=GetGlobalArray$("Perm",t)
<:#284,9360> Next
<:#284,9360>While (1)
<:#284,9360> Filename=Strfield$(Files,x," ")
<:#284,9360> if Len(filename)<;>3
<:#284,9360> Found=ArraySearch(&LStorage,Filename,2,"^")
<:#284,9360> IF Found<;>0
<:#284,9360> Temp=LStorage(Found)
<:#284,9360> Else
<:#284,9360> temp="{dir}^{Filename}^{Copies}^{From}^{Finish}^{Flag}"
<:#284,9360> Endif
<:#284,9360> SetGlobalArray("perm",x+1,Temp)
<:#284,9360> x=x+1
<:#284,9360> Else
<:#284,9360> Break
<:#284,9360> Endif
<:#284,9360>Wend
<:#284,9360>SetGlobalArray("Perm",1,x)
<:#284,9360>End Function
<:#284,9360>
<:#284,9360>
@Function@<:#293,9360><:><:>Function Options(Hdlg,Id,Text)
<:#284,9360>Files=GetDlgItemText(Hdlg,8001)
<:#284,9360>If Len(files) <<3
<:#284,9360> Message("Please Select Some Files First, Thanks..")
<:#284,9360> Exit Function
<:#284,9360>Endif
<:#284,9360>
<:#284,9360>Call Loadfiles(Files)
<:#284,9360>MaxPerm=GetGlobalArray$("Perm",1)
<:#284,9360>AllocGlobalVar("Temp",MaxPerm)
<:#284,9360>AllocGlobalVar ("Counter",1)
<:#284,9360>SetGlobalVar("Counter",2)
<:#284,9360>
<:#284,9360>For x=2 to Maxperm
<:#284,9360> Data=GetGlobalArray$("Perm",x)
<:#284,9360> SetGlobalArray("temp",x,Data)
<:#284,9360>Next
<:#284,9360>Call SetFirst()
<:#284,9360>Mac=GetRunningMacroFile$()
<:#284,9360>FillEdit(50,1)
<:#284,9360>SetDlgCallBack(8000,"{mac}!Numbering")
<:#284,9360>SetDlgCallBack(8001,"{MAc}!Numbering")
<:#284,9360>SetDlgCallBack(56,"{mac}!NextFile")
<:#284,9360>SetDlgCallBack(57,"{mac}!SaveSettings")
<:#284,9360>EnableWindow(Hdlg,0)
<:#284,9360>Box=dialogbox(".","Options")
<:#284,9360>EnableWindow(Hdlg,1)
<:#284,9360>SetFocus(Hdlg)
<:#284,9360>if Box = 1
<:#284,9360>Call TempToPerm() ' if ok swap temp to perm
<:#284,9360>Endif
<:#284,9360>FreeGlobalVar("Counter")
<:#284,9360>End Function
<:#284,9360>
<:#284,9360><:><:>
@Function@<:#293,9360>Function SaveSettings(Hdlg,Id,Text)
<:#284,9360>Lcount=GetGlobalVar$("Counter")
<:#284,9360>From=GetDlgItemText(Hdlg,8000)
<:#284,9360>Finish=GetDlgItemText(Hdlg,8001)
<:#284,9360>Copies=GetdlgItemText(Hdlg,8002)
<:#284,9360>Flag=GetFlag(Hdlg)
<:#284,9360>Dir=StrField$(GetTemp(Lcount),1,"^")
<:#284,9360>Name=StrField$(GetTemp(Lcount),2,"^")
<:#284,9360>SaveBack="{Dir}^{Name}^{copies}^{From}^{Finish}^{Flag}"
<:#284,9360>'Message(SaveBack)
<:#284,9360>SetGlobalArray("Temp",Lcount,SaveBack)
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360>Function NextFile(Hdlg,id,Text)
<:#284,9360>SaveSettings(Hdlg,id,Text)
<:#284,9360>LCount=GetGlobalVar$("counter")
<:#284,9360>Max=GetGlobalArray$("Perm",1)
<:#284,9360>If Lcount<<Max
<:#284,9360> Lcount=Lcount+1
<:#284,9360>Else
<:#284,9360> Lcount=2
<:#284,9360>Endif
<:#284,9360>ShowStat=Lcount - 1
<:#284,9360>ShowMax=Max - 1
<:#284,9360> Status="File {ShowStat} of {ShowMax}"
<:#284,9360> Name2=UCase$(StrField$(GetTemp(Lcount),2,"^"))
<:#284,9360> Flag=StrField$(GetTemp(Lcount),6,"^")
<:#284,9360> From=StrField$(GetTemp(Lcount),4,"^")
<:#284,9360> fin=StrField$(GetTemp(Lcount),5,"^")
<:#284,9360> Copies=StrField$(GetTemp(Lcount),3,"^")
<:#284,9360> SetFlag(Hdlg,Flag)
<:#284,9360> SetDlgItemText(Hdlg,1002,"{Name2}")
<:#284,9360> SetDlgItemText(Hdlg,8000,from)
<:#284,9360> SetDlgITemText(Hdlg,8001,Fin)
<:#284,9360> SetDlgItemText(Hdlg,8002,Copies)
<:#284,9360> SetDlgItemText(Hdlg,1003,Status)
<:#284,9360>SetGlobalVar("counter",lcount)
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360><:><:>Function SetFlag(Hdlg,Flag)
<:#284,9360>mask = 1
<:#284,9360>for i = 1 to 11
<:#284,9360> If Flag & Mask
<:#284,9360> SetDlgItemText(hDlg, 59 + i, 1)
<:#284,9360> Else
<:#284,9360> SetDlgItemText(Hdlg,59 + i, 0)
<:#284,9360> Endif
<:#284,9360> mask = mask * 2
<:#284,9360>If I=3
<:#284,9360> Mask=Mask*2
<:#284,9360>Endif
<:#284,9360>next
<:#284,9360>If (GetDlgItemText(Hdlg,60)=0) ' if all is no
<:#284,9360> SetDlgItemText(Hdlg,90,1)
<:#284,9360>Endif
<:#284,9360>if (((GetDlgItemText(Hdlg,68)=0) and (GetDlgItemText(Hdlg,69)=0)))
<:#284,9360> SetdlgItemText(Hdlg,50,1)
<:#284,9360>Else
<:#284,9360> SetDlgItemText(Hdlg,50,0)
<:#284,9360>Endif
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360>Function SetFirst()
<:#284,9360>Name=Ucase$(Strfield$(GetTemp(2),2,"^"))
<:#284,9360>flag=StrField$(GetTemp(2),6,"^")
<:#284,9360>From=Strfield$(GetTemp(2),4,"^")
<:#284,9360>Finish=Strfield$(GetTemp(2),5,"^")
<:#284,9360>Copies=StrField$(GetTemp(2),3,"^")
<:#284,9360>Max=GetGlobalArray$("Perm",1) - 1
<:#284,9360>Status="File 1 of {Max}"
<:#284,9360>Filledit(1002,Name)
<:#284,9360>Filledit(1003,Status)
<:#284,9360>Filledit(8000,From)
<:#284,9360>Filledit(8001,Finish)
<:#284,9360>Filledit(8002,Copies)
<:#284,9360>mask = 1
<:#284,9360>for i = 1 to 11
<:#284,9360> Filledit(59 + i, flag & mask)
<:#284,9360> mask = mask * 2
<:#284,9360>If I=3
<:#284,9360> Mask=Mask*2
<:#284,9360>Endif
<:#284,9360>next
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360>Function GetFlag(Hdlg)
<:#284,9360>Mask=1
<:#284,9360>SumFlag=0
<:#284,9360>For x=60 to 70
<:#284,9360> SumFlag=SumFlag+(GetItem(x)*Mask)
<:#284,9360> Mask=Mask*2
<:#284,9360>if x=62
<:#284,9360> mask=Mask*2
<:#284,9360>Endif
<:#284,9360>
<:#284,9360>Next
<:#284,9360>Return SumFlag;
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360>Function Numbering(Hdlg,Id,Text)
<:#284,9360>SetDlgItemText(Hdlg,60,0)
<:#284,9360>SetDlgItemText(Hdlg,90,True)
<:#284,9360>End Function
<:#284,9360>
<:#284,9360>Function TempToPerm()
<:#284,9360>' This will dump the contents of the Temp Array into the Perm Array.
<:#284,9360>Total=GetGlobalarray$("Perm",1)
<:#284,9360>FreeGlobalVar("Perm")
<:#284,9360>AllocGlobalVar("Perm",200)
<:#284,9360>SetGlobalArray("Perm",1,Total)
<:#284,9360>For X= 2 to Total
<:#284,9360> Data=GetGlobalArray$("Temp",x)
<:#284,9360> SetGlobalArray("Perm",x,Data)
<:#284,9360>Next
<:#284,9360>FreeGlobalVar("Temp")
<:#284,9360>End function
<:#284,9360>For T=1 to Total
<:#284,9360>
<:#284,9360>
<:#284,9360>' This is the time box to allow user to set print time.
<:#284,9360>'
@Function@<:#293,9360><:><:>Function Time(hdlg,id,text)
<:#284,9360>'singlestep(1)
<:#284,9360>SetDlgItemText(Hdlg,60,0)
<:#284,9360>SetDlgItemText(Hdlg,61,True)
<:#284,9360>T = 0
<:#284,9360>Mac=GetRunningMacroFile$()
<:#284,9360>Today=NOW()
<:#284,9360>Time= FormatTime$(Today,3)
<:#284,9360>Date=FormatDate$(Today,"f")
<:#284,9360>Filledit(1000,Time)
<:#284,9360>Filledit(1006,Date)
<:#284,9360>Sec=(GetGlobalArray$("time",1) * 3600) + (GetGlobalArray$("time",2) * 60)
<:#284,9360>Sec = Sec + Today
<:#284,9360>Filledit(1001,FormatDate$(Sec, "f"))
<:#284,9360>Filledit(1005,FormatTime$(Sec, 3))
<:#284,9360>Filledit(8000, GetGlobalArray$("time",1))
<:#284,9360>Filledit(8001,GetGlobalArray$("time",2))
<:#284,9360>SetDlgCallBack(Hour_Up,"{Mac}!Timeup")
<:#284,9360>SetDlgCallBack(Minute_up,"{Mac}!Timeup")
<:#284,9360>SetDlgCallBack(Hour_Down,"{Mac}!TimeDown")
<:#284,9360>SetDlgCallBack(Minute_Down,"{Mac}!TimeDown")
<:#284,9360>
<:#284,9360>EnableWindow(Hdlg,0)
<:#284,9360>Box=dialogbox(".","Time")
<:#284,9360>EnableWindow(Hdlg,1)
<:#284,9360>SetFocus(Hdlg)
<:#284,9360>If Box<<<;>1
<:#284,9360> Exit Function
<:#284,9360>Endif
<:#284,9360>SetGlobalArray("time",1,GetDialogField$(8000))
<:#284,9360>SetGlobalArray("time",2,GetDialogField$(8001))
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360><:><:>Function Timeup(hdlg,id,text)
<:#284,9360>dllid = DllLoadLib("User", "GetAsyncKeyState", "HH")
<:#284,9360>Editbox =8067 - id
<:#284,9360>Number=GetDlgItemText(Hdlg,Editbox)
<:#284,9360>Number=Number + 1
<:#284,9360>if dllid
<:#284,9360> while (0x8000 & DllCall(dllid, VK_LBUTTON))
<:#284,9360> Number=Number+1
<:#284,9360> if Number <;> 60
<:#284,9360> Number = 0
<:#284,9360> Endif
<:#284,9360> SetDlgItemText(hdlg, EditBox, Number)
<:#284,9360> wend
<:#284,9360> DllFreeLib(dllid)
<:#284,9360>Endif
<:#284,9360>if Number <;> 60
<:#284,9360> Number = 0
<:#284,9360> Endif
<:#284,9360>SetDlgItemText(Hdlg,Editbox,Number)
<:#284,9360>Call SetTime(Hdlg)
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360><:><:>Function TimeDown(hdlg,id,text)
<:#284,9360>dllid = DllLoadLib("User", "GetAsyncKeyState", "HH")
<:#284,9360>Editbox =8057 - id
<:#284,9360>Number=GetDlgItemText(Hdlg,Editbox)
<:#284,9360>Number=Number - 1
<:#284,9360>if dllid
<:#284,9360> while (0x8000 & DllCall(dllid, VK_LBUTTON))
<:#284,9360> Number=Number - 1
<:#284,9360> if Number << 0
<:#284,9360> Number = 60
<:#284,9360> Endif
<:#284,9360> SetDlgItemText(hdlg, EditBox, Number)
<:#284,9360> wend
<:#284,9360> DllFreeLib(dllid)
<:#284,9360>Endif
<:#284,9360> if Number << 0
<:#284,9360> Number = 60
<:#284,9360> Endif
<:#284,9360>SetDlgItemText(Hdlg,Editbox,Number)
<:#284,9360>Call SetTime(Hdlg)
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360><:><:>Function SetTime(Hdlg)
<:#284,9360>Today = Now()
<:#284,9360>Sec=(GetDlgItemText(Hdlg,8000) * 3600) + (GetDlgItemText(Hdlg,8001) * 60)
<:#284,9360>Sec = Sec + Today
<:#284,9360>SetDlgItemText(Hdlg,1000,FormatTime$(Today,3))
<:#284,9360>SetDlgItemText(Hdlg,1006,FormatDate$(Today,"f"))
<:#284,9360>SetDlgItemText(Hdlg,1001,FormatDate$(Sec, "f"))
<:#284,9360>SetDlgItemText(Hdlg,1005,FormatTime$(Sec, 3))
<:#284,9360>End Function
<:#284,9360>
@Function@<:#293,9360><:><:><:><:><:><:>Function Go()
<:#284,9360>HourGlass(on)
<:#284,9360>hwnd = FindWindow("AmiProWndA", 0)
<:#284,9360> if not isiconic(hwnd)
<:#284,9360> TitleBarMsg("Please Stand By....Printing in Progress")
<:#284,9360> Endif
<:#284,9360>StatusBarMsg("Now Printing.....")
<:#284,9360>Total=GetGlobalArray$("Perm",1)
<:#284,9360>If GetOpenFilecount() <;>0
<:#284,9360> If FileChanged(0,1)
<:#284,9360> isfileChanged = 1
<:#284,9360> Endif
<:#284,9360>Endif
<:#284,9360>For y=2 to Total
<:#284,9360> AnswerMsgBox(7)
<:#284,9360> Path=StrField$(GetPerm(y),1,"^")
<:#284,9360> Drive=Right$(StrField$(Path,1,":"),1)
<:#284,9360> Direct=Strfield$(Path,2,":")
<:#284,9360> Name=UCase$(StrField$(GetPerm(y),2,"^"))
<:#284,9360> Filename="{Drive}:{Direct}{name}"
<:#284,9360>
<:#284,9360> Flag=StrField$(GetPerm(Y),6,"^")
<:#284,9360> If ((Flag & 512) or (Flag & 1024))
<:#284,9360> Else
<:#284,9360> Flag=Flag+1536
<:#284,9360> Endif
<:#284,9360> From=StrField$(GetPerm(Y),4,"^")
<:#284,9360> fin=StrField$(GetPerm(Y),5,"^")
<:#284,9360> Copies=StrField$(GetPerm(Y),3,"^")
<:#284,9360> StatusBarMsg("Now Printing File {Filename} ")
<:#284,9360> If 1 = Fileopen("{Filename}",1,"AmiPro")
<:#284,9360> FilePrint(copies,From,Fin,Flag)
<:#284,9360> FileClose()
<:#284,9360> Endif
<:#284,9360>Next
<:#284,9360>If GetOpenFilecount()<;>0
<:#284,9360> Filechanged(1,1)
<:#284,9360>Endif
<:#284,9360>FreeGlobalVar("Time")
<:#284,9360>FreeGlobalVar("Perm")
<:#284,9360>TitleBarMsg("")
<:#284,9360>TitleBarMsg("Ami Pro")
<:#284,9360>StatusBarMsg("")
<:#284,9360>HourGlass(off)
<:#284,9360>End Function
<:#284,9360>
<:#284,9360>ChechBoth(Flag)
<:#284,9360>End Function
<:#284,9360>
<:#284,9360>DIALOG select
<:#284,9360>-2134376448 10 98 32 130 112 "" "" "Select Files to Print"
<:#284,9360>FONT 6 "Helv"
<:#284,9360>8 16 66 90 9001 1352859659 "listbox" "" 0
<:#284,9360>82 78 38 12 60 1342373897 "button" "Now" 0
<:#284,9360>82 90 38 12 61 1342177289 "button" "Later" 0
<:#284,9360>8 4 68 10 7999 1342308352 "static" "" 0
<:#284,9360>18 92 0 0 8001 1350566016 "edit" "" 0
<:#284,9360>78 68 46 36 12 1342177287 "button" "Print " 0
<:#284,9360>84 4 40 14 1 1342373889 "button" "OK" 0
<:#284,9360>84 20 40 14 2 1342373888 "button" "Cancel" 0
<:#284,9360>84 36 40 14 51 1342373888 "button" "Options..." 0
<:#284,9360>84 52 40 14 54 1342373888 "button" "Time..." 0
<:#284,9360>END DIALOG
<:#284,9360>
<:#284,9360>
<:#284,9360>
<:#284,9360>
<:#284,9360>DIALOG Time
<:#568,9360>-2134376448 14 68 52 180 76 "" "" "Select Time "
<:#284,9360>FONT 6 "Helv"
<:#284,9360>30 28 14 12 8000 1350631424 "edit" "" 0
<:#284,9360>81 28 13 12 8001 1350631424 "edit" "" 0
<:#284,9360>136 4 40 14 1 1342242817 "button" "OK" 0
<:#284,9360>136 20 40 14 2 1342242816 "button" "Cancel" 0
<:#284,9360>94 5 40 10 1000 1342177281 "static" " " 0
<:#284,9360>25 17 25 10 1002 1342177280 "static" "Hours" 0
<:#284,9360>76 18 23 9 1003 1342177280 "static" "Minutes" 0
<:#284,9360>20 28 10 12 57 1342177280 "button" "<<" 0
<:#284,9360>44 28 11 12 67 1342177280 "button" "<;>" 0
<:#284,9360>70 28 11 12 56 1342177280 "button" "<<" 0
<:#284,9360>94 28 11 12 66 1342242816 "button" "<;>" 0
<:#284,9360>6 6 84 10 1006 1342177281 "static" "" 0
<:#284,9360>4 56 84 10 1001 1342177281 "static" "" 0
<:#284,9360>93 56 43 10 1005 1342177281 "static" "" 0
<:#284,9360>END DIALOG
<:#284,9360>
<:#284,9360>
<:#284,9360>DIALOG options
<:#568,9360>-2134376448 27 62 42 194 134 "" "" "Batch Print Options"
<:#284,9360>FONT 6 "Helv"
<:#284,9360>70 16 16 12 8002 1350631552 "edit" "" 0
<:#284,9360>50 30 22 12 60 1342373897 "button" "All" 0
<:#284,9360>80 42 22 12 8000 1350631424 "edit" "" 0
<:#284,9360>116 42 22 12 8001 1350631424 "edit" "" 0
<:#284,9360>50 56 28 12 50 1342373897 "button" "Both" 0
<:#284,9360>80 56 30 12 68 1342177289 "button" "Even" 0
<:#284,9360>112 56 32 12 69 1342177289 "button" "Odd" 0
<:#284,9360>50 42 28 12 90 1342308361 "button" "From:" 0
<:#284,9360>104 44 12 10 1001 1342177280 "static" "To:" 0
<:#284,9360>26 4 60 10 1002 1342177280 "static" "" 0
<:#284,9360>10 78 50 12 61 1342373891 "button" "Reverse" 0
<:#284,9360>10 90 50 12 62 1342242819 "button" "Collate" 0
<:#568,9360>10 102 50 12 63 1342242819 "button" "Crop marks" 0
<:#568,9360>10 114 66 12 70 1342242819 "button" "Without pictures" 0
<:#568,9360>104 78 78 12 64 1342242819 "button" "With doc description" 0
<:#568,9360>104 90 78 12 65 1342242819 "button" "On preprinted form" 0
<:#568,9360>104 102 78 12 66 1342242819 "button" "Update power fields" 0
<:#284,9360>104 114 60 12 67 1342242819 "button" "With notes" 0
<:#568,9360>6 18 62 10 1000 1342308352 "static" "Number of copies:" 0
<:#284,9360>88 4 54 10 1003 1342177280 "static" "" 0
<:#284,9360>6 4 18 10 1004 1342177280 "static" "Print:" 0
<:#568,9360>6 30 42 10 1005 1342177280 "static" "Page range:" 0
<:#568,9360>6 68 182 62 33 1342177287 "button" "Extended Options" 0
<:#284,9360>16 58 32 10 1006 1342177280 "static" "Including:" 0
<:#284,9360>148 6 40 14 1 1342373889 "button" "OK" 0
<:#284,9360>148 22 40 14 2 1342373888 "button" "Cancel" 0
<:#284,9360>148 38 40 14 56 1342373888 "button" "Save -<;>" 0
<:#284,9360>
<:#284,9360>END DIALOG
>
[Embedded]
00021962
>
[macsum] 18
Multiple 0 0 10 29
LoadFiles 812 1 13 74
Options 1429 3 7 106
SaveSettings 2181 3 9 141
NextFile 2503 3 11 154
SetFlag 3181 2 3 180
SetFirst 3678 0 10 203
GetFlag 4310 1 4 226
Numbering 4583 3 1 240
TempToPerm 4643 0 4 245
Time 4916 3 7 262
Timeup 5670 3 4 295
TimeDown 6067 3 4 317
SetTime 6466 1 3 339
Go 6766 0 14 349
select 8128 0 -1 398
Time 8676 0 -1 416
options 9375 0 -1 436
[macse]
14 Multiple
0 1317
13
11 00000109
0 3 "Macro not available while running under HP NewWave."
6 0
15
9
5 1
8 1
0 271 "Perm" 200
0 272 "Perm" 1 1
0 271 "Time" 2
0 272 "time" 1 0
0 272 "time" 2 0
0 802
13
8 2
0 268
13
8 3
0 31 9001 "{3}*.s?m"
0 31 60 1
0 41 54 "{2}!Time"
0 41 51 "{2}!Options"
0 26 "." "Select"
13
8 4
6 4
5 1
18 1
11 00000426
0 266 "Time"
0 266 "Perm"
0 266 "Temp"
6 0
15
9
0 27 8001
13
8 5
16 Loadfiles "{5}"
0 27 60
13
8 6
0 27 61
13
8 7
6 7
11 00000775
0 273 "time" 1
13
8 8
0 273 "time" 2
13
8 9
6 8
5 0
18 3
6 9
5 0
18 3
1 2
11 00000715
0 285 "{2}!Go" "{8}:{9}"
0 3 "Printing will begin in {8} Hours and {9} Minutes"
10 00000762
0 3 "No Time Selected...Printing Now!"
16 Go
10 00000800
6 6
11 00000800
16 Go
6 0
15
9
14 LoadFiles
5 1
8 2
5 9999
8 3
5 1
8 4
5 1
8 5
5 1
8 6
0 290
13
8 7
0 273 "Perm" 1
13
8 8
6 8
21 9 [X]
5 2
8 10
6 8
6 10
18 2
12 00000212
10 00000262
5 1
6 10
3 0
8 10
10 00000134
6 10
0 273 "Perm" "{10}"
13
23 9
10 00000177
5 1
11 00000583
0 20 "{0}" "{6}" " "
13
8 11
0 14 "{11}"
13
5 3
18 3
11 00000557
0 1044 &9 "{11}" 2 "^"
13
8 12
6 12
5 0
18 3
11 00000448
6 12
22 9
8 13
10 00000484
7 "{7}^{11}^{5}^{2}^{3}^{4}"
8 13
6 6
5 1
3 0
0 272 "perm" [X] "{13}"
6 6
5 1
3 0
8 6
10 00000570
10 00000583
10 00000262
0 272 "Perm" 1 "{6}"
6 1
15
9
14 Options
0 42 "{0}" 8001
13
8 4
0 14 "{4}"
13
5 3
18 5
11 00000138
0 3 "Please Select Some Files First, Thanks.."
6 3
15
9
16 Loadfiles "{4}"
0 273 "Perm" 1
13
8 5
0 271 "Temp" "{5}"
0 271 "Counter" 1
0 264 "Counter" 2
5 2
8 6
6 5
6 6
18 2
12 00000326
10 00000394
5 1
6 6
3 0
8 6
10 00000251
0 273 "Perm" "{6}"
13
8 7
0 272 "temp" "{6}" "{7}"
10 00000293
16 SetFirst
0 802
13
8 8
0 31 50 1
0 41 8000 "{8}!Numbering"
0 41 8001 "{8}!Numbering"
0 41 56 "{8}!NextFile"
0 41 57 "{8}!SaveSettings"
0 284 "User,EnableWindow,AHA" "{0}" 0
0 26 "." "Options"
13
8 9
0 284 "User,EnableWindow,AHA" "{0}" 1
0 284 "User,SetFocus,HH" "{0}"
6 9
5 1
18 0
11 00000723
16 TempToPerm
0 266 "Counter"
6 3
15
9
14 SaveSettings
0 265 "Counter"
13
8 4
0 42 "{0}" 8000
13
8 5
0 42 "{0}" 8001
13
8 6
0 42 "{0}" 8002
13
8 7
16 GetFlag "{0}"
13
8 8
0 273 "temp" "{4}"
13
0 20 [X] 1 "^"
13
8 9
0 273 "temp" "{4}"
13
0 20 [X] 2 "^"
13
8 10
7 "{9}^{10}^{7}^{5}^{6}^{8}"
8 11
0 272 "Temp" "{4}" "{11}"
6 3
15
9
14 NextFile
16 SaveSettings "{0}" "{1}" "{2}"
0 265 "counter"
13
8 4
0 273 "Perm" 1
13
8 5
6 4
6 5
18 5
11 00000161
6 4
5 1
3 0
8 4
10 00000171
5 2
8 4
6 4
5 1
3 1
8 6
6 5
5 1
3 1
8 7
7 "File {6} of {7}"
8 8
0 273 "temp" "{4}"
13
0 20 [X] 2 "^"
13
0 18 [X]
13
8 9
0 273 "temp" "{4}"
13
0 20 [X] 6 "^"
13
8 10
0 273 "temp" "{4}"
13
0 20 [X] 4 "^"
13
8 11
0 273 "temp" "{4}"
13
0 20 [X] 5 "^"
13
8 12
0 273 "temp" "{4}"
13
0 20 [X] 3 "^"
13
8 13
16 SetFlag "{0}" "{10}"
0 43 "{0}" 1002 "{9}"
0 43 "{0}" 8000 "{11}"
0 43 "{0}" 8001 "{12}"
0 43 "{0}" 8002 "{13}"
0 43 "{0}" 1003 "{8}"
0 264 "counter" "{4}"
6 3
15
9
14 SetFlag
5 1
8 3
5 1
8 4
5 11
6 4
18 2
12 00000108
10 00000300
5 1
6 4
3 0
8 4
10 00000032
6 1
6 3
25 1
11 00000184
5 59
6 4
3 0
0 43 "{0}" [X] 1
10 00000218
5 59
6 4
3 0
0 43 "{0}" [X] 0
6 3
5 2
4 0
8 3
6 4
5 3
18 0
11 00000287
6 3
5 2
4 0
8 3
10 00000075
0 42 "{0}" 60
13
5 0
18 0
11 00000360
0 43 "{0}" 90 1
0 42 "{0}" 68
13
5 0
18 0
0 42 "{0}" 69
13
5 0
18 0
1 1
11 00000468
0 43 "{0}" 50 1
10 00000485
0 43 "{0}" 50 0
6 2
15
9
14 SetFirst
0 273 "temp" 2
13
0 20 [X] 2 "^"
13
0 18 [X]
13
8 1
0 273 "temp" 2
13
0 20 [X] 6 "^"
13
8 2
0 273 "temp" 2
13
0 20 [X] 4 "^"
13
8 3
0 273 "temp" 2
13
0 20 [X] 5 "^"
13
8 4
0 273 "temp" 2
13
0 20 [X] 3 "^"
13
8 5
0 273 "Perm" 1
13
5 1
3 1
8 6
7 "File 1 of {6}"
8 7
0 31 1002 "{1}"
0 31 1003 "{7}"
0 31 8000 "{3}"
0 31 8001 "{4}"
0 31 8002 "{5}"
5 1
8 8
5 1
8 9
5 11
6 9
18 2
12 00000492
10 00000620
5 1
6 9
3 0
8 9
10 00000416
5 59
6 9
3 0
6 2
6 8
25 1
0 31 [X] [X]
6 8
5 2
4 0
8 8
6 9
5 3
18 0
11 00000607
6 8
5 2
4 0
8 8
10 00000459
6 0
15
9
14 GetFlag
5 1
8 2
5 0
8 3
5 60
8 4
5 70
6 4
18 2
12 00000119
10 00000249
5 1
6 4
3 0
8 4
10 00000043
6 3
0 42 "{0}" "{4}"
13
6 2
4 0
3 0
8 3
6 2
5 2
4 0
8 2
6 4
5 62
18 0
11 00000236
6 2
5 2
4 0
8 2
10 00000086
6 3
15
9
6 1
15
9
14 Numbering
0 43 "{0}" 60 0
0 43 "{0}" 90 1
6 3
15
9
14 TempToPerm
0 273 "Perm" 1
13
8 1
0 266 "Perm"
0 271 "Perm" 200
0 272 "Perm" 1 "{1}"
5 2
8 2
6 1
6 2
18 2
12 00000179
10 00000247
5 1
6 2
3 0
8 2
10 00000104
0 273 "Temp" "{2}"
13
8 3
0 272 "Perm" "{2}" "{3}"
10 00000146
0 266 "Temp"
6 0
15
9
14 Time
0 43 "{0}" 60 0
0 43 "{0}" 61 1
5 0
8 4
0 802
13
8 5
0 772
13
8 6
0 773 "{6}" 3
13
8 3
0 770 "{6}" "f"
13
8 7
0 31 1000 "{3}"
0 31 1006 "{7}"
0 273 "time" 1
13
5 3600
4 0
0 273 "time" 2
13
5 60
4 0
3 0
8 8
6 8
6 6
3 0
8 8
0 770 "{8}" "f"
13
0 31 1001 [X]
0 773 "{8}" 3
13
0 31 1005 [X]
0 273 "time" 1
13
0 31 8000 [X]
0 273 "time" 2
13
0 31 8001 [X]
0 41 67 "{5}!Timeup"
0 41 66 "{5}!Timeup"
0 41 57 "{5}!TimeDown"
0 41 56 "{5}!TimeDown"
0 284 "User,EnableWindow,AHA" "{0}" 0
0 26 "." "Time"
13
8 9
0 284 "User,EnableWindow,AHA" "{0}" 1
0 284 "User,SetFocus,HH" "{0}"
6 9
5 1
18 1
11 00000672
6 3
15
9
0 27 8000
13
0 272 "time" 1 [X]
0 27 8001
13
0 272 "time" 2 [X]
6 3
15
9
14 Timeup
0 297 "User" "GetAsyncKeyState" "HH"
13
8 4
5 8067
6 1
3 1
8 5
0 42 "{0}" "{5}"
13
8 6
6 6
5 1
3 0
8 6
6 4
11 00000303
5 32768
0 284 "{4}" 1
13
25 1
11 00000290
6 6
5 1
3 0
8 6
6 6
5 60
18 3
11 00000253
5 0
8 6
0 43 "{0}" "{5}" "{6}"
10 00000146
0 298 "{4}"
6 6
5 60
18 3
11 00000343
5 0
8 6
0 43 "{0}" "{5}" "{6}"
16 SetTime "{0}"
6 3
15
9
14 TimeDown
0 297 "User" "GetAsyncKeyState" "HH"
13
8 4
5 8057
6 1
3 1
8 5
0 42 "{0}" "{5}"
13
8 6
6 6
5 1
3 1
8 6
6 4
11 00000305
5 32768
0 284 "{4}" 1
13
25 1
11 00000292
6 6
5 1
3 1
8 6
6 6
5 0
18 5
11 00000255
5 60
8 6
0 43 "{0}" "{5}" "{6}"
10 00000148
0 298 "{4}"
6 6
5 0
18 5
11 00000345
5 60
8 6
0 43 "{0}" "{5}" "{6}"
16 SetTime "{0}"
6 3
15
9
14 SetTime
0 772
13
8 2
0 42 "{0}" 8000
13
5 3600
4 0
0 42 "{0}" 8001
13
5 60
4 0
3 0
8 3
6 3
6 2
3 0
8 3
0 773 "{2}" 3
13
0 43 "{0}" 1000 [X]
0 770 "{2}" "f"
13
0 43 "{0}" 1006 [X]
0 770 "{3}" "f"
13
0 43 "{0}" 1001 [X]
0 773 "{3}" 3
13
0 43 "{0}" 1005 [X]
6 1
15
9
14 Go
0 296 1
0 284 "user,FindWindow,HCC" "AmiProWndA" 0
13
8 1
0 284 "user,isiconic,HA" "{1}"
13
1 3
11 00000237
0 284 "user,GetActiveWindow,H"
13
0 284 "user,SetWindowText,IHC" [X] "Please Stand By....Printing in Progress"
0 789 "Now Printing....."
0 273 "Perm" 1
13
8 2
0 1050
13
5 0
18 3
11 00000362
0 34 0 1
13
11 00000362
5 1
8 3
5 2
8 4
6 2
6 4
18 2
12 00000447
10 00001100
5 1
6 4
3 0
8 4
10 00000372
0 291 7
0 273 "perm" "{4}"
13
0 20 [X] 1 "^"
13
8 5
0 20 "{5}" 1 ":"
13
0 807 [X] 1
13
8 6
0 20 "{5}" 2 ":"
13
8 7
0 273 "perm" "{4}"
13
0 20 [X] 2 "^"
13
0 18 [X]
13
8 8
7 "{6}:{7}{8}"
8 9
0 273 "perm" "{4}"
13
0 20 [X] 6 "^"
13
8 10
6 10
5 512
25 1
6 10
5 1024
25 1
1 2
11 00000780
10 00000805
6 10
5 1536
3 0
8 10
0 273 "perm" "{4}"
13
0 20 [X] 4 "^"
13
8 11
0 273 "perm" "{4}"
13
0 20 [X] 5 "^"
13
8 12
0 273 "perm" "{4}"
13
0 20 [X] 3 "^"
13
8 13
0 789 "Now Printing File {9} "
5 1
2 102 1 "{9}" 1 "AmiPro"
13
18 0
11 00001087
2 111 1 "{13}" "{11}" "{12}" "{10}"
2 147 1
10 00000414
0 1050
13
5 0
18 3
11 00001146
0 34 1 1
0 266 "Time"
0 266 "Perm"
0 284 "user,GetActiveWindow,H"
13
0 284 "user,SetWindowText,IHC" [X] ""
0 284 "user,GetActiveWindow,H"
13
0 284 "user,SetWindowText,IHC" [X] "Ami Pro"
0 789 ""
0 296 0
6 0
15
9
DIALOG select
-2134376448 10 98 32 130 112 "" "" "Select Files to Print"
FONT 6 "Helv"
8 16 66 90 9001 1352859659 "listbox" "" 0
82 78 38 12 60 1342373897 "button" "Now" 0
82 90 38 12 61 1342177289 "button" "Later" 0
8 4 68 10 7999 1342308352 "static" "" 0
18 92 0 0 8001 1350566016 "edit" "" 0
78 68 46 36 12 1342177287 "button" "Print " 0
84 4 40 14 1 1342373889 "button" "OK" 0
84 20 40 14 2 1342373888 "button" "Cancel" 0
84 36 40 14 51 1342373888 "button" "Options..." 0
84 52 40 14 54 1342373888 "button" "Time..." 0
DIALOG Time
-2134376448 14 68 52 180 76 "" "" "Select Time "
FONT 6 "Helv"
30 28 14 12 8000 1350631424 "edit" "" 0
81 28 13 12 8001 1350631424 "edit" "" 0
136 4 40 14 1 1342242817 "button" "OK" 0
136 20 40 14 2 1342242816 "button" "Cancel" 0
94 5 40 10 1000 1342177281 "static" " " 0
25 17 25 10 1002 1342177280 "static" "Hours" 0
76 18 23 9 1003 1342177280 "static" "Minutes" 0
20 28 10 12 57 1342177280 "button" "<" 0
44 28 11 12 67 1342177280 "button" ">" 0
70 28 11 12 56 1342177280 "button" "<" 0
94 28 11 12 66 1342242816 "button" ">" 0
6 6 84 10 1006 1342177281 "static" "" 0
4 56 84 10 1001 1342177281 "static" "" 0
93 56 43 10 1005 1342177281 "static" "" 0
DIALOG options
-2134376448 27 62 42 194 134 "" "" "Batch Print Options"
FONT 6 "Helv"
70 16 16 12 8002 1350631552 "edit" "" 0
50 30 22 12 60 1342373897 "button" "All" 0
80 42 22 12 8000 1350631424 "edit" "" 0
116 42 22 12 8001 1350631424 "edit" "" 0
50 56 28 12 50 1342373897 "button" "Both" 0
80 56 30 12 68 1342177289 "button" "Even" 0
112 56 32 12 69 1342177289 "button" "Odd" 0
50 42 28 12 90 1342308361 "button" "From:" 0
104 44 12 10 1001 1342177280 "static" "To:" 0
26 4 60 10 1002 1342177280 "static" "" 0
10 78 50 12 61 1342373891 "button" "Reverse" 0
10 90 50 12 62 1342242819 "button" "Collate" 0
10 102 50 12 63 1342242819 "button" "Crop marks" 0
10 114 66 12 70 1342242819 "button" "Without pictures" 0
104 78 78 12 64 1342242819 "button" "With doc description" 0
104 90 78 12 65 1342242819 "button" "On preprinted form" 0
104 102 78 12 66 1342242819 "button" "Update power fields" 0
104 114 60 12 67 1342242819 "button" "With notes" 0
6 18 62 10 1000 1342308352 "static" "Number of copies:" 0
88 4 54 10 1003 1342177280 "static" "" 0
6 4 18 10 1004 1342177280 "static" "Print:" 0
6 30 42 10 1005 1342177280 "static" "Page range:" 0
6 68 182 62 33 1342177287 "button" "Extended Options" 0
16 58 32 10 1006 1342177280 "static" "Including:" 0
148 6 40 14 1 1342373889 "button" "OK" 0
148 22 40 14 2 1342373888 "button" "Cancel" 0
148 38 40 14 56 1342373888 "button" "Save ->" 0
00021987