home *** CD-ROM | disk | FTP | other *** search
EPOC OPL Source | 2000-10-17 | 882 b | 35 lines |
-
-
- REM Macro RunMacro version 1.00
- REM Run a macro selected in the list
- REM of all the macros in the macros folder
- REM Very useful to run a not affected macro
- REM By Pascal NICOLAS, to be used with Macro5
- REM Last edited on 1 June 1998
-
- PROC orcaMnuR:
- Local File$(255),Name$(50),l%,l3%,m%
- l%=Len(Macros$)+1 :l3%=l%+3
- dInit "Run Macro"
- File$=Dir$(Macros$+"*.opo")
- While File$ <> ""
- Name$=Mid$(File$,l%,Len(File$)-l3%)
- File$=Dir$("")
- If File$ = ""
- dChoice m%,"",Name$
- Else
- dChoice m%,"",Name$+",..."
- Endif
- EndWh
- If Dialog
- File$=Dir$(Macros$+"*.opo")
- While m% > 1
- File$=Dir$("")
- m%=m%-1
- EndWh
- FgMacro:(File$)
- Endif
- ENDP
-
-
-