home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 12 / Macro5SIS.sis (.txt) < prev    next >
EPOC Installation Package  |  2000-10-17  |  195KB  |  2,613 lines

  1. C:\Sistemp\Upgrade.opo!:\Psion5CD1\M5Macros\Upgrade.opoC:\Sistemp\SystInfo.sisC:\Sistemp\SysRAM1.SISC:\Sistemp\Macro5Lib.sisC:\Sistemp\Macro5.sisC:\Sistemp\M5Macros.sisC:\Sistemp\Bis.txt!:\System\Apps\Macro5SIS\Bis.txtMacro5SIS 189.5 kB7
  2. c:\OPL\Macro5\Upgrade.opl
  3. THREAD&
  4. MACROTHREAD&
  5. MACRODEBUG%
  6.     DEBUGWIN%
  7. AUTOCLOSE%
  8. GCLIP%
  9. EVENT&
  10. HOTKEYT%
  11. HOTMODT%
  12. HDLT&
  13. HOTKEYP%
  14. HOTMODP%
  15. KEYMODP%
  16. HDLP&
  17.     HOTKEYS1%
  18.     HOTMODS1%
  19. HDLS1&
  20.     HOTKEYS2%
  21.     HOTMODS2%
  22. HDLS2&
  23.     HOTKEYS3%
  24.     HOTMODS3%
  25. HDLS3&
  26. HOTKEYI%
  27. HOTMODI%
  28. HDLI&
  29. HOTKEYM%
  30. HOTMODM%
  31. HDLM&
  32. HOTKEYU%
  33. HOTMODU%
  34. HDLU&
  35. HOTKEYT&
  36. HOTMODT&
  37. HOTKEYP&
  38. HOTMODP&
  39. KEYMODP&
  40.     HOTKEYS1&
  41.     HOTMODS1&
  42.     HOTKEYS2&
  43.     HOTMODS2&
  44.     HOTKEYS3&
  45.     HOTMODS3&
  46. HOTKEYI&
  47. HOTMODI&
  48. HOTKEYU&
  49. HOTMODU&
  50. DTIME%
  51. DLIGHT%
  52. DCONT%
  53.     DCONTVAL%
  54. NTIME%
  55. NLIGHT%
  56. NCONT%
  57.     NCONTVAL%
  58. PLIGHT%
  59.     DCONTVAL&
  60.     NCONTVAL&
  61. SHOWSC%
  62. ZOOMSC%
  63. DOCLOSE%
  64. PANEL$
  65. TYPE%
  66. CAPTION$
  67. CMMD$
  68. MACROS$
  69. STARTUP%
  70. STARTUP$
  71. Bp    SWITCHON%
  72. Bq    SWITCHON$
  73. STARTBG%
  74. LOADINIT237
  75. LOADINIT239
  76. SAVEINIT
  77. \System\Apps\Macro5\Macro5.iniKW
  78. \System\Apps\Macro5\Macro5.iniK(
  79. Failed to open 
  80. \System\Apps\Macro5\Macro5.iniK+
  81. Cannot upgradeW8
  82. d{1[4
  83. Version older than 2.37+
  84. Cannot upgradeW8
  85. Ur(am{A[
  86. Ur(em{A[7
  87. Version up to date+
  88. Do not need to upgradeW8
  89. Unknown version+
  90. Cannot upgradeW8
  91. D:C[)
  92. \System\Apps\Macro5\Macro5.iniK
  93. c:\System\Temp\Mcr*
  94. Macro.ini successfully upgraded+#Do not forget to delete upgrade.opoW8
  95. DTIME%
  96. DLIGHT%
  97. DCONT%
  98.     DCONTVAL&
  99. NTIME%
  100. NLIGHT%
  101. PLIGHT%
  102. NCONT%
  103.     NCONTVAL&
  104. SHOWSC%
  105. ZOOMSC%
  106. HOTKEYT&
  107. HOTMODT&
  108. HOTKEYP&
  109. HOTMODP&
  110.     HOTKEYS1&
  111.     HOTMODS1&
  112.     HOTKEYS2&
  113.     HOTMODS2&
  114.     HOTKEYS3&
  115.     HOTMODS3&
  116. HOTKEYI&
  117. HOTMODI&
  118. HOTKEYU&
  119. HOTMODU&
  120. PANEL$
  121. TYPE%
  122. CAPTION$
  123. CMMD$
  124. MACROS$
  125. STARTUP%
  126. STARTUP$
  127.     SWITCHON%
  128.     SWITCHON$
  129. DOCLOSE%
  130. STARTBG%
  131. \System\Apps\Macro5\Macro5.iniKO
  132. DTIME%
  133. DLIGHT%
  134. DCONT%
  135.     DCONTVAL%
  136. NTIME%
  137. NLIGHT%
  138. PLIGHT%
  139. NCONT%
  140.     NCONTVAL%
  141. SHOWSC%
  142. ZOOMSC%
  143. HOTKEYT%
  144. HOTMODT%
  145. HOTKEYP%
  146. HOTMODP%
  147.     HOTKEYS1%
  148.     HOTMODS1%
  149.     HOTKEYS2%
  150.     HOTMODS2%
  151.     HOTKEYS3%
  152.     HOTMODS3%
  153. HOTKEYI%
  154. HOTMODI%
  155. HOTKEYU%
  156. HOTMODU%
  157. PANEL$
  158. TYPE%
  159. CAPTION$
  160. CMMD$
  161. MACROS$
  162. STARTUP%
  163. STARTUP$
  164.     SWITCHON%
  165.     SWITCHON$
  166. STARTBG%
  167. DOCLOSE%
  168. \System\Apps\Macro5\Macro5.iniKO
  169. DTIME%
  170. DLIGHT%
  171. DCONT%
  172.     DCONTVAL%
  173. NTIME%
  174. NLIGHT%
  175. PLIGHT%
  176. NCONT%
  177.     NCONTVAL%
  178. SHOWSC%
  179. ZOOMSC%
  180. HOTKEYT%
  181. HOTMODT%
  182. HOTKEYP%
  183. HOTMODP%
  184.     HOTKEYS1%
  185.     HOTMODS1%
  186.     HOTKEYS2%
  187.     HOTMODS2%
  188.     HOTKEYS3%
  189.     HOTMODS3%
  190. HOTKEYI%
  191. HOTMODI%
  192. HOTKEYM%
  193. HOTMODM%
  194. HOTKEYU%
  195. HOTMODU%
  196. PANEL$
  197. TYPE%
  198. CAPTION$
  199. CMMD$
  200. MACROS$
  201. STARTUP%
  202. STARTUP$
  203.     SWITCHON%
  204.     SWITCHON$
  205. STARTBG%
  206. DOCLOSE%
  207. c:\System\Apps\Macro5
  208. + c:\System\Apps\Macro5\Macro5.ini(
  209. MAIN.
  210. LOADINIT237>
  211. LOADINIT239
  212. SAVEINIT\
  213. \epoc32\release\MARM\rel\Systinfo.opx!:\System\OPX\Systinfo.opxSystinfo OPX 
  214.  Symbian Ltdy
  215. %-16S%-16S%-16S%-16S%-16S%-16S
  216. c:\System\Apps\Shell\Shell.ini
  217. COMM::0
  218. ECUART
  219. IRCOMM::0
  220. IRCOMM
  221. EUSER[100000c1].DLL
  222. OPLR[10000077].DLL
  223. ESTOR[100000cf].DLL
  224. EFSRV[100000bd].DLL
  225. ealwl[10000173].dll
  226. PLPSVR[1000011a].DLL
  227. APPARC[100000de].DLL
  228. ETEXT[100000d0].DLL
  229. EIKON[100001c2].DLL
  230. 000D0T0`0l0x0
  231. 1`7l9p9t9x9
  232. 8T8X8
  233. ; ;$;(;,;0;4;8;<;@;D;H;L;P;T;X;\;`;d;h;l;p;t;
  234. = =,=8=D=P=\=h=t=
  235. >(>4>@>L>X>d>p>|>
  236. ?$?0?<?H?T?`?l?x?
  237. 0 0,080D0P0\0h0t0
  238. 085<5@5L5P5
  239. \epoc32\RELEASE\MARM\REL\Sysram1.opx!:\SYSTEM\OPX\Sysram1.opxSysram1 OPXy
  240. Sound
  241. EUSER[100000c1].DLL
  242. OPLR[10000077].DLL
  243. APGRFX[1000011b].DLL
  244. BAFL[1000004e].DLL
  245. EDBMS[100000df].DLL
  246. EFSRV[100000bd].DLL
  247. 000D0T0`0l0x0
  248. ; ;$;(;,;0;4;8;<;@;D;H;L;P;T;X;\;`;
  249. =(=4=@=L=X=d=p=|=
  250. >$>0><>H>T>`>l>x>
  251. ? ?,?8?D?P?\?h?t?
  252. \Macro5.opx!:\System\OPX\Macro5.opx\Macro5.mcx!:\System\OPX\Macro5.mcx\Macro.oph!:\System\OPL\Macro.ophMacro5 Libraryy
  253. OJeEPOC
  254. z:\System\Data\Default.aif
  255. 0123456789abcdef
  256. EikonServer
  257. EUSER[100000c1].DLL
  258. OPLR[10000077].DLL
  259. EIKON[100001c2].DLL
  260. EFSRV[100000bd].DLL
  261. WS32[1000017d].DLL
  262. APGRFX[1000011b].DLL
  263. APPARC[100000de].DLL
  264. ealwl[10000173].dll
  265. FBSCLI[10000176].DLL
  266. BAFL[1000004e].DLL
  267. ESTOR[100000cf].DLL
  268. 000D0T0`0l0x0
  269. 2 344@5
  270. >t>h?
  271. `0d0h3
  272. 4 4$4(4,4044484<4@4D4H4L4P4T4X4\4`4d4h4l4p4t4x4|4
  273. 6 6,686D6P6\6h6t6
  274. 7(747@7L7X7d7p7|7
  275. 8$808<8H8T8`8l8x8
  276. 9 9,989D9P9\9h9t9
  277. :(:4:@:L:X:d:p:|:
  278. ;$;0;<;H;T;`;l;x;
  279. < <,<8<D<
  280. C:\OPL\Macro5Lib\Macro5.mcx.opl
  281. THREAD&
  282. .hlpW
  283. THREAD&
  284. THREAD&
  285. .hlpW
  286. THREAD&
  287. .hlpW
  288. THREAD&
  289. THREAD&
  290. THREAD&
  291. THREAD&
  292. GETTHREAD&
  293. GETTHREAD&
  294. THREAD&
  295. THREAD&
  296. THREAD&
  297. SENDRSCMENU
  298. THREAD&
  299. IOi{1[4
  300. z:\System\Apps\Shell\Shell.rscO
  301. z:\System\Apps\Shell\Shell.rscO
  302. SENDRSCMENU
  303. COPY$
  304. THREAD&
  305. IOi{1[4
  306. z:\System\Apps\Shell\Shell.rscO
  307. z:\System\Apps\Shell\Shell.rscO
  308. z:\System\Apps\Shell\Shell.rscO
  309. THREAD&
  310. THREAD&
  311. THREAD&
  312. THREAD&
  313. THREAD&
  314. THREAD&
  315. THREAD&
  316. Oz4\[)
  317. OZ4\[
  318. SHIFTC`
  319. CAPSC`[
  320. CTRLC`[
  321. DELC[
  322. TABC[
  323. ENTERC[
  324. SPACEC[
  325. ESCC[
  326. MENUC[
  327. SIDEMENUC[
  328. CLIPC[
  329. IRDAC[
  330. ZOOMINC[
  331. ZOOMOUTC[
  332. DOWNC[
  333. RIGHTC[
  334. LEFTC[
  335. THREAD&
  336. O`{MO
  337. O {Mc
  338. O`{MO
  339. O {Mc
  340. THREAD&
  341. {O    {O
  342. {O {O
  343. {IO    {IW
  344. O H{O
  345. O@L{O
  346. THREAD&
  347. THREAD&
  348. OZ4\[
  349. Caps+
  350. Ctrl+K
  351. Shift+K
  352. EnterK
  353. SpaceK
  354. MenuK
  355. LeftK
  356. RightK
  357. DownK
  358. +    Contrast+K
  359. +    Contrast-K
  360. +    BacklightK
  361. HelpK
  362. DialK
  363. SideMenuK
  364. ClipK
  365. IrdaK
  366. ZoomInK
  367. ZoomOutK
  368. (P'@[
  369. SystemK
  370. (Q'@[
  371. App1K
  372. (R'@[
  373. App2K
  374. (S'@[
  375. App3K
  376. (T'@[
  377. App4K
  378. (U'@[
  379. App5K
  380. (V'@[
  381. App6K
  382. (W'@[
  383. App7K
  384. (X'@[
  385. ExtrasK
  386. PlayK
  387. StopK
  388. RecordK
  389. Disabled
  390. O[0\[
  391. THREAD&
  392. %%dateW
  393. %%C[+
  394. %%C['
  395. DDC[6
  396. MMC[6
  397. YYC[6
  398. yyC[7
  399. DNC[K
  400. dnC[9
  401. MNC[4
  402. mnC[0
  403. %%dateW
  404. %%timeW
  405. %%C[+
  406. %%C['
  407. HHC[6
  408. hhC[j
  409. MMC[6
  410. SSC[6
  411. APC[[
  412. %%timeW
  413. %%city%%W
  414. %%city%%W
  415. %%country%%W
  416. %%country%%W
  417. %%queryW
  418. ClipText - User input
  419. HO    H(
  420. %%queryW
  421. THREAD&
  422. COPY$
  423. THREAD&
  424. c:\System\Data\Clpboard.cbd(
  425. c:\System\Data\Clpboard.cbd(
  426. c:\System\Data\Clpboard.cbd(
  427. c:\System\Data\Clpboard.cbd(
  428. {IO(W
  429. *texted.appKO
  430. c:\Logs\O
  431. c:\Logs\
  432. c:\Logs\O
  433. THREAD&
  434. GCLIP%
  435. GCLIP%
  436. KEYSTRING$
  437. CancelO
  438. Other
  439. DisableO
  440. Space
  441. Enter
  442. Set to :
  443. O&{]x
  444. '0\[!
  445. A modifier is mandatory
  446. (P'<[
  447. Special keys
  448. SideMenu,Clip,Irda,ZoomIn,ZoomOut,System,App1,App2,App3,App4,App5,App6,App7,Extras,Play,Stop,Record,Help,Dial,Backlight,Off,Contrast+,Contrast-
  449. Key+!SideMenu,Clip,Irda,ZoomIn,ZoomOut
  450. Shift
  451. CancelO
  452. {1\[4
  453. OV{MON{Ux
  454. LINE%
  455. CURS%
  456. VLIST1$
  457. VLIST2$
  458. O    LO!
  459. DelO?O
  460. EscO?O
  461. EnterO?O
  462. {A\[P
  463. Oe0\[    
  464. c:\Logs\O
  465. Loading file...O
  466. +!Not enough memory to load the log
  467. No log to view
  468.     OPLCREATE
  469. OPLWRITE
  470. FGAPP%
  471. KEYSTRING$
  472. KEYMOD&
  473. OPLCLOSE
  474. THREAD&
  475. +    Switch to
  476. Getting files
  477. Task,Folder,Disk(
  478. Record this switch
  479. CancelO
  480. REM Macro 
  481. REM Recorded on W
  482. REM To be used with Macro5O
  483. PROC Macro:O
  484.     FgApp%:("
  485. Recording a macro (
  486.  to switch, K
  487. K+     to stop)K
  488. O&{]x
  489. +    Switch to
  490. Getting files
  491. Task,Folder,Disk(
  492. CancelO
  493.     FgApp%:("
  494. O"D[1
  495.     SendKey:("
  496.     SendKey:("
  497. "")KO
  498.     SendPenClick:(
  499.     SendPenDown:(
  500.     SendPenDrag:(O
  501.     SendPenUp:(O
  502. ENDPO
  503. LIBVERSION%4
  504. ROMVERSION%J
  505. FGMACROm
  506. FGDOC%
  507. USEDOC%
  508. FGAPP%C
  509. BGAPP%Y
  510. GETTHREAD&
  511. FGSYSTEM
  512. BGSYSTEM
  513.     FGCURRENT
  514.     BGCURRENT>
  515. FGSOUNDf
  516. BGSOUND
  517. GETFOCUS
  518. RELEASEFOCUS
  519.     CLOSEAPP%
  520. KILLAPP%1
  521. GETAPP$z
  522. TASKUID&
  523. TASKAPP$
  524. TASKDOC$
  525. CURRENTFOLDER$
  526. CURRENTFILE$
  527. SENDPENCLICK
  528. SENDPENDOWN
  529.     SENDPENUPP
  530. SENDPENDRAG
  531. SENDKEYCODE
  532. SENDSCANCODE
  533. SENDKEYd
  534. SENDRSCMENU
  535. SENDRSCBUTTONG
  536. SENDRSCLIST
  537. SENDSTRING
  538. KEYSTRING$#
  539. KEYMOD&
  540. PASTE
  541. COPY$
  542.     COPYWORD$F 
  543.     CLIPTYPE&g!
  544. CLIPLEN&
  545. CLIPREADU"
  546.     CLIPWRITE
  547. CLIPREADBMP
  548. CLIPWRITEBMP
  549.     CLIPCLEAR
  550.     OPLCREATE
  551. OPLWRITE
  552. OPLCLOSE
  553. CLEARLOGu'
  554. COPYSCREEN
  555. SETDICTAPHONELED
  556.     SETTHREAD-(
  557. GCLIPR(
  558. GCLIPOFF
  559. EDITKEY%
  560. DLIST%6.
  561. VIEWLOG
  562. RECORDMACRO%
  563. FTNB$[:
  564. SYSTEM\
  565. SYSRAM1
  566. MACRO5
  567. SYSTINFO
  568. %"rem Macro.oph version 2.40
  569. rem Constants for macros
  570. rem By Pascal NICOLAS, to be used with Macro5
  571. rem Last edited on 21 September 1999
  572. rem Modifier constants for SendKeyCode
  573. const None%=$0000
  574. const Shift%=$0400
  575. const Ctrl%=$0080
  576. const Fn%=$2000
  577. const Caps%=$4000
  578. rem Key constants for SendKeyCode
  579. const Sft%=-$20
  580. const Ctl%=-$60
  581. const Esc%=$1B
  582. const Tab%=$09
  583. const Enter%=$0D
  584. const Space%=$20
  585. const Del%=$08
  586. const Menu%=$1036
  587. const UpArrow%=$1009
  588. const DownArrow%=$100A
  589. const LeftArrow%=$1007
  590. const RightArrow%=$1008
  591. const PageUp%=$1004
  592. const PageDown%=$1005
  593. const PageLeft%=$1002
  594. const PageRight%=$1003
  595. rem New functions for macros
  596. external LibVersion%:
  597. external RomVersion%:
  598. external FgMacro:(Mac$)
  599. external FgDoc%:(Doc$)
  600. external UseDoc%:(App$,Doc$,Cmd%)
  601. external FgApp%:(App$)
  602. external BgApp%:(App$)
  603. external FgSystem:
  604. external BgSystem:
  605. external FgCurrent:
  606. external BgCurrent:
  607. external FgSound:(Sound$,Volume%)
  608. external BgSound:(Sound$,Volume%)
  609. external GetFocus:
  610. external ReleaseFocus:
  611. external CloseApp%:(App$)
  612. external KillApp%:(App$)
  613. external GetThread&:(App$)
  614. external GetApp$:(UID&)
  615. external TaskUid&:
  616. external TaskApp$:
  617. external TaskDoc$:
  618. external CurrentFolder$:
  619. external CurrentFile$:
  620. external SendPenClick:(x%,y%)
  621. external SendPenDown:(x%,y%)
  622. external SendPenUp:(x%,y%)
  623. external SendPenDrag:(x%,y%)
  624. external SendKeyCode:(Key%,Mod%,Nb%)
  625. external SendKey:(KeyStr$)
  626. external SendRscMenu:(RscFile$,Pos%,Menu&)
  627. external SendRscButton:(RscFile$,Pos%,Button%)
  628. external SendRscList:(RscFile$,Pos%,List%)
  629. external SendString:(String$)
  630. external KeyString$:(Key%,Mod%)
  631. external KeyMod&:(EvMod%)
  632. external Paste:(Text$)
  633. external Copy$:
  634. external CopyWord$:(CharList$)
  635. external ClipType&:
  636. external ClipLen&:
  637. external ClipRead:(BufAddr&,Max&)
  638. external ClipWrite:(BufAddr&)
  639. external ClipReadBmp:(id%,x%,y%)
  640. external ClipWriteBmp:(id%,x%,y%,w%,h%)
  641. external ClipClear:
  642. external OPLCreate:(HdlAddr&,File$)
  643. external OPLWrite:(Hdl%,Text$)
  644. external OPLClose:(Hdl%)
  645. external gClip:(Text$)
  646. external gClipOff:
  647. external Log:(Message$)
  648. external ViewLog:
  649. external ClearLog:
  650. external CopyScreen:(id%,posX%,posY%,x%,y%,w%,h%)
  651. external SetDictaphoneLed:(state%)
  652. external Beep:
  653. rem End of Macro.oph
  654. *TextEd.app
  655. C:\System\Apps\Macro5\Macro5.ini\RunUpgrade.txt\Macro5.i03!:\System\Apps\Macro5\Macro5.i03\Macro5.i02!:\System\Apps\Macro5\Macro5.i02\Macro5.i01!:\System\Apps\Macro5\Macro5.i01\Macro5.hlp!:\System\Apps\Macro5\Macro5.hlp\Macro5.app!:\System\Apps\Macro5\Macro5.app\Macro5.aif!:\System\Apps\Macro5\Macro5.aifMacro5If you are upgrading, run upgrade.opo before restarting Macro5.7
  656. C:\OPL\Macro5\Macro5.i03.opl
  657. EVENT&
  658. O}{9O
  659. {1\O    
  660. O<{9\[V
  661. OM{1[
  662. O}{M(
  663. {U}WBQO    
  664. OB{MO
  665. SETSC
  666. SETPLSC
  667. EVENT&
  668. O}{9O
  669. {1\O    
  670. O<{9\[|
  671. OM{1[!
  672. O}{M(
  673. {U}WBQO    
  674. OB{MO
  675. CAPTION$
  676. PO]L(
  677. PANEL$
  678. CAPTION$
  679. OzO<(
  680. O    0[6
  681. OzO<(
  682. OzO<(
  683. PO}LO
  684. POtL|Oi|
  685. W2|Oi|W
  686. |VJyO
  687. OUOUOU
  688. O    0[+
  689. SCEVENT%1
  690. GENEVENT
  691. UPDLST
  692. SETPLSC
  693. CRTLST;
  694. C:\OPL\Macro5\Macro5.i02.opl
  695. EVENT&
  696. O<{9O
  697. {1\O    
  698. {9\[V
  699. O0{1[
  700. O<{M(
  701. {U}WBQO    
  702. SETSC
  703. SETPLSC
  704. EVENT&
  705. O<{9O
  706. {1\O    
  707. {9\[|
  708. O0{1[!
  709. O<{M(
  710. {U}WBQO    
  711. CAPTION$
  712. PANEL$
  713. CAPTION$
  714. O    0[6
  715. |VJyO
  716. OUOUOU
  717. O    0[L
  718. |VJyO
  719. |VJyO
  720. |VJyO
  721. SCEVENT%1
  722. GENEVENT
  723. UPDLST
  724. SETPLSC
  725. CRTLST
  726. c:\OPL\Macro5\Macro5.i01.opl
  727. EVENT&
  728. O&{9[f
  729. O*{9[
  730. OY{IOBh{Ux
  731. O&{MO2{UO
  732. OD{IOX{UIx
  733. SETSC
  734. SETPLSC
  735. EVENT&
  736. O&{9[
  737. O*{9[
  738. OY{IOB{UxO
  739. O&{MO2{UO
  740. OD{IOX{UIx
  741. OX{QO
  742. TO2PO&H
  743. OXO2O
  744. UPDICON
  745. OX{QO
  746. O0O%O
  747. c:\System\Temp\Mcrp0
  748. .tmpK
  749. OXO2O
  750. UPDTAB
  751. UPDICON
  752. PANEL$
  753. Z:\System\Apps\Shell\Shell.mbmO
  754. Z:\System\Apps\Shell\Shell.mbmO
  755. c:\System\Temp\Mcrp04.tmpW
  756. c:\System\Temp\Mcrp02.tmpO
  757. c:\System\Temp\Mcrp03.tmpO
  758. c:\System\Temp\Mcrp04.tmpO
  759. Z:\System\Apps\Shell\Shell.mbmO
  760. OX{QO
  761. TO2PO
  762. OUOUOU
  763. OUOUOU
  764. OUOUOU
  765. Creating panels...OQ
  766. c:\System\Temp\Mcrp0
  767. .tmpK
  768. TYPE%
  769. MACROS$
  770. CMMD$
  771. CAPTION$
  772. OX{QO*{Ix
  773. Icons\K
  774. .icoK
  775. .opoW
  776. Z:\System\Apps\Opl\Opl.app
  777. Icons\K
  778. .icoK
  779. HO0O0+
  780. Z:\System\Data\Eikon.mbmO
  781. Icons\K
  782. .icoK
  783. O0O0+
  784. Z:\System\Apps\Shell\Shell.mbmO
  785. Icons\K
  786. .icoK
  787. O0O0+
  788. Z:\System\Apps\Shell\Shell.mbmO
  789. O    O>O
  790. OUOUOU
  791. O    PLO
  792. SCEVENT%1
  793. GENEVENT
  794. UPDLSTT
  795. SETPLSC
  796. CRTLST}
  797. UPDICON
  798. UPDTAB
  799. SYSTEM\
  800. MACRO5
  801. Table1
  802. ColA1
  803. ColB1
  804. ColA2
  805. ColB2
  806. ColA3
  807. ColB3
  808. ColA4
  809. ColB4
  810. "DATA.APP
  811.  Macro5 v2.40
  812. Macro5 is a small but efficient program designed to enable you to make more effective use of your PDA.
  813. It allows you to define up to 16 hotkeys and 3 panels of 27 shortcuts for
  814. 1.    Switching directly to applications or documents (run them if not started).
  815. When you need an info, you don't have to bother anymore whether the application is already running or not (then having to switch to the shell in order to find and start it)
  816. : you just key the corresponding shortcut and you
  817. re in.
  818. 2.    Pasting predefined texts (with keywords like %%date%%, %%time%%, %%query
  819. question_text%%).
  820. 3.    Executing macros (all the OPL, some new commands, send keys, etc...) for shortcuting all your repetitive tasks (e.g. direct access to the battery statistics, automatic link between your agenda and your data files, help on a selected command in the OPL editor, immediate link on/off, inserting new tasks in your agenda, modifying text, restart of your programs after a backup with PsiWin, ..., and all the small utilities that are not complex enough to make an app but you use all the time).
  821. 4.    Switching directly to folders.
  822. 5.    Remapping keys.
  823. Since hotkeys can be any of the silkscreen keys, you can re-assign the sensitive keys to run your favorite applications and macros.
  824. For those, like me, who hate to press Ctrl+Shift+Key in order to access certain Menu functions, (always miss a key and got the wrong menu or a new character in the document), Macro5 provides a hotkey that will prompt for a key and send Ctrl+Shift+Key to the current application.
  825. And last but not least, it enables you to cycle through tasks (like ctrl-tab on Windows), to display a tasklist, to run macros at startup & switch on and to manage your display at switch on (backlight and contrast).
  826. &paint.app
  827. This program has been written by Pascal NICOLAS. It may be distributed freely as long as it is not altered or sold. This program is a SmileWare, which means that if you use it, you "MUST" send me a :-)
  828. Even if you did it for a previous release, please tell me how you find this new version
  829. : I do love :-) very much. I will then notify you of the new releases.
  830. At this point, many many thanks and :-) to MattM who helps me a lot in the enhancement of Macro5. Thank you also to Dominique Faure who wrote Macro5.hlp
  831. And thank you to all of you who send me comments, new ideas, :-) and encourages me to go on.
  832. Pascal NICOLAS
  833. Email
  834. : pnicolas@geocities.com
  835. Latest version and a huge library of macros at http://www.geocities.com/SiliconValley/Pines/1215
  836. L1.    You display a TaskList by pressing the TaskList Hotkey (Fn+Del by default).
  837. You may then switch to the selected task or close it.
  838. 2.    To cycle through the tasks, hold down Ctrl, browse the applications with the Space Bar and release Ctrl when you have found the one your are looking for. It works like Ctrl-Tab on Windows. Esc or Del cancels the cycling (notice that the hotkey is defined as Fn+Key, then Fn+Esc will switch off your machine).
  839. Any other key will cycle backward. Since you do not switch to Macro5 itself very often, it does not appear in the cycle. Use the tasklist to access it.
  840. 3.    You run a shortcut by typing first the Shortcuts Panel Hotkey (Fn+N by default), and then the key of the shortcut (26 letters and Space).
  841. If you configured Macro5 for not displaying the shortcuts panels, any non-letter key or any non-assigned letter will pop it up.
  842. You move from one panel to the others with 'Tab', the arrow keys or the panel hotkeys. 'Esc' will cancel the action. 'Menu' will switch back to Macro5.
  843. You can organize the shortcuts in the panels according to their use (e.g. App, Doc, Macro or Office, Home, Miscellaneous). You can assign silkscreen keys to panel hotkeys and thereby call and run shortcuts with the pen only.
  844. You can set the most used shortcuts to hotkeys and run them with a single keystroke. When in the graphic mode, all the icons may be customized by creating multi-bitmap files labeled xxx.ico where xxx is the name of the file for the types 'Document', 'Program' and 'Macro' or the name of the caption for the types 'ClipText', 'Folder' and 'KeyStroke'. They must be put along the opo/app files for the types 'Macro' and 'Program' or in \Macros\Icons for all the other types. These files must contain first the bitmap of the icon and then the bitmap of the mask.
  845. 4.    You send Ctrl+Shift+Key by pressing the Ctrl+Shift Hotkey (disabled by default), and then the letter corresponding to the Menu function you want to access.
  846. Any other key than a letter will cancel the action.
  847. 5.    You can configure Macro5 to set the backlight and the display contrast when the machine is switched on. It possible to activate or deactivate the backlight and the contrast settings. Parameters are different for the day and the night times.
  848. Of course, the Night Time has to be greater than the Day Time.
  849. 6.    It is also possible to define macros that will be run either at switch on (can be once a day) or at Macro5 startup.
  850. I have set up by default Fn+Del for the TaskList and Fn+N for the Shortcuts because they are the same on the different keyboard layouts. But I find more convenient to use only one modifier (Ctrl) and to affect the hotkeys to non-letter keys around the right of the Space Bar, like "Ctrl+?" & "Ctrl+," on the US keyboard and "Ctrl+:" & "Ctrl+;" on the French keyboard. The Ctrl+Shift hotkey is disabled by default.
  851. I have not set a toolbar to keep the program as small as possible.
  852. I have added a hotkey to switch back to macro5 but I think it's better to assign it to a silkscreen key (is set up in the System Control Panel->Extras).
  853. This way the same 'hotkey' allows you to switch back to Macro5 and to restart it when it's not running (after a backup).
  854. If you think a regular hotkey would be better please send me your comments.
  855. A shortcut may be a
  856. Direct access to a document
  857. To be used when the file you want to open is a document linked to an application
  858. : it has the same icon than its application and it may be run by selecting it with the explorer (e.g. Data, Word and spreadsheet files).
  859. Direct access to a program
  860. To be used when the application is not document oriented (e.g. Calc, Shell, Time, games, utilities). Notice that you may switch to the system by running
  861. : "z:\System\Apps\Shell\Shell.app".
  862. Text to paste
  863. Can be any text up to 255 characters, plus the following keywords
  864. %%country%%
  865. Insert the name of the current home country.
  866. %%city%%
  867. Insert the name of the current home city.
  868. %%date format%%
  869. Insert the current date as specified by format.
  870. Format may a combination of any characters plus
  871. :    day of the month (1 to 31)
  872. :    month (1 to 12)
  873. :    year on 4 digits
  874. :    year on 2 digits
  875. :    full day name
  876. :    3-letter day name
  877. :    full month name
  878. :    3-letter month name
  879. e.g. %%date DD/MM/yy%% pastes 21/12/97
  880. : %%date%% is equivalent to %%date dn DD mn YY%%
  881. %%time format%%
  882. Insert the current time as specified by format.
  883. Format may a combination of any characters plus
  884. :    hours in 24 format
  885. :    hours in 12 format
  886. :    minutes
  887. :    seconds
  888. :    AM/PM
  889. e.g. %%time hh:MM:SS AP%% pastes 01:23:45 PM
  890. : %%time%% is equivalent to %%time HH:MM:SS%%
  891. %%query question_text%%
  892. Open an input box with the label "question_text" and paste the input text.
  893. You can use as many keywords as you want. This way you may prepare small documents (e.g. email) that are customized on the spot. This version is limited to 255 characters, but by programming a macro with several paste commands, you can create large documents. If you ask for it, I will try to remove this limit. If you think of some new useful keywords, don't hesitate to send me an email. Macro5 is improved through your feedback.
  894. macro to execute
  895. Look below how to program macros.
  896. Bookmark
  897. Allow you to access directly folders of any drive (even the ROM).
  898. Keystroke
  899. Used for remapping keys (see SendKey function below).
  900. When you record a macro, you are first prompted for its name (must be a new file) and for the task you want to work on (you have the option of not recording this switch). If you want to switch to the system screen or any other standard application, select it in Z:\System\Apps. Then enter your sequence of keys.
  901. When you are done, stop the recording with the hotkey used for the Shortcuts and a program editor will pop up with the code of the macro.
  902. While recording, do not switch to another task with the application keys or the system tasklist, but use the TaskList or TaskCycling hotkeys instead.
  903. If you loose the blinking message "Recording macro...", get it back by switching to Macro5 with the system tasklist.
  904. I'm aware that the text cursor is not visible during the record of a macro but so far I have not been able to find a workaround.
  905. Modify - Ctrl+M or Enter
  906. Edit the selected shortcut
  907. Move - Ctrl+X
  908. Reassign the shortcut to a new key
  909. Delete - Ctrl+H or Del
  910. Delete the selected shortcut
  911. New macro - Ctrl+N
  912. Create and open a new source file for a macro
  913. Open macro - Ctrl+O
  914. Edit the source file of the selected shortcut
  915. Record macro - Ctrl+R
  916. Record your keystrokes in a new source file
  917. You select a shortcut either with the arrows or by typing directly the letter of the shortcut. You switch from one panel to the others with 'Tab' or the arrows.
  918. Notice that Enter edit the current shortcut and does not run it.
  919. Press the Shortcuts hotkey for that. When you create or edit a shortcut, you specify first the Caption, which is the label put on the reminding panels, and the type of the shortcut. Then you enter the attributes of the shortcut.
  920. Shortcuts panels - Ctrl+Y
  921. If activated, 
  922. the shortcuts panels will pop up each time you press one of the 3 Shortcuts hotkeys. Otherwise they will only pop up when pressing a non-letter key or a not assigned key.
  923. Switch View :
  924. Select how shortcuts panels are displayed.
  925. Preferences - Ctrl+K
  926. Define the options for setting the display at switch on.
  927. The "Turn backlight on when main power" option uses the night contrast setting.
  928. Hotkeys ->
  929. User defined - Ctrl+U
  930. Assign your most used shortcuts to hotkeys.
  931. System - Ctrl+S
  932. Set the system hotkeys
  933. First Panel
  934. Run a shortcut in the first panel
  935. Second Panel
  936. Run a shortcut in the second panel
  937. Third Panel
  938. Run a shortcut in the third panel
  939. TaskCycling
  940. Cycle through open tasks
  941. TaskList
  942. Display a tasklist
  943. Ctrl+Shift
  944. Active the Ctrl+Shift capability
  945. Macro5 :
  946. Switch back to Macro5 itself
  947. Hotkeys can be any of the silkcreen keys. Use 'Space' to call the list.
  948. It is possible to disable any hotkey with the key 'Del'.
  949.  Some very rare key combinations may return different keycodes when Caps Lock is on or off.
  950. If you use your machine in both modes, watch for that (in the hotkey setting try the key with and without Caps and check it is the same string). Otherwise define your hotkeys with Caps set accordingly but it may happen that one of your hotkeys will not work when you are in the other Caps mode.
  951. Advanced ->
  952. Macro at startup - Ctrl+V
  953. Execute the specified macro at Macro5 startup.
  954. This feature is particularly useful after a backup or a reset, when you have to restart all your favorite applications. If you have assigned an Extras bar position to Macro5, they may all be restarted with one key stroke. You may use the macro "Startup" that runs all the apps & docs in \Startup, but it may be anything else (e.g. a sequence of FgApp%:()).
  955. Macro at switch on - Ctrl+W
  956. Execute the specified macro at switch on.
  957. Use it to foreground an application at each switch on or when you want something to be done or checked regularly. For example you can use the macro NoLightOff that disable the backlight timer when the external power is connected or you can write a macro that checks the battery status at each switch on. You can add the option to run it only once a day.
  958. Macro folder - Ctrl+F
  959. Define the path of the folder where the macros are stored. When you change it, Macro5 ask you to confirm the update of the shortcuts paths.
  960.  The system updates the shortcuts paths, but not the code of the macros. Some macros may have to be updated as well.
  961. Panel captions - Ctrl+J
  962. Set the captions of the 3 shortcuts panels.
  963. Close for backup - Ctrl+Z
  964. Enable/disable the closing of Macro5 during the backups.
  965. The advantage of keeping Macro5 running is that you will not have to restart it.
  966.  The drawback is that, if Macro5 is running on the disk that is backed up, you will get a message warning you that Macro5.app was not saved. The workaround is to close Macro5 each first time you make a backup with a new release of Macro5.
  967. As long as Macro5.app does not change, PsiWin will not try to save it and you will not get any warning message.
  968.  When Macro5 is set to stay open during the backups, it will not close when asked to do so from the tasklist. To close it, you'll have to switch to it and quit.
  969. Start in background - Ctrl+G
  970. Make Macro5 go to the background once it is started.
  971. Key summary - Ctrl+L
  972. Remind you the system hotkeys.
  973. Help on Macro5 - Ctrl+P
  974. Start the online help.
  975. About Macro5 - Ctrl+A
  976. Display information about Macro5.
  977. &paint.app
  978. &paint.app
  979. &paint.app
  980. &paint.app
  981. Macros are written and compiled with the standard program editor.
  982. The sources should be named *.opl and the binaries *.opo, both stored in \Macros (may be reconfigured). This naming is not mandatory but will allow you to access these files directly from Macro5.
  983. The language for the macros is the same than for any other OPL program.
  984. All the EPOC OPL & OPX commands are available, plus some new variables, constants and functions that will help you writing your macros.
  985. Notice that a macro is seen as a part of Macro5 (that's why you are able to access some global variables and new functions) and consequently, as long as the macro is running, Macro5 is not available for an other switch or lighting up the display at switch on.
  986. The purpose of a macro is to automate straight tasks. If you think of something more complex, then program an app and define a shortcut to run it.
  987. Do not use macros to access Macro5
  988. : because Macro5 is busy executing the macro, it will not react to the sent events.
  989. You may not program Macro5 to switch to itself.
  990. If you think of new functions that would help writing macros, please send me an email.
  991. And if you write useful macros, please think that it may benefit to others.
  992. Either publish them on the web or send them to me and I will upload them on my site.
  993. I have included some examples as a tutorial
  994. Battery
  995. Display the battery statistics
  996. : show you how to send keys to an App.
  997. LinkOn
  998. Set on the link
  999. : show you how to send keys to an App.
  1000. LinkOff
  1001. Set off the link
  1002. : show you how to send keys to an App.
  1003. UpperCase
  1004. Set to uppercase the text you've selected
  1005. : show you how to handle the clipboard functions.
  1006. DataLink
  1007. Show you how to set a link between an App and a data file.
  1008. OPLHelp
  1009. Display the usage of a keyword you've selected in the OPL Editor (*).
  1010. FileTime
  1011. Change the time stamp of a file
  1012. : show you how to use OPL in a macro.
  1013. RunExtras
  1014. Run applications in the Extras bar without the pen.
  1015. RunMacro
  1016. Run not assigned macros.
  1017. Startup
  1018. Start all the App/Doc in c:\Startup. Very useful after a backup with PsiWin or a reset. Can be used with Shortcut.app or XtraLink.app.
  1019. NoLightOff
  1020. Disable the backlight timer when the main power is present. To be used as a 'Run macro at switch on'.
  1021. BatStat
  1022. Display a graphical status of the main batteries for 2 seconds. To be used as a 'Run macro at switch on'
  1023. BatStatLow
  1024. Same as BatStat but display the status only when the batteries are low.
  1025. ReadMenuCode
  1026. Compute the parameters Offset& and KeyId& required by SendRscKey.
  1027. ExtrasBar
  1028. Allow to display the Extras-bar when its key is used as a hotkey.
  1029. Emulate the pen with the keyboard
  1030. : no more using of the back of your fingernails
  1031. arrows => move the cursor
  1032. space => click
  1033. ctrl+arrows => drag (ctrl down, move, ctrl up)
  1034. shift+space => space
  1035. shift+arrows => arrows
  1036. shift+esc => quit
  1037. any other key => key
  1038. : You need the "OPL reference" database file.
  1039. Please have a look at them before writing your own procedures. I hope they cover all the new commands. If you have any questions, please feel free to contact me and I will do my best to reply you as soon as possible. Because you can do almost anything with macros, you should watch what you are doing and backup your data.
  1040.  If you get the error message 'ppp procedure not found' where ppp is one of the macro functions (BgSystem, FgCurrent, ...), it means either that you did not select the type "macro" in the shortcut definition, or you're trying to run the macro directly from the program editor or the system.
  1041.  A macro cannot be run directly after a translation or by selecting it in the explorer, but must be executed through a shortcut in Macro5.
  1042. &paint.app
  1043. &paint.app
  1044. A[variables]
  1045. Is set at the start of a macro and by FgDoc, UseDoc, FgApp, BgApp, FgSystem and BgSystem.
  1046. Is used by FgCurrent, BgCurrent, TaskUid, TaskApp, TaskDoc, SendKey, SendString, SendPenClick, SendPenUp, SendPenDown, SendPenDrag, Paste, Copy, CopyWord, TaskUid, TaskApp, TaskDoc, SendRscMenu, SendRscButton and SendRscList.
  1047. Is the thread number of the task you want to work with.
  1048. &paint.app
  1049. eA[commands]
  1050. Foreground the document Doc$ if in memory and open it otherwise.
  1051. Use it only with documents bound to applications (have the same icon than their application and may be run by selecting them with the explorer).
  1052. Set Thread& to the corresponding ThreadId.
  1053. Return 0 if Doc$ was in memory and 1 if it has to be loaded and -1 if an error occurred.
  1054. A[commands]
  1055. Switch to the document Doc$ if in memory and Cmd% < 3, set Thread& to the corresponding ThreadId if in memory and Cmd% = 3, and start App$ otherwise.
  1056. Cmd% = 0 for open, 1 for create, 2 for run and 3 for run in background.
  1057. Notice that the standard applications do not open Doc$ but the last document when they are opened with Cmd%=3.
  1058. Set Thread& to the corresponding ThreadId.
  1059. Return 0 if Doc$ was in memory and 1 if it has to be loaded and -1 if an error occurred.
  1060. EA[commands]
  1061. Foreground the program App$ if in memory and run it otherwise.
  1062. Handle app, opo and application bound documents as well, but prefer FgDoc when you know it is a document (is faster).
  1063. Set Thread& to the corresponding ThreadId.
  1064. Return 0 if App$ was in memory and 1 if it has to be run and -1 if an error occurred.
  1065. A[commands]
  1066. Set Thread& to the corresponding ThreadId if in memory and run it in the background otherwise. To be used when you want to send information (SendKeyCode, Copy$, Paste) to an application but you don't want it to be in the foreground yet (is faster).
  1067. Handle only programs (app & opo), not documents.
  1068. Set Thread& to the corresponding ThreadId.
  1069. Return 0 if App$ was in memory and 1 if it has to be run and -1 if an error occurred.
  1070. &paint.app
  1071. &paint.app
  1072. &paint.app
  1073. &paint.app
  1074. fA[commands]
  1075. When any Bgxxx commands is used, the corresponding task is foregrounded and the macro is sent to the background. As a result all displays are now in the background as well and all events redirected to the current task.
  1076. GetFocus return the focus on the macro when you need to display information or input data.
  1077.  Thread& keeps its current value.
  1078. &paint.app
  1079. &paint.app
  1080. &paint.app
  1081. &paint.app
  1082. &paint.app
  1083. &paint.app
  1084. &paint.app
  1085. &paint.app
  1086. &paint.app
  1087. &paint.app
  1088. +B[commands]
  1089. Copy the word around the cursor in the clipboard and return it.
  1090. CharList$ is not case sensistive and lists the allowed characters in the word. The selection is stopped ss soon as a not allowed character is found.
  1091. e.g. for
  1092. A standard word, use "ABCDEFGHIJKLMNOPQRSTUVWXYZ-"
  1093. A procedure name, use "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_%&$:"
  1094. An URL, use "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_:\."
  1095. A number, use "0123456789.,"
  1096.  Space or Tab CANNOT be allowed and always stop the selection.
  1097. Make sure that Thread& points to the correct task.
  1098. &paint.app
  1099. &paint.app
  1100. A[commands]
  1101. Put in Buffer the text in the clipboard, with a limit of Max& Characters.
  1102.  Max& has to be a long integer. If you use a constant, either do it in hexa and put '&' before or include "Macro.oph" for the OPL compiler to coerce the parameters types.
  1103. Make sure that Buffer is large enough to store Max& characters.
  1104. If you want to read the selected text, use "SendKeyCode:(Ctl%+%c,Ctrl%,1) : Pause 5" before.
  1105. &paint.app
  1106. &paint.app
  1107. &paint.app
  1108. &paint.app
  1109. &paint.app
  1110. &paint.app
  1111. B[commands]
  1112. Send the corresponding key sequence to the task pointed by Thread&.
  1113. The keywords are
  1114. Sh or Shift, Ct or Ctrl, Fn, Del, Tab, Enter, Space, Esc, Menu, Up, Down, Right and Left.
  1115. They are not case sensitive (letters are).
  1116. To send
  1117. Ctrl+Fn+Left, Ctrl+Shift+Fn+Right, Ctrl+c (copy the whole text)
  1118. SendKey:("Ct+Fn+Left,Ct+Sh+Fn+Right,Ct+c")
  1119. To send
  1120. Hello,[Enter]How are you ?
  1121. SendKey:("H,e,l,l,o,,,Enter,H,o,w,
  1122. ,a,r,e, ,y,o,u, ,?")
  1123. In this case, Paste:("Hello," + Chr$(6) + "How are you ?") would be faster.
  1124.  Make sure that Thread& points to the correct task.
  1125. KeyStr$ is limited to 255 characters. Use several SendKey if you need more.
  1126. &paint.app
  1127. :A[commands]
  1128. Send String$ to the task pointed by Thread&.
  1129. To be used instead of Paste: when String$ is short or when the target application does not support the copy/paste functions.
  1130.  Make sure that Thread& points to the correct task.
  1131. Keywords like %%date%% %%time and %%query%% are not supported by SendString.
  1132. &paint.app
  1133. A[commands]
  1134. Read in RscFile$ the key referenced by Menu& and send it to the task pointed by Thread&.
  1135. To be used to call menu shortcuts.
  1136. This allows the writing of language independent macros.
  1137. E.g. to add a new record in a Data file
  1138. SendRscMenu:("z:\System\Apps\Data\Data.rsc",4,&0d) will send Ctrl+Shift+N on the English machines but Ctrl+A on the French ones.
  1139. You can get Pos% and Menu& with the provided macro RscMenuCode.
  1140.  Make sure that Thread& points to the correct task.
  1141. &paint.app
  1142. JC[commands]
  1143. Read in RscFile$ the key corresponding to Button% and send it to the task pointed by Thread&.
  1144. To be used to press buttons in dialogs.
  1145. This allows the writing of language independent macros.
  1146. E.g. to set the font when editing a record in a Data file
  1147. SendRscButton:("z:\System\Apps\Data\Data.rsc",16,1) will send Ctrl+F on the English machines but Ctrl+P on the French ones.
  1148. Button% is the position of the button in the dialog (1 for the first).
  1149. I have not yet found a way to compute Pos% automatically. Send me a mail with the description of the dialog you want to use this comand on.
  1150. To press the button No/Non/Nein...
  1151. use : SendRscButton:("z:\System\Data\Eikon.rsc",308,1)
  1152. To press the button Yes/Oui/Ya...
  1153. use : SendRscButton:("z:\System\Data\Eikon.rsc",308,2)
  1154.  Make sure that Thread& points to the correct task.
  1155. &paint.app
  1156. @[commands]
  1157. Read in RscFile$ the choice corresponding to List% and send it to the task pointed by Thread&.
  1158. To be used to select items in lists.
  1159. This allows the writing of language independent macros.
  1160. E.g. to turn off the link
  1161. SendRscList:("z:\System\Apps\Shell\Shell.rsc",42,1) will select 'Off' on the English machines but 'D
  1162. sactiv
  1163. e' on the French ones.
  1164. List% is the position in the list of the item (1 for the first).
  1165. I have not yet found a way to compute Pos% automatically. Send me a mail with the description of the dialog you want to use this comand on.
  1166.  Only the first character is used for the selection. If several items begin with the same character, the first in the list will be selected.
  1167.  Make sure that Thread& po
  1168. ints to the correct task.
  1169. &paint.app
  1170. &paint.app
  1171. 5A[commands]
  1172. Same as Busy, but does not blink.
  1173.  Make sure you've got the focus, otherwise nothing will appear.
  1174. If you make some graphical operations (e.g. gPrint, gLine, ...) between gClip:() and gClipOff, insert a command 'gUse' after each gClip:() in order to switch back to the windows you're working on.
  1175. &paint.app
  1176. &paint.app
  1177. When you press tab in a file select box and the directory is system, the app crashes. It seems to be an EPOC bug and I can't do anything about it.
  1178. When Macro5 is busy doing something (open dialog or menu, running macro), neither the hotkeys or the display settings works.
  1179. Consequently, do not keep open a dialog box and write straight macros.
  1180. The text cursor is not visible when a macro is being recorded. So far I have not been able to find a workaround.
  1181. Macro5 is not restarted after a backup by PsiWin. This is a known bug of PsiWin that will only restart the applications in the ROM (Z:). It is fixed in PsiWin 2.2.
  1182.  When I try to run a macro, I get the error message 'ppp procedure not found'.
  1183.  You get this error when you try to launch macros directly from the program editor or from the shell. Macros can only be run through shortcuts in Macro5.
  1184.  When using Copy/Paste functions or sending key sequences, I get sometimes strange behaviors or the target application crashes.
  1185.  Try to add pauses between commands to let the system catch up.
  1186. Begin with 'Pause 100' (5 seconds) and decrease the value if it works.
  1187.  How do I cycle backward through tasks
  1188.  If you cycle trought tasks with Ctrl+Space, Ctrl+Del cancels the cycling and any other Ctrl+key cycles backward.
  1189.  Macro5 is not restarted after a backup.
  1190.  PsiWin 2.1 restarts only the applications in the ROM. You can nevertheless uncheck the advanced option 'Close for backup' to keep Macro5 open during the backups. The drawback is that you will get a warning message each time you will try to backup Macro5.app 
  1191.  Macro5 does not close for the backups or from the tasklist.
  1192.  Check the option 'Close for backup' in the advanced options. If you do so, Macro5 will close for the backups but you will have to restart it by hand after.
  1193.  Why is the hotkey for Macro5 disabled by default
  1194.  A hotkey switches back to the application only when the application is already running and is not busy (e.g. not waiting for a dialog).
  1195. On the other hand, an Extras-bar key always switches back to the application, starting it if needed (that's what does Macro5 shortcuts).
  1196. It is therefore more efficient to assign one of the Extras-bar keys to Macro5 (Sytem : Tools->Control Panel->Extras bar) and have the same key combination to start and switch back to Macro5.
  1197. For example, assigning Macro5 to the key 'Extras', will allow you to access Macro5 with Ctrl+Extras in any events.
  1198.  Why don't add the possiblity to use the keys 1, 2 and 3 to switch between the shortcuts tabs
  1199.  You can use the arrows and 'Tab' to navigate through the panels.
  1200. Since there is only 3 tabs, one keystroke is always enough to go to the panel of your choice.
  1201.  Where can I find SysRam1.oxh and SystInfo.oxh
  1202.  On the site of Symbian at http://developer.epocworld.com.
  1203. &paint.app
  1204. &paint.app
  1205. &paint.app
  1206. &paint.app
  1207. &paint.app
  1208. &paint.app
  1209. &paint.app
  1210. &paint.app
  1211. &paint.app
  1212. &paint.app
  1213. &paint.app
  1214. &paint.app
  1215. &paint.app
  1216. &paint.app
  1217. &paint.app
  1218. &paint.app
  1219. OverviewR
  1220. Macro5!
  1221.     CopyrightR
  1222. Macro5!
  1223. UsageR
  1224. Macro5!
  1225. About ShortcutsR
  1226. Macro5!
  1227.     File MenuR
  1228. Go to background - Ctrl+B or Esc
  1229. Send Macro5 to background
  1230. Close - Ctrl+E
  1231. Exit Macro5
  1232. Macro5!
  1233. Shortcut MenuR
  1234. Macro5!
  1235.     View MenuR
  1236. Macro5!
  1237. Tools MenuR
  1238. Macro5!
  1239. Programming of MacrosR
  1240. Macro5!
  1241. Macros programming TipsR
  1242. Macro5!
  1243. Thread&R
  1244. Macro5!
  1245. Macros$R
  1246. [variables]
  1247. Path of the folder where macros are stored.
  1248. E.g. used by the macro Pen to load the bitmap of the cursor.
  1249.  Do not modify it otherwise the file input boxes will not point to the correct folder anymore.
  1250. Macro5!
  1251. FgDoc%:(Doc$)R
  1252. Macro5!
  1253. UseDoc%:(App$,Doc$,Cmd%)R
  1254. Macro5!
  1255. FgApp%:(App$)R
  1256. Macro5!
  1257. BgApp%:(App$)R
  1258. Macro5!
  1259.     FgSystem:R
  1260. K[commands]
  1261. Foreground System.
  1262. set Thread& to the corresponding ThreadId.
  1263. Macro5!
  1264.     BgSystem:R
  1265. 3[commands]
  1266. set Thread& to the ThreadId of System.
  1267. Macro5!
  1268. FgCurrent:R
  1269. q[commands]
  1270. Foreground the task with the ThreadId Thread&.
  1271.  Make sure that Thread& points to the correct task.
  1272. Macro5!
  1273. BgCurrent:R
  1274. q[commands]
  1275. Background the task with the ThreadId Thread&.
  1276.  Make sure that Thread& points to the correct task.
  1277. Macro5!
  1278. FgMacro:(Mac$)R
  1279. [commands]
  1280. Execute the macro Mac$
  1281.  Thread& keeps its current value.
  1282.  You may not exceed 5 levels of macros calling other macros.
  1283. Macro5!
  1284. FgSound:(Sound$,Volume%)R
  1285. [commands]
  1286. Play the file Sound$, waiting for the end of the file before going on.
  1287. 0 (no volume) =< Volume% =< 4 (maximum volume).
  1288. Macro5!
  1289. BgSound:(Sound$,Volume%)R
  1290. [commands]
  1291. Play the file Sound$, going on without waiting the end of the file.
  1292. 0 (no volume) =< Volume% =< 4 (maximum volume).
  1293. Macro5!
  1294.     GetFocus:R
  1295. Macro5!
  1296. ReleaseFocus:R
  1297. [commands]
  1298. Return the focus to the current task.
  1299. You may use FgCurrent (or any Fgxxx) as well.
  1300.  Thread& keeps its current value.
  1301. Macro5!
  1302. CloseApp%:(App$)R
  1303. [commands]
  1304. Ask the application or document App$ to close (data are saved).
  1305. Return 1 if App$ was running and 0 otherwise.
  1306.  If the application is not programmed to respond to closing events, it will not go down.
  1307. Macro5!
  1308. KillApp%:(App$)R
  1309. [commands]
  1310. Kill the application or document App$ (data are not saved).
  1311. Return 1 if App$ was running and 0 otherwise.
  1312.  ALL DATA UPDATES IN THE APPLICATION MAY BE LOST
  1313. Macro5!
  1314. GetThread&:(App$)R
  1315. K[commands]
  1316. Return the thread ID of App$ if it is running and 0 otherwise.
  1317. Macro5!
  1318. GetApp$:(UID&)R
  1319. C[commands]
  1320. Return the full path of the program identified by UID.
  1321. Macro5!
  1322.     TaskUid&:R
  1323. o[commands]
  1324. Return the program's UID pointed by Thread&.
  1325.  Make sure that Thread& points to the correct task.
  1326. Macro5!
  1327.     TaskApp$:R
  1328. p[commands]
  1329. Return the program's name pointed by Thread&.
  1330.  Make sure that Thread& points to the correct task.
  1331. Macro5!
  1332.     TaskDoc$:R
  1333. [commands]
  1334. Return the path of the document used by the program pointed by Thread&.
  1335. return "" if the program does not use any document or has not declared it.
  1336.  Make sure that Thread& points to the correct task.
  1337. Macro5!
  1338. CurrentFolder$:R
  1339. _[commands]
  1340. Return the current folder in System.
  1341.  This function modifies the shell bookmark.
  1342. Macro5!
  1343. CurrentFile$:R
  1344. i[commands]
  1345. Return the current highlighted file in System.
  1346.  This function modifies the shell bookmark.
  1347. Macro5!
  1348. Copy$:R
  1349. [commands]
  1350. Copy the selected text in the clipboard and return it.
  1351. If the text is greater than 255 characters, only the first 255 are copied.
  1352.  Make sure that Thread& points to the correct task.
  1353. If no text is selected, Copy$ returns "".
  1354. Macro5!
  1355. CopyWord$:(CharList$):R
  1356. Macro5!
  1357. Paste:(Text$)R
  1358. [commands]
  1359. Put Text$ in the clipboard and paste it.
  1360. The keywords %%date%%, %%time%% and %%query question_text%% may be used.
  1361.  This command works only when the target task supports it.
  1362. Make sure that Thread& points to the correct task.
  1363. Macro5!
  1364. ClipType&:R
  1365. M[commands]
  1366. Return the type of the object currently stored in the clipboard.
  1367. Macro5!
  1368.     ClipLen&:R
  1369. ;[commands]
  1370. Return the length of the text in the clipboard
  1371. Macro5!
  1372. ClipRead:(BufferAddr&,Max&)R
  1373. Macro5!
  1374. ClipWrite:(BufferAddr&)R
  1375. [commands]
  1376. Put in the clipboard the text in Buffer.
  1377.  If you want to paste the text in the current task, use "SendkeyCode:(Ctl%+%v,Ctrl%,1)" after.
  1378. Macro5!
  1379. ClipReadBmp:(id%,x%,y%)R
  1380. P[commands]
  1381. Copy the bitmap stored in the clipboard to the window id% at x%,y%.
  1382. Macro5!
  1383. ClipWriteBmp:(id%,x%,y%,w%,h%)R
  1384. S[commands]
  1385. Copy to clipboard the bitmap defined by x%,y%,w%,h% to the window id%.
  1386. Macro5!
  1387. ClipClear:R
  1388. ![commands]
  1389. Empty the clipboard.
  1390. Macro5!
  1391. SendPenClick:(x%,y%)R
  1392. [commands]
  1393. Emulate a click of the pen at x%,xy%.
  1394.  Make sure that Thread& points to the correct task.
  1395. This command foregrounds the corresponding task.
  1396. Macro5!
  1397. ViewLog:R
  1398. 4[commands]
  1399. Display c:\Logs\Macro5.txt in a window.
  1400. Macro5!
  1401.     ClearLog:R
  1402. &[commands]
  1403. Delete c:\Logs\Macro5.txt
  1404. Macro5!
  1405. (CopyScreen:(id%,posX%,posY%,x%,y%,w%,h%)R
  1406. b[commands]
  1407. Copy the current screen area defined by x%,y%,w%,h% to the window id% at posX%,posY%.
  1408. Macro5!
  1409. SetDictaphoneLed:(state%)R
  1410. {[commands]
  1411. Turn On/Off the red LED of the dictaphone.
  1412. The LED is automatically turned off when the machine switches off.
  1413. Macro5!
  1414. Beep:R
  1415. [commands]
  1416. Sound a nice beep.
  1417. Macro5!
  1418. LibVersion%:R
  1419. 7[commands]
  1420. Display the version of the Macro5 library.
  1421. Macro5!
  1422. Known IssuesR
  1423. Macro5!
  1424. FAQ and Related TipsR
  1425. Macro5!
  1426. SendPenDown:(x%,y%)R
  1427. [commands]
  1428. Emulate a pen going down at x%,xy%.
  1429.  Make sure that Thread& points to the correct task.
  1430. This command foregrounds the corresponding task.
  1431. Macro5!
  1432. SendPenUp:(x%,y%)R
  1433. [commands]
  1434. Emulate a pen going up at x%,xy%.
  1435.  Make sure that Thread& points to the correct task.
  1436. This command foregrounds the corresponding task.
  1437. Macro5!
  1438. SendPenDrag:(x%,y%)R
  1439. [commands]
  1440. Emulate a dragging of the pen to x%,xy%.
  1441.  Make sure that Thread& points to the correct task.
  1442. This command foregrounds the corresponding task.
  1443. Macro5!
  1444. SendKey:(KeyStr$)R
  1445. Macro5!
  1446. SendString:(String$)R
  1447. Macro5!
  1448. !SendRscMenu:(RscFile$,Pos%,Menu&)R
  1449. Macro5!
  1450. %SendRscButton:(RscFile$,Pos%,Button%)R
  1451. Macro5!
  1452. !SendRscList:(RscFile$,Pos%,List%)R
  1453. Macro5!
  1454. KeyString$:(Key&,Mod%)R
  1455. V[commands]
  1456. Return the caption of the key defined by ev&(1) and ev&(4) in GetEvent32.
  1457. Macro5!
  1458. KeyMod&:(EvMod%)R
  1459. [commands]
  1460. Translate the Modifiers Code returned by GetEvent32 in ev&(4) to the Modifers Code used by SendKeyCode and CaptureKey.
  1461. Macro5!
  1462. gClip:(Text$)R
  1463. Macro5!
  1464.     gClipOff:R
  1465. ,[commands]
  1466. Same as Busy Off but for gClip.
  1467. Macro5!
  1468. OPLCreate:(HdlAddr&,Files$)R
  1469. R[commands]
  1470. Create the OPL file Files$ with the handler Hdl%.
  1471.  Needs Macro.oph.
  1472. Macro5!
  1473. OPLWrite:(Hdl%,Text$)R
  1474. 9[commands]
  1475. Write Text$ in the OPL file handled by Hdl%.
  1476. Macro5!
  1477. OPLClose:(Hdl%)R
  1478. 0[commands]
  1479. Close the OPL file handled by Hdl%.
  1480. Macro5!
  1481. Log:(Message%)R
  1482. 1[commands]
  1483. Write Message$ in c:\Logs\Macro5.txt
  1484. Macro5!
  1485. Table1
  1486. title
  1487. synonym
  1488. C:\OPL\Macro5\Macro5.oplJ
  1489. THREAD&
  1490. MACROTHREAD&
  1491. MACRODEBUG%
  1492.     DEBUGWIN%
  1493. AUTOCLOSE%
  1494. GCLIP%
  1495. EVENT&
  1496. HOTKEYT%
  1497. HOTMODT%
  1498. HDLT&
  1499. HOTKEYP%
  1500. HOTMODP%
  1501. KEYMODP%
  1502. HDLP&
  1503.     HOTKEYS1%
  1504.     HOTMODS1%
  1505. HDLS1&
  1506.     HOTKEYS2%
  1507.     HOTMODS2%
  1508. HDLS2&
  1509.     HOTKEYS3%
  1510.     HOTMODS3%
  1511. HDLS3&
  1512. HOTKEYI%
  1513. HOTMODI%
  1514. HDLI&
  1515. HOTKEYM%
  1516. HOTMODM%
  1517. HDLM&
  1518. HOTKEYU%
  1519. HOTMODU%
  1520. HDLU&
  1521. DTIME%
  1522. DLIGHT%
  1523. DCONT%
  1524.     DCONTVAL%
  1525. NTIME%
  1526. NLIGHT%
  1527. NCONT%
  1528.     NCONTVAL%
  1529. PLIGHT%
  1530. SHOWSC%
  1531. ZOOMSC%
  1532. DOCLOSE%
  1533. PANEL$
  1534. TYPE%
  1535. CAPTION$
  1536. CMMD$
  1537. MACROS$
  1538. STARTUP%
  1539. STARTUP$
  1540. Fo    SWITCHON%
  1541. Fp    SWITCHON$
  1542. STARTBG%
  1543. FGMACROM
  1544. GXCLIP
  1545. GCLIPOFF
  1546. FGDOC%
  1547. FGAPP%
  1548. PASTE
  1549. FGFOLDER
  1550. SCEVENT%
  1551. RUNSC
  1552. SETPLSC
  1553. SETSC
  1554. CHGLST
  1555. GENEVENT
  1556. O&{]x
  1557.  Shortcut ?K
  1558. O&{]x
  1559. eqO`8
  1560. eqO{0\
  1561. Key not affectedO
  1562. eqO @
  1563. eqO@8
  1564. eqO[0\
  1565. eqHOvL
  1566. eqO    @
  1567. @\`[L
  1568.  Shortcut ?K
  1569. eqO    @`[%
  1570. PHO6L
  1571. Ctrl+Shift+... ?
  1572. eqO`8
  1573. eqO{0\[#
  1574. eqO`L{O
  1575. eqO@8
  1576. eqO[0\[ 
  1577. eqO@L{O
  1578. eqO    @[c
  1579. bemxhnorykusvwfjzglpa
  1580. eqO`HW
  1581. eqO`HW
  1582. eqO`8
  1583. eqO{0\
  1584. eqO`L
  1585. eqO@8
  1586. eqO[0\
  1587. eqO@L
  1588. eqO @
  1589. File+
  1590. Go to backgroundObh+
  1591. CloseOe
  1592. +    Shortcuts+
  1593. Modify
  1594. Delete
  1595. New macro
  1596. Open macro
  1597. Record macro
  1598. Switch view+
  1599. GraphicO
  1600. @hPH+
  1601. StandardO
  1602. @hPH+
  1603. SmallO
  1604. View+
  1605. Shortcuts panelsOy(
  1606. Switch view>O
  1607. Hotkeys+
  1608. User defined
  1609. System
  1610. Advanced+
  1611. Macro at startup
  1612. Macro at switch on
  1613. Macros folder
  1614. Panel captions
  1615. Close for backupOz(
  1616. Start in backgroundOg(
  1617. Tools+
  1618. Preferences
  1619. Hotkeys>O
  1620. +    Advanced>O
  1621. Key summary
  1622. Help on Macro5
  1623. About Macro5
  1624. bemxhnorykusvwfjzglpa
  1625. THREAD&
  1626. GCLIP%
  1627. W2O>H
  1628. W2O>H
  1629. EDITSC
  1630. FGDOC%
  1631. FGAPP%
  1632. PASTE
  1633. FGMACROM
  1634. FGFOLDER
  1635. TYPE%
  1636. CMMD$
  1637. THREAD&
  1638. EDITKEY%
  1639. KEYMOD&
  1640. UPDLST
  1641. SAVEINIT
  1642. TYPE%
  1643. CAPTION$
  1644. CMMD$
  1645. MACROS$
  1646. OR0[G
  1647. Edit shortcut 
  1648. Edit shortcut 
  1649. Edit hotkey #
  1650. OQL|O
  1651. CaptionO
  1652. Type+0Document,Program,ClipText,Macro,Folder,KeyStroke
  1653. Cancel(
  1654. Next >>(
  1655. A caption is mandatoryO
  1656. OR0[e
  1657. Edit shortcut 
  1658. O    {IO
  1659. O    {IW
  1660. Edit hotkey 
  1661. O    {IO
  1662. O    {IW
  1663. OR0[!
  1664. Edit shortcut 
  1665. Edit hotkey 
  1666. Getting files
  1667. Document,Folder,Disk(
  1668. \System\Apps\K
  1669. IOi{1[W
  1670. EPOC bug : do not press TAB,O
  1671. +"it makes the application crash !!!O
  1672. Getting files
  1673. Program,Folder,Disk(
  1674. ClipTextO
  1675. << BackO
  1676. *.opoK
  1677. Getting files
  1678. Macro,Folder,Disk(
  1679. Getting folders
  1680. Folder,Disk(
  1681. << Back(
  1682. UPDLST
  1683. SETPLSC
  1684. SAVEINIT
  1685. TYPE%
  1686. CAPTION$
  1687. PANEL$
  1688. CMMD$
  1689. Move shortcut 
  1690. From+
  1691.  in K
  1692.  in O
  1693. ,...K
  1694. HO[@[W
  1695. ,...K
  1696. HO[@[#
  1697.  in K
  1698. Cancel(
  1699. UPDLST
  1700. SAVEINIT
  1701. TYPE%
  1702. CAPTION$
  1703. CMMD$
  1704. Delete shortcut 
  1705. Yes(y
  1706. MACROS$
  1707. *.oplK
  1708. Create macro
  1709. Getting files
  1710. Macro,Folder,Disk(    
  1711. Cancel(
  1712. TextEd
  1713. FGDOC%
  1714. TYPE%
  1715. CMMD$
  1716. MACROS$
  1717. *.oplK
  1718. Open macro
  1719. Getting files
  1720. Macro,Folder,Disk(
  1721. Cancel(
  1722. RECORDMACRO%
  1723. MACROS$
  1724. HOTKEYT%
  1725. HOTMODT%
  1726. HOTKEYP%
  1727. HOTMODP%
  1728. *.oplK
  1729. Record new macro
  1730. Getting files
  1731. Macro,Folder,Disk(    
  1732. Cancel(
  1733. TextEd
  1734. CRTLST
  1735. SAVEINIT
  1736. ZOOMSC%
  1737. c:\System\Temp\Mcrp*
  1738. \System\Apps\Macro5\Macro5.i0K
  1739. \System\Apps\Macro5\Macro5.i0K
  1740. SAVEINIT
  1741. SHOWSC%
  1742. SAVEINIT
  1743. STARTUP$
  1744. MACROS$
  1745. STARTUP%
  1746. Startup.opoK
  1747. Macro at startup
  1748. Enable
  1749. Getting files
  1750. Macro,Folder,Disk(
  1751. Cancel(
  1752. SAVEINIT
  1753.     SWITCHON$
  1754. MACROS$
  1755.     SWITCHON%
  1756. *.opoK
  1757. O 0\[    
  1758. Macro at switch on
  1759. Enable
  1760. Only once a day
  1761. Getting files
  1762. Macro,Folder,Disk(
  1763. Cancel(
  1764. SAVEINIT
  1765. MACROS$
  1766. TYPE%
  1767. CMMD$
  1768. STARTUP$
  1769.     SWITCHON$
  1770. Macros folder
  1771. Getting folders
  1772. Folder,DiskO
  1773. Cancel(
  1774. Macros folder
  1775. Update shortcuts ?
  1776. NoOnh(
  1777. YesOy(
  1778. W7Oy@[
  1779. Oa0[L
  1780. SAVEINIT
  1781. DTIME%
  1782. NTIME%
  1783.     DCONTVAL%
  1784.     NCONTVAL%
  1785. DLIGHT%
  1786. DCONT%
  1787. NLIGHT%
  1788. NCONT%
  1789. PLIGHT%
  1790. |WBO<{Q
  1791. |WBO<{Q
  1792. Day:    - begins atO
  1793.           - turn backlight on
  1794.           - set contrast
  1795.                           toO
  1796. Night:  - begins atO
  1797.           - turn backlight on
  1798.           - set contrast
  1799.                           toO
  1800. +!Backlight on under external power
  1801. Cancel(
  1802. +(Night time must be greater than day timeO
  1803. O<{Ux
  1804. O<{Ux
  1805. VLIST1$
  1806. VLIST2$
  1807. LINE%
  1808. CURS%
  1809. KEYSTRING$
  1810. DLIST%
  1811. EDITSC
  1812. SETKEY
  1813. SAVEINIT
  1814. TYPE%
  1815. CAPTION$
  1816. HOTKEYU%
  1817. HOTMODU%
  1818. HDLU&
  1819. CMMD$
  1820. Hotkey #
  1821. not defined
  1822. User hotkeysO
  1823. ClearO
  1824. CloseO
  1825. EditO
  1826. Clear hotkey 
  1827. Yes(y
  1828. VLIST1$
  1829. VLIST2$
  1830. LINE%
  1831. CURS%
  1832. KEYSTRING$
  1833. DLIST%
  1834. SETKEY
  1835. SCANMOD%
  1836. PANEL$
  1837.     HOTKEYS1%
  1838.     HOTMODS1%
  1839.     HOTKEYS2%
  1840.     HOTMODS2%
  1841.     HOTKEYS3%
  1842.     HOTMODS3%
  1843. HOTKEYP%
  1844. HOTMODP%
  1845. HOTKEYT%
  1846. HOTMODT%
  1847. HOTKEYI%
  1848. HOTMODI%
  1849. HOTKEYM%
  1850. HOTMODM%
  1851. HDLS1&
  1852. HDLS2&
  1853. HDLS3&
  1854. HDLP&
  1855. KEYMODP%
  1856. HDLT&
  1857. HDLI&
  1858. HDLM&
  1859. TaskCycling
  1860. TaskList
  1861. Ctrl+Shift
  1862. Macro5
  1863. System hotkeysO
  1864. CloseO
  1865. EditO
  1866. TaskCyclingO
  1867. TaskListO
  1868. Ctrl+ShiftO
  1869. Macro5O
  1870. CRTLST
  1871. SAVEINIT
  1872. PANEL$
  1873. Panel captions
  1874. Panel 1:O
  1875. Panel 2:O
  1876. Panel 3:O
  1877. Cancel(
  1878. Captions cannot be emptyO
  1879. c:\System\Temp\Mcrp*
  1880. SAVEINIT
  1881. DOCLOSE%
  1882. SAVEINIT
  1883. STARTBG%
  1884. KEYSTRING$
  1885. HOTKEYT%
  1886. HOTMODT%
  1887. HOTKEYP%
  1888. HOTMODP%
  1889.     HOTKEYS1%
  1890.     HOTMODS1%
  1891.     HOTKEYS2%
  1892.     HOTMODS2%
  1893.     HOTKEYS3%
  1894.     HOTMODS3%
  1895. HOTKEYI%
  1896. HOTMODI%
  1897. Key summaryO
  1898. Display the tasklist
  1899. Cycle through the tasks
  1900.        Cancel the cycling+
  1901.        Cycle backward+
  1902. any other key
  1903. Access shortcuts
  1904.        Switch panels+
  1905. Tab or arrows
  1906. Simulate Ctrl+Shift
  1907. Send Macro5 to background+
  1908. Continue(
  1909. FGDOC%
  1910. \System\Apps\Macro5\Macro5.hlpKO
  1911. About Macro5
  1912. Copyright Pascal NICOLAS(h
  1913. This program is SmileWare :(h
  1914. + if you use it, please send a :-)(h
  1915. or any comments to(h
  1916. pnicolas@geocities.com(h
  1917. +.Latest version and a huge library of macros at(h
  1918. +1http://www.geocities.com/SiliconValley/Pines/1215(h
  1919. ContinueO
  1920. O0O0)
  1921. v 2.40
  1922. EDITKEY%
  1923. KEYMOD&
  1924. SAVEINIT
  1925. Hotkey for 
  1926. O \[    
  1927. DTIME%
  1928. DLIGHT%
  1929. DCONT%
  1930.     DCONTVAL%
  1931. NTIME%
  1932. NLIGHT%
  1933. PLIGHT%
  1934. NCONT%
  1935.     NCONTVAL%
  1936. SHOWSC%
  1937. ZOOMSC%
  1938. HOTKEYT%
  1939. HOTMODT%
  1940. HOTKEYP%
  1941. HOTMODP%
  1942.     HOTKEYS1%
  1943.     HOTMODS1%
  1944.     HOTKEYS2%
  1945.     HOTMODS2%
  1946.     HOTKEYS3%
  1947.     HOTMODS3%
  1948. HOTKEYI%
  1949. HOTMODI%
  1950. HOTKEYM%
  1951. HOTMODM%
  1952. HOTKEYU%
  1953. HOTMODU%
  1954. PANEL$
  1955. TYPE%
  1956. CAPTION$
  1957. CMMD$
  1958. MACROS$
  1959. STARTUP%
  1960. STARTUP$
  1961.     SWITCHON%
  1962.     SWITCHON$
  1963. STARTBG%
  1964. DOCLOSE%
  1965. c:\System\Apps\Macro5
  1966. + c:\System\Apps\Macro5\Macro5.ini(
  1967. SAVEINIT
  1968. DTIME%
  1969. DLIGHT%
  1970. DCONT%
  1971.     DCONTVAL%
  1972. NTIME%
  1973. NLIGHT%
  1974. PLIGHT%
  1975. NCONT%
  1976.     NCONTVAL%
  1977. SHOWSC%
  1978. ZOOMSC%
  1979. HOTKEYT%
  1980. HOTMODT%
  1981. HOTKEYP%
  1982. HOTMODP%
  1983.     HOTKEYS1%
  1984.     HOTMODS1%
  1985.     HOTKEYS2%
  1986.     HOTMODS2%
  1987.     HOTKEYS3%
  1988.     HOTMODS3%
  1989. HOTKEYI%
  1990. HOTMODI%
  1991. HOTKEYM%
  1992. HOTMODM%
  1993. HOTKEYU%
  1994. HOTMODU%
  1995. PANEL$
  1996. TYPE%
  1997. CAPTION$
  1998. CMMD$
  1999. MACROS$
  2000. STARTUP%
  2001. STARTUP$
  2002.     SWITCHON%
  2003.     SWITCHON$
  2004. STARTBG%
  2005. DOCLOSE%
  2006. + c:\System\Apps\Macro5\Macro5.iniO
  2007. O 0\[    
  2008. c:\Macros\
  2009. LOADINIT
  2010. KEYMOD&
  2011. SCANMOD%
  2012. FGMACROM
  2013. CRTLST
  2014. MACROTHREAD&
  2015. HOTKEYT%
  2016. HDLT&
  2017. HOTMODT%
  2018. HOTKEYP%
  2019. HDLP&
  2020. HOTMODP%
  2021. KEYMODP%
  2022.     HOTKEYS1%
  2023. HDLS1&
  2024.     HOTMODS1%
  2025.     HOTKEYS2%
  2026. HDLS2&
  2027.     HOTMODS2%
  2028.     HOTKEYS3%
  2029. HDLS3&
  2030.     HOTMODS3%
  2031. HOTKEYI%
  2032. HDLI&
  2033. HOTMODI%
  2034. HOTKEYM%
  2035. HDLM&
  2036. HOTMODM%
  2037. HOTKEYU%
  2038. HDLU&
  2039. HOTMODU%
  2040. STARTUP%
  2041. THREAD&
  2042. STARTUP$
  2043. STARTBG%
  2044. ZOOMSC%
  2045. \System\Opx\Macro5.mcxKW
  2046. \System\Opx\Macro5.mcxK
  2047. \System\Opx\Macro5.mcxK
  2048. \System\Opl\EScript.opoKW
  2049. \System\Opl\EScript.opoK
  2050. \System\Opl\EScript.opoKW
  2051. \System\Opl\EScript.opoK
  2052. c:\System\Temp
  2053. \System\Apps\Macro5\Macro5.i0K
  2054. SENDRSCMENU
  2055. SENDSTRING
  2056. THREAD&
  2057. Moving to bookmark
  2058. z:\System\Apps\Shell\Shell.rscO
  2059. {OV{c
  2060. Macro5O
  2061. NIAM-
  2062. GXCLIP
  2063. RUNSC
  2064. EDITSC
  2065. CHGLST
  2066. SETSCD3
  2067. SETKEY
  2068. SCANMOD%A4
  2069. SAVEINIT
  2070. LOADINITT8
  2071. INIT&=
  2072. FGMACROM
  2073. FGFOLDER
  2074. SYSTEM\
  2075. SYSRAM1
  2076. MACRO5
  2077. Macro5
  2078. C:\Sistemp\UpperCase.opo!:\Psion5CD1\M5Macros\UpperCase.opoC:\Sistemp\UpperCase.opl!:\Psion5CD1\M5Macros\UpperCase.oplC:\Sistemp\UpperCase.ico!:\Psion5CD1\M5Macros\UpperCase.icoC:\Sistemp\Startup.opo!:\Psion5CD1\M5Macros\Startup.opoC:\Sistemp\Startup.opl!:\Psion5CD1\M5Macros\Startup.oplC:\Sistemp\RunMacro.opo!:\Psion5CD1\M5Macros\RunMacro.opoC:\Sistemp\RunMacro.opl!:\Psion5CD1\M5Macros\RunMacro.oplC:\Sistemp\RunExtras.opo!:\Psion5CD1\M5Macros\RunExtras.opoC:\Sistemp\RunExtras.opl!:\Psion5CD1\M5Macros\RunExtras.oplC:\Sistemp\RunExtras.ico!:\Psion5CD1\M5Macros\RunExtras.icoC:\Sistemp\RscMenuCode.opo!:\Psion5CD1\M5Macros\RscMenuCode.opoC:\Sistemp\RscMenuCode.ico!:\Psion5CD1\M5Macros\RscMenuCode.icoC:\Sistemp\Pen.opo!:\Psion5CD1\M5Macros\Pen.opoC:\Sistemp\Pen.ico!:\Psion5CD1\M5Macros\Pen.icoC:\Sistemp\OPLHelp.opl!:\Psion5CD1\M5Macros\OPLHelp.oplC:\Sistemp\OPLHelp.ico!:\Psion5CD1\M5Macros\OPLHelp.icoC:\Sistemp\NoLightOff.opo!:\Psion5CD1\M5Macros\NoLightOff.opoC:\Sistemp\NoLightOff.opl!:\Psion5CD1\M5Macros\NoLightOff.oplC:\Sistemp\LinkOn.opo!:\Psion5CD1\M5Macros\LinkOn.opoC:\Sistemp\LinkOn.opl!:\Psion5CD1\M5Macros\LinkOn.oplC:\Sistemp\LinkOn.ico!:\Psion5CD1\M5Macros\LinkOn.icoC:\Sistemp\LinkOff.opo!:\Psion5CD1\M5Macros\LinkOff.opoC:\Sistemp\LinkOff.opl!:\Psion5CD1\M5Macros\LinkOff.oplC:\Sistemp\LinkOff.ico!:\Psion5CD1\M5Macros\LinkOff.icoC:\Sistemp\FileTime.opo!:\Psion5CD1\M5Macros\FileTime.opoC:\Sistemp\FileTime.opl!:\Psion5CD1\M5Macros\FileTime.oplC:\Sistemp\FileTime.ico!:\Psion5CD1\M5Macros\FileTime.icoC:\Sistemp\ExtrasBar.opo!:\Psion5CD1\M5Macros\ExtrasBar.opoC:\Sistemp\ExtrasBar.ico!:\Psion5CD1\M5Macros\ExtrasBar.icoC:\Sistemp\DataLink.opl!:\Psion5CD1\M5Macros\DataLink.oplC:\Sistemp\DataLink.ico!:\Psion5CD1\M5Macros\DataLink.icoC:\Sistemp\Battery.opo!:\Psion5CD1\M5Macros\Battery.opoC:\Sistemp\Battery.opl!:\Psion5CD1\M5Macros\Battery.oplC:\Sistemp\Battery.ico!:\Psion5CD1\M5Macros\Battery.icoC:\Sistemp\BatStatLow.opo!:\Psion5CD1\M5Macros\BatStatLow.opoC:\Sistemp\BatStat.opo!:\Psion5CD1\M5Macros\BatStat.opoC:\Sistemp\BatStat.opl!:\Psion5CD1\M5Macros\BatStat.oplC:\Sistemp\BatStat.ico!:\Psion5CD1\M5Macros\BatStat.icoC:\Sistemp\Bis.txt!:\Psion5CD1\M5Macros\Bis.txtM5Macros 28.7 kB7
  2079. c:\Macros\UpperCase.opl
  2080. PASTE
  2081. COPY$
  2082. MACRO,
  2083. REM Macro UpperCase version 1.00
  2084. REM Set to uppercase the selected text
  2085. REM By Pascal NICOLAS, to be used with Macro5
  2086. REM Last edited on 6 May 1998
  2087. Include "Macro.oph"
  2088. PROC Macro:
  2089.     Paste:(Upper$(Copy$:))
  2090. *TextEd.app
  2091. 9d9G8
  2092. C:\Startup.opl%
  2093. FGAPP%
  2094. FGSYSTEM
  2095. c:\Startup\W
  2096. MACRO#
  2097. REM Macro Startup version 1.00
  2098. REM Start all the App/Doc in c:\Startup
  2099. REM Very useful after a backup or a reset
  2100. REM Do not forget to create the Startup folder
  2101. REM To be used with Macro5
  2102. REM Last edited on 6 May 1998
  2103. Include "Macro.oph"
  2104. PROC Macro:
  2105.     Local File$(255)
  2106.     File$ = Dir$("c:\Startup\")
  2107.     While File$ <> ""
  2108.         If FgApp%:(File$)
  2109.             Pause 90
  2110.         Else
  2111.             Pause 5
  2112.         Endif
  2113.         File$ = Dir$("")
  2114.     EndWh
  2115.     FgSystem:
  2116. *TextEd.app
  2117. c:\Macros\RunMacro.opl(
  2118. FGMACRO
  2119. MACROS$
  2120. +    Run Macro
  2121. *.opoKW
  2122. ,...K
  2123. *.opoKW
  2124. ORCAMNUR+
  2125. REM Macro RunMacro version 1.00
  2126. REM Run a macro selected in the list
  2127. REM of all the macros in the macros folder
  2128. REM Very useful to run a not affected macro
  2129. REM By Pascal NICOLAS, to be used with Macro5
  2130. REM Last edited on 1 June 1998
  2131. PROC orcaMnuR:
  2132.     Local File$(255),Name$(50),l%,l3%,m%
  2133.     l%=Len(Macros$)+1 :l3%=l%+3
  2134.     dInit "Run Macro"
  2135.     File$=Dir$(Macros$+"*.opo")
  2136.     While File$ <> ""    
  2137.         Name$=Mid$(File$,l%,Len(File$)-l3%)
  2138.         File$=Dir$("")
  2139.         If File$ = ""
  2140.             dChoice m%,"",Name$
  2141.         Else
  2142.             dChoice m%,"",Name$+",..."
  2143.         Endif
  2144.     EndWh
  2145.     If Dialog
  2146.         File$=Dir$(Macros$+"*.opo")
  2147.         While m% > 1
  2148.             File$=Dir$("")
  2149.             m%=m%-1
  2150.         EndWh
  2151.         FgMacro:(File$)
  2152.     Endif
  2153. *TextEd.app
  2154. C:\RunExtras.opl2
  2155. ROMVERSION%
  2156. FGAPP%
  2157. Extras
  2158. Oi0[u
  2159. Bombs,Comms,Progam,Record,...
  2160. Bombs
  2161. Comms
  2162. TextEd
  2163. Record
  2164. Spell
  2165. +/Bombs,Comms,Data,Progam,Record,Sketch,Spell,...
  2166. Bombs
  2167. Comms
  2168. TextEd
  2169. Record
  2170. Sketch
  2171. Spell
  2172. c:\System\Apps\W
  2173. Od0\[[
  2174. .appKW
  2175. ,...K
  2176. d:\System\Apps\W
  2177. d:\System\Apps\W
  2178. Od0\[[
  2179. .appKW
  2180. ,...K
  2181. d:\System\Apps\
  2182. .appKO
  2183. c:\System\Apps\
  2184. .appKO
  2185. z:\System\Apps\
  2186. .appKO
  2187. MACRO%
  2188. REM Macro RunExtras version 1.05
  2189. REM Run programs in the Extras bar without the pen
  2190. REM By Pascal NICOLAS, to be used with Macro5
  2191. REM Last edited on 21 September 1999
  2192. Const KMaxApps%=100
  2193. Const KMaxName%=30
  2194. PROC Macro:
  2195.     Local Extras$(KMaxApps%,KMaxName%),Name$(KMaxName%),File$(255),c%,d%,m%
  2196.     dInit "Extras"
  2197.     REM Extras in Z:
  2198.     If RomVersion%: < 105
  2199.         dChoice m%,"","Bombs,Comms,Progam,Record,..."
  2200.         Extras$(1)="Bombs"
  2201.         Extras$(2)="Comms"
  2202.         Extras$(3)="TextEd"
  2203.         Extras$(4)="Record"
  2204.         Extras$(5)="Spell"
  2205.         m%=5
  2206.     Else
  2207.         dChoice m%,"","Bombs,Comms,Data,Progam,Record,Sketch,Spell,..."
  2208.         Extras$(1)="Bombs"
  2209.         Extras$(2)="Comms"
  2210.         Extras$(3)="Data"
  2211.         Extras$(4)="TextEd"
  2212.         Extras$(5)="Record"
  2213.         Extras$(6)="Sketch"
  2214.         Extras$(7)="Spell"
  2215.         Extras$(8)="Time"
  2216.         m%=8
  2217.     Endif
  2218.     REM Extras in C:
  2219.     c%=m%
  2220.     File$=Dir$("c:\System\Apps\")
  2221.     While File$ <> "" and m% < KMaxApps%
  2222.         Name$=Mid$(File$,16,255)
  2223.         If Exist(File$+"\"+Name$+".app")
  2224.             dChoice m%,"",Extras$(m%)+",..."
  2225.             m%=m%+1
  2226.             Extras$(m%)=Name$
  2227.         Endif
  2228.         File$=Dir$("")
  2229.     EndWh
  2230.     REM Extras in D:
  2231.     d%=m%
  2232.     If Exist("d:\System\Apps\")
  2233.         File$=Dir$("d:\System\Apps\")
  2234.         While File$ <> "" and m% < KMaxApps%
  2235.             Name$=Mid$(File$,16,255)
  2236.             If Exist(File$+"\"+Name$+".app")
  2237.                 dChoice m%,"",Extras$(m%)+",..."
  2238.                 m%=m%+1
  2239.                 Extras$(m%)=Name$
  2240.             Endif
  2241.             File$=Dir$("")
  2242.         EndWh
  2243.     Endif
  2244.     dChoice m%,"",Extras$(m%)
  2245.     REM Display the list and run the selected app
  2246.     If Dialog
  2247.         If m% > d%
  2248.             FgApp%:("d:\System\Apps\"+Extras$(m%)+"\"+Extras$(m%)+".app")
  2249.         Elseif m% > c%
  2250.             FgApp%:("c:\System\Apps\"+Extras$(m%)+"\"+Extras$(m%)+".app")
  2251.         Else
  2252.             FgApp%:("z:\System\Apps\"+Extras$(m%)+"\"+Extras$(m%)+".app")
  2253.         Endif
  2254.     Endif
  2255. *TextEd.app
  2256. 9d9G^
  2257. C:\RscMenuCode.opl(
  2258. RSCFILE$
  2259. PASTE
  2260. Rsc Menu Code
  2261. Program+bAgenda,Calc,Comms,Contacts,Data,Email,Jotter,Program,Record,Sheet,Shell,Sketch,Spell,Time,Web,Word
  2262. Key+3A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  2263. Modifier+
  2264. Ctrl,Ctrl+Shift
  2265. ExitO
  2266. Get codeO
  2267. AgendaO
  2268. CalcO
  2269. CommsO
  2270. ContactsO
  2271. DataO
  2272. IOi{1[
  2273. EmailO
  2274. MsgAppO
  2275. JotterO
  2276. TextEdO
  2277. RecordO
  2278. SheetO
  2279. ShellO
  2280. PaintO
  2281. SpellO
  2282. TimeWO
  2283. IOi{1[
  2284. BrowserO
  2285. WordO
  2286. Rsc Menu Code
  2287. File:
  2288. Key:+
  2289. Ctrl+
  2290. Key:+
  2291. Ctrl+Shift+
  2292. Menu:+
  2293. ExitO
  2294. Paste commandO
  2295. Menu:+
  2296. Not found !!!
  2297. ExitO
  2298. AgainO
  2299. SendRscMenu:("
  2300. \System\Apps\
  2301. .rscK
  2302. Not Found !!!
  2303. MACRO'
  2304. RSCFILE$
  2305. SYSRAM1
  2306. 9d9G4
  2307. TUUUU1
  2308. TUUUU1
  2309. c:\Macros\Pen.opl&
  2310. KEYMOD&
  2311. MACROS$
  2312. Pen.icoKO
  2313. Pen.icoKO
  2314. {A\[E
  2315. O {A[j
  2316. {O {O
  2317. MACRO&
  2318. SYSTEM\
  2319. MACRO5
  2320. @UUUU
  2321.     REM Macro OPLHelp version 1.00
  2322. REM Display the usage of the selected command
  2323. REM You need the "OPL Reference" database file
  2324. REM Adapt the path of the database file
  2325. REM By Pascal NICOLAS, to be used with Macro5
  2326. REM Last edited on 6 May 1998
  2327. Include "Macro.oph"
  2328. PROC Macro:
  2329.     Local C$(255)
  2330.     REM Highlight the entire command/function automaticaly and copy it into C$
  2331.     C$=CopyWord$:("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_%&$")
  2332.     REM Foreground the Database
  2333.     If FgDoc%:("c:\Opl\OPL Reference")
  2334.         Pause 120 :REM If the Database is not in memory, wait for it to be loaded
  2335.     Endif
  2336.     REM Search for the command
  2337.     Paste:("."+C$+Chr$(6))
  2338. *TextEd.app
  2339. c:\Macros\NoLightOff.opl
  2340. MACRO-
  2341. SYSTEM\
  2342. SYSRAM1
  2343. REM Macro NoLightOff version 1.00
  2344. REM Disable the backlight timer when the main power is present
  2345. REM By Pascal NICOLAS, to be used with Macro5
  2346. REM Last edited on 6 May 1998
  2347. Include "System.oxh"
  2348. Include "SysRam1.oxh"
  2349. PROC Macro:
  2350.     If ExternalPower&:
  2351.         SetBackLightBehavior:(1)
  2352.     Else
  2353.         SetBackLightBehavior:(0)
  2354.     Endif
  2355. *TextEd.app
  2356. C:\LinkOn.opl=
  2357. BGSYSTEM
  2358. ROMVERSION%
  2359. SENDRSCMENU
  2360. SENDKEY
  2361. Oi0[4
  2362. z:\System\Apps\Shell\Shell.rscO
  2363. z:\System\Apps\Shell\Shell.rscO
  2364. Fn+Left,Right,EnterO
  2365. Link is ON
  2366. MACRO"
  2367. REM Macro LinkOn version 1.05
  2368. REM Set ON the link
  2369. REM By Pascal NICOLAS, to be used with Macro5
  2370. REM Last edited on 21 September 1999
  2371. Include "Macro.oph"
  2372. PROC Macro:
  2373.     BgSystem:
  2374.     If RomVersion%: < 105
  2375.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&32)
  2376.     Else
  2377.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&34)
  2378.     Endif
  2379.     SendKey:("Fn+Left,Right,Enter")
  2380.     gIPrint "Link is ON"
  2381.     Pause 40
  2382. *TextEd.app
  2383. 9d9G\
  2384. C:\LinkOff.opl=
  2385. BGSYSTEM
  2386. ROMVERSION%
  2387. SENDRSCMENU
  2388. SENDKEY
  2389. Oi0[4
  2390. z:\System\Apps\Shell\Shell.rscO
  2391. z:\System\Apps\Shell\Shell.rscO
  2392. Fn+Left,EnterO
  2393. Link is OFF
  2394. MACRO#
  2395. REM Macro LinkOff version 1.05
  2396. REM Set OFF the link
  2397. REM By Pascal NICOLAS, to be used with Macro5
  2398. REM Last edited on 21 September 1999
  2399. Include "Macro.oph"
  2400. PROC Macro:
  2401.     BgSystem:
  2402.     If RomVersion%: < 105
  2403.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&32)
  2404.     Else
  2405.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&34)
  2406.     Endif
  2407.     SendKey:("Fn+Left,Enter")
  2408.     gIPrint "Link is OFF"
  2409.     Pause 40
  2410. *TextEd.app
  2411. c:\Macros\FileTime.opl
  2412. Select a fileO
  2413. File,Folder,DiskO
  2414. ExitO
  2415. Set timeO
  2416. O<{QI
  2417. Set time to 
  2418. Date :(#r{)
  2419. Time :O
  2420. CancelO
  2421. {QMO<{U
  2422. O<{QM
  2423. MACRO+
  2424. SYSTEM\
  2425. DATEZ
  2426. REM Macro FileTime version 1.01
  2427. REM Set the time stamp of files
  2428. REM By Pascal NICOLAS, to be used with Macro5
  2429. REM Last edited on 6 May 1998
  2430. Include "Const.oph"
  2431. Include "System.oxh"
  2432. Include "Date.oxh"
  2433. PROC Macro:
  2434.     Local File$(255),DateTimeId&,Date&,Time&
  2435.     Local Day%,Month%,Year%,Hour&,Minute&,Second&
  2436.     File$="c:\"
  2437.     While 1
  2438.         dInit "Select a file",KDlgButRight%
  2439.         dFile File$,"File,Folder,Disk",KDFileEditorQueryExisting%+KDFileSelectorWithSystem%
  2440.         dButtons "Exit",-KDButtonEsc%,"Set time",KDButtonEnter%
  2441.         If Dialog
  2442.             DateTimeId&=DTNow&:
  2443.             GetFileTime:(File$,DateTimeId&)
  2444.             Date&=Days(DTDay&:(DateTimeId&),DTMonth&:(DateTimeId&),DTYear&:(DateTimeId&))
  2445.             Time&=DTHour&:(DateTimeId&)*3600+DTMinute&:(DateTimeId&)*60+DTSecond&:(DateTimeId&)
  2446.             dInit "Set time to "+Mid$(Right$(File$,15),Loc(Right$(File$,15),"\")+1,255)
  2447.             dDate Date&,"Date :",29219,2958463
  2448.             dTime Time&,"Time :",KDTimeAbsWithSecs%,0,86399
  2449.             dButtons "Cancel",-KDButtonEsc%,"OK",KDButtonEnter%
  2450.             If Dialog
  2451.                 DaysToDate Date&,Year%,Month%,Day%
  2452.                 Hour&=Time&/3600
  2453.                 Minute&=(Time&-Hour&*3600)/60
  2454.                 Second&=Time&-Hour&*3600-Minute&*60
  2455.                 DTSetDay:(DateTimeId&,Day%)
  2456.                 DTSetMonth:(DateTimeId&,Month%)
  2457.                 DTSetYear:(DateTimeId&,Year%)
  2458.                 DTSetHour:(DateTimeId&,Hour&)
  2459.                 DTSetMinute:(DateTimeId&,Minute&)
  2460.                 DTSetSecond:(DateTimeId&,Second&)
  2461.                 DtSetMicro:(DateTimeId&,0)
  2462.                 SetFileTime:(File$,DateTimeId&)
  2463.             Endif
  2464.             DTDeleteDateTime:(DateTimeId&)
  2465.         Else
  2466.             Break
  2467.         Endif
  2468.     EndWh
  2469. *TextEd.app
  2470. lUUUUUU
  2471. XUUUUUU
  2472. c:\ExtrasBar.opl
  2473. (X'{O
  2474. MACRO%
  2475. MACRO5
  2476. 9d9G^
  2477.     REM Macro DataLink version 1.00
  2478. REM Display the address of the selected person
  2479. REM Replace "...\Address Book" by the path of your database
  2480. REM By Pascal NICOLAS, to be used with Macro5
  2481. REM Last edited on 6 May 1998
  2482. Include "Macro.oph"
  2483. PROC Macro:
  2484.     SendKey:("Ctrl+c") :REM Send Ctrl+C to copy the selected text
  2485.     Pause 5 :REM Wait for EPOC to copy the text in the clipboard
  2486.     If FgDoc%:("c:\My Documents\Address Book") :REM Foreground the Database
  2487.         Pause 99 :REM If the Database is not in memory, wait for it to be loaded
  2488.     Endif
  2489.     SendKey:("Ctrl+v,Enter") :REM Send Ctrl+V to paste the text and Enter to start the search
  2490. *TextEd.app
  2491. C:\Battery.oplH
  2492. BGSYSTEM
  2493. ROMVERSION%
  2494. SENDRSCMENU
  2495. SENDKEY
  2496.     FGCURRENT
  2497. Oi0[4
  2498. z:\System\Apps\Shell\Shell.rscO
  2499. z:\System\Apps\Shell\Shell.rscO
  2500. RightO
  2501. MACRO#
  2502. REM Macro Battery version 1.05
  2503. REM Display the current battery statistics
  2504. REM By Pascal NICOLAS, to be used with Macro5
  2505. REM Last edited on 21 September 1999
  2506. Include "Macro.oph"
  2507. PROC Macro:
  2508.     BgSystem:
  2509.     If RomVersion%: < 105
  2510.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&36)
  2511.     Else
  2512.         SendRscMenu:("z:\System\Apps\Shell\Shell.rsc",4,&39)
  2513.     Endif
  2514.     SendKey:("Right")
  2515.     FgCurrent:
  2516. *TextEd.app
  2517. c:\Macros\BatStat.opl
  2518. Empty
  2519. Replace
  2520. W2O^H
  2521. POdTO
  2522. MACRO*
  2523. SYSTEM\
  2524. SYSTINFO
  2525. c:\Macros\BatStat.opl
  2526. Empty
  2527. Replace
  2528. W2O^H
  2529. POdTO
  2530. MACRO*
  2531. SYSTEM\
  2532. SYSTINFO
  2533. REM Macro BatStat version 1.00
  2534. REM Display the current battery statistics
  2535. REM By Pascal NICOLAS, to be used with Macro5
  2536. REM Last edited on 1 June 1998
  2537. Include "Const.oph"
  2538. Include "System.oxh"
  2539. Include "Systinfo.oxh"
  2540. Const displayTime% = 40 :REM 40=2*20=2 seconds
  2541. PROC Macro:
  2542.     Local Status$(7), l%, mV&, x&, p%, w%
  2543.     Vector MainBatteryStatus&:
  2544.         BatteryVeryLow,BatteryLow,BatteryGood
  2545.     EndV
  2546.     BatteryZero::
  2547.         Status$="Empty"
  2548.         Goto EndVector
  2549.     BatteryVeryLow::
  2550.         Status$="Replace"
  2551.         Goto EndVector
  2552.     BatteryLow::
  2553.         Status$="Low"
  2554.         Goto EndVector
  2555.     BatteryGood::
  2556.         REM Remove the REM before the RETURN
  2557.         REM if you want the panel only
  2558.         REM when the batteries are low.
  2559.         REM Return
  2560.         Status$="OK"
  2561.     EndVector::
  2562.     SIBatteryVolts:(mV&, x&, x&, x&)
  2563.     p%=Max((mV&-2000)/10,0) :REM mVmin=2000 ; mVmax=3000
  2564.     gUpdate Off
  2565.     gFont KFontArialNormal15&
  2566.     l%=gTWidth(Status$)+94 :REM 94=10+60+4+10+10
  2567.     w%=gCreate(637-l%,185,l%,52,KgCreateVisible%,$01) :REM $01=KgCreate4ColourMode% :REM bottom right
  2568.     gButton "",KButtS5%,l%,52,KButtS5Raised%
  2569.     gAt 10,12 :gBox 60,28 :gFill 60*p%/100,28,0 :gMove 60,10 :gBox 4,8
  2570.     gTMode KtModeInvert% :gAt 25,32 :gPrint Num$(p%,3)+"%" :gTMode KtModeSet%
  2571.     gAt 84,32 :gPrint Status$
  2572.     gUpdate On :gUpdate
  2573.     REM gIPrint Num$(p%,3)+"% - "+Num$(mV&,5)+"mV - "+Status$,kBusyTopRight% :REM debug info
  2574.     Pause displayTime%
  2575.     gClose w%
  2576. *TextEd.app
  2577. This SIS-file is designed by BISON Software. 
  2578. Bison Software doesn't accept any liability 
  2579. for the function of the programme to be installed. 
  2580. Please pay attention to the comment in the 
  2581. README file of the author.
  2582. Before installing this software please make 
  2583. a B A C K U P  of your Psion.
  2584. Have a lot of fun!
  2585. Diese SIS-Datei wurde von Bison Software erstellt.
  2586. Bison Software 
  2587. bernimmt keinerlei Garantie f
  2588. r die 
  2589. Funktion des zu installierenden Programmes. 
  2590. Bitte beachten Sie die Hinweise in der 
  2591. README Datei des Autors.
  2592. Bevor Sie das Programm installieren machen Sie 
  2593. ein B A C K U P  Ihres Psion.
  2594. Viel Spa
  2595. This SIS-file is designed by BISON Software. 
  2596. Bison Software doesn't accept any liability 
  2597. for the function of the programme to be installed. 
  2598. Please pay attention to the comment in the 
  2599. README file of the author.
  2600. Before installing this software please make 
  2601. a B A C K U P  of your Psion.
  2602. Have a lot of fun!
  2603. Diese SIS-Datei wurde von Bison Software erstellt.
  2604. Bison Software 
  2605. bernimmt keinerlei Garantie f
  2606. r die 
  2607. Funktion des zu installierenden Programmes. 
  2608. Bitte beachten Sie die Hinweise in der 
  2609. README Datei des Autors.
  2610. Bevor Sie das Programm installieren machen Sie 
  2611. ein B A C K U P  Ihres Psion.
  2612. Viel Spa
  2613.